Terrier Users :  Terrier Forum terrier.org
General discussion about using/developing applications using Terrier 
Problem setting stopword
Posted by: amy ()
Date: March 25, 2018 07:46PM

Hi Terrier users,

I am confused on how to set stopwords. Is it set by setProperties or any other way? A short sample code will be appreciated!

Best regards,
Amy

Options: ReplyQuote
Re: Problem setting stopword
Posted by: craigm ()
Date: March 26, 2018 09:47AM

Hi Amy,

You can add Stopwords by adding them to the stopwords file in share/, and then setting the property in terrier.properties:

stopwords.filename=stopword-list.txt

Craig

Options: ReplyQuote


Sorry, only registered users may post in this forum.
This forum powered by Phorum.