Change in the Keyword class
2 posters
Page 1 of 1
Change in the Keyword class
I've committed a new version of the keyword class that takes in a second parameter, sig (double) which is the measure of the keyword's significance in its text. I've also changed all classes which create new instances of Keyword to accommodate the new constructor (KWComparer, KWExtractor, KWController and their test suites). The tests still turn up the same results as before the switch, so nothing really changed (note the comparer still fails its test, not because of the new Keyword). Everything works fine.
Note: U know how the KeywordExtractionApp returns a double as a measure of the word's significance? turns out its a percentage, i.e. the sum of all significances of the keywords in the map returned by the library is 1 (e.g. {"gyrados":0.25, "forum":0.25, "Snooki":0.5}).
Note: U know how the KeywordExtractionApp returns a double as a measure of the word's significance? turns out its a percentage, i.e. the sum of all significances of the keywords in the map returned by the library is 1 (e.g. {"gyrados":0.25, "forum":0.25, "Snooki":0.5}).
Lenny- Admin
- Posts : 65
Join date : 2010-10-08
Re: Change in the Keyword class
That's fantastic I'll have a look at that. You know you should stop killing birds with one stone.?!.@#$ What?
Steven- Admin
- Posts : 16
Join date : 2010-10-11
Page 1 of 1
Permissions in this forum:
You cannot reply to topics in this forum