|
||||||||||
PREV NEXT | FRAMES NO FRAMES |
Packages that use Sentence | |
---|---|
sentRep |
Uses of Sentence in sentRep |
---|
Methods in sentRep that return Sentence | |
---|---|
Sentence |
SimpleSentenceFactory.buildRepresentationVector(java.lang.String[] sWords)
Creates a sentence from a list of words |
Sentence |
SentenceFactory.buildRepresentationVector(java.lang.String[] sWords)
This builds a hashtables of features and values out of an array of words. |
Sentence |
RogetSentenceFactory.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 |
SimpleSentenceFactory.buildRepresentationVector(java.lang.String[] sWords,
int maxPhraseLength)
Creates a sentence from a list of words. |
Sentence |
SentenceFactory.buildRepresentationVector(java.lang.String[] sWords,
int maxPhraseLength)
This builds a hashtables of features and values out of an array of words. |
Sentence |
RogetSentenceFactory.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 |
SimpleSentenceFactory.buildRepresentationVector(java.lang.String[] sWords,
int maxPhraseLength,
double mean)
Creates a sentence from a list of words. |
Sentence |
SentenceFactory.buildRepresentationVector(java.lang.String[] sWords,
int maxPhraseLength,
double mean)
This builds a hashtables of features and values out of an array of words. |
Sentence |
RogetSentenceFactory.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 in sentRep with parameters of type Sentence | |
---|---|
double[] |
Sentence.getFeatureVector(Sentence sen)
Generates and prints out the features for the weka ML algorithms to train/test on. |
void |
Sentence.printFeatureVector(Sentence sen,
java.lang.String value)
|
void |
Sentence.printFeatureVector(Sentence sen,
java.lang.String value,
java.lang.String[] keys,
java.io.BufferedWriter bw)
Generates and prints out the features for the weka ML algorithms to train/test on. |
double |
Sentence.similarityModified(Sentence target)
computes cosine similarity between two hashtables v1 and v2 weights of items are reweighted based on the normal distribution. |
double |
Sentence.similarityOriginal(Sentence target)
computes cosine similarity between two hashtables v1 and v2 weights of items are not re-weighted. |
|
||||||||||
PREV NEXT | FRAMES NO FRAMES |