modnlp.tc.dstruct
public class ParsedText extends java.util.Vector
,
Serialized FormConstructor and Description |
---|
ParsedText()
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
boolean |
addNewsItem(ParsedNewsItem pni)
Deprecated.
|
void |
append(ParsedText pt)
Deprecated.
|
double |
getCategProbability(java.lang.String cat)
Deprecated.
Get the overall probability of category cat classifying a
document in the corpus represented by this ParsedText
(i.e.
|
ParsedText |
getCategSubCorpus(java.lang.String cat)
Deprecated.
Get the sub-corpus defined by documents belonging to category cat
|
Probabilities |
getProbabilities(java.lang.String term,
java.lang.String cat)
Deprecated.
Get the joint probability of term 'term' occurring in a document and category 'cat' classifying it.
|
java.lang.String |
toString()
Deprecated.
|
add, add, addAll, addAll, addElement, capacity, clear, clone, contains, containsAll, copyInto, elementAt, elements, ensureCapacity, equals, firstElement, get, hashCode, indexOf, indexOf, insertElementAt, isEmpty, iterator, lastElement, lastIndexOf, lastIndexOf, listIterator, listIterator, remove, remove, removeAll, removeAllElements, removeElement, removeElementAt, removeRange, retainAll, set, setElementAt, setSize, size, subList, toArray, toArray, trimToSize
public boolean addNewsItem(ParsedNewsItem pni)
public void append(ParsedText pt)
public ParsedText getCategSubCorpus(java.lang.String cat)
public double getCategProbability(java.lang.String cat)
public Probabilities getProbabilities(java.lang.String term, java.lang.String cat)
public java.lang.String toString()
toString
in class java.util.Vector