|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.ObjectsentRep.RogetSentenceFactory
public class RogetSentenceFactory
Used to generate a sentence with Roget's concepts added to it.
Nested Class Summary |
---|
Nested classes/interfaces inherited from interface sentRep.SentenceFactory |
---|
SentenceFactory.Resource |
Field Summary | |
---|---|
RogetELKB |
elkb
|
Constructor Summary | |
---|---|
RogetSentenceFactory()
Builds a Roget's Sentence Representation maker |
|
RogetSentenceFactory(java.lang.String year)
Builds a Roget's Sentence Representation maker |
Method Summary | |
---|---|
Sentence |
buildRepresentationVector(java.lang.String[] sWords)
This finds all the words in sWords that appear in Roget's Thesaurus and represents them as weighted head groups, heads, pos's and paragraphs. |
Sentence |
buildRepresentationVector(java.lang.String[] sWords,
int maxPhraseLength)
This finds all the words in sWords that appear in Roget's Thesaurus and represents them as weighted head groups, heads, pos's and paragraphs. |
Sentence |
buildRepresentationVector(java.lang.String[] sWords,
int maxPhraseLength,
double mean)
This finds all the words in sWords that appear in Roget's Thesaurus and represents them as weighted head groups, heads, pos's and paragraphs. |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public RogetELKB elkb
Constructor Detail |
---|
public RogetSentenceFactory(java.lang.String year)
year
- public RogetSentenceFactory()
Method Detail |
---|
public Sentence buildRepresentationVector(java.lang.String[] sWords)
buildRepresentationVector
in interface SentenceFactory
sWords
-
public Sentence buildRepresentationVector(java.lang.String[] sWords, int maxPhraseLength)
buildRepresentationVector
in interface SentenceFactory
sWords
- maxPhraseLength
-
public Sentence buildRepresentationVector(java.lang.String[] sWords, int maxPhraseLength, double mean)
buildRepresentationVector
in interface SentenceFactory
sWords
- maxPhraseLength
- mean
-
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |