porter2 icon indicating copy to clipboard operation
porter2 copied to clipboard

Adding support for protected words

Open paras-lehana opened this issue 7 years ago • 0 comments

Contributions (Paras Lehana)

  • External file support for protected words: Now you can add protected words to this stemmer. Protected words won't be stemmed. For example, I have added 'training' as protected word so that it doesn't get stemmed to 'train'. Add words in newline in file src/protwords.txt (more instructions in protwords.txt file).

paras-lehana avatar Jan 11 '19 07:01 paras-lehana