Terrier Users
: Terrier Forum
General discussion about using/developing applications using Terrier
Go to Topic:
Previous
•
Next
Go to:
Forum List
•
Message List
•
New Topic
•
Search
•
Log In
•
Print View
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:
Reply
•
Quote
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:
Reply
•
Quote
Go to:
Forum List
•
Message List
•
Search
•
Log In
Sorry, only registered users may post in this forum.
Click here to login
This
forum
powered by
Phorum
.