Lemmatization of Nepali Text based on TRIE and Hybrid approach
- Goto cloned repo:
cd NepaliLemmatizer
- Make virtual environment:
python3 -m venv my-env
- Activate virtual environment:
source my-env/bin/activate
- Install dependent packages:
pip install -r requirements.txt
- Export python path:
export PYTHONPATH=$PYTHONPATH:$(pwd)
- Run:
python Lemmatization/lemmatizer.py -m <<trie or hybrid>> -t <<Nepali Text>>
-m
method name which can be eithertrie
orhybrid
-t
nepali text--help
for help text
Example: python Lemmatization/lemmatizer.py -m trie -t खाएको
Output: