This a Kurdish Kurmanji words tagger for klpt
How it works?
- It downloads words from klpt
- It save downloaded words to db
- It iterate over input file words and check if it is in db
- If it is not it tags and save it to output file
Note: Now It only tags noun and adjective words
How to use it?
from tagger import WordTagger
WordTagger.download_words()
WordTagger("input.txt", "output.txt").tag()