RE: [Classifier4j-devel] Where to put the stemmer?
Status: Beta
Brought to you by:
nicklothian
From: Nick L. <nl...@es...> - 2003-11-17 04:15:14
|
I won't get a chance to respond in detail to all these emails until tomorrow night. But briefly I think that yes, passing an additional argument in the constructor would be the way to go. > -----Original Message----- > From: Matt Collier [mailto:MCo...@my...] > Sent: Monday, 17 November 2003 12:59 PM > To: Classifier4J > Subject: [Classifier4j-devel] Where to put the stemmer? > > > Provisions have been made for a custom tokenizer and a custom > stop list. The > tokenizer excutes prior to the stop list being applied. I > initially thought > that the stemmer would be part of the tokenizer, however, we > know that we > cannot stem before we apply the stop list. Do we need to expand > BayesianClassifier.java to accept an addition argument IStemmer? > > If so, at what point do we pass the code to the Stemmer? > > Looking around, I found the transformWord() method in > BayesianClassifier.java > and I called the stemmer method from there. It works fine, > but this is not a > long term solution. > > Matt Collier > RemoteIT > mco...@my... > 877-4-NEW-LAN > > > > ------------------------------------------------------- > This SF. Net email is sponsored by: GoToMyPC > GoToMyPC is the fast, easy and secure way to access your computer from > any Web browser or wireless device. Click here to Try it Free! > https://www.gotomypc.com/tr/OSDN/AW/Q4_2003/t/g22lp?Target=mm/ g22lp.tmpl _______________________________________________ Classifier4j-devel mailing list Cla...@li... https://lists.sourceforge.net/lists/listinfo/classifier4j-devel |