|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--net.sf.classifier4J.summariser.SimpleSummariser
Constructor Summary | |
SimpleSummariser()
|
Method Summary | |
protected java.util.Set |
getMostFrequentWords(int count,
java.util.Map wordFrequencies)
|
java.lang.String |
summarise(java.lang.String input,
int numSentences)
Extract a summary from a string |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public SimpleSummariser()
Method Detail |
protected java.util.Set getMostFrequentWords(int count, java.util.Map wordFrequencies)
public java.lang.String summarise(java.lang.String input, int numSentences)
ISummariser
summarise
in interface ISummariser
input
- A StringnumSentences
- The number of sentences the summary should be
net.sf.classifier4J.summariser.ISummariser#summarise(java.lang.String)
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |