|
__init__(self,
style=None,
classSet=None,
featureSet=None,
gazetteerFileName=None,
skiplist=None) |
source code
|
|
|
|
|
|
|
buildLinearOrderFeatures(self,
sentenceGraph,
index,
tag,
features)
Linear features are built by marking token features with a tag that
defines their relative position in the linear order. |
source code
|
|
|
buildLinearNGram(self,
i,
j,
sentenceGraph,
features) |
source code
|
|
|
|
|
buildChains(self,
token,
sentenceGraph,
features,
depthLeft=3,
chain='
' ,
visited=None) |
source code
|
|
|
getNamedEntityHeadTokens(self,
sentenceGraph) |
source code
|
|
|
buildPOSPairs(self,
token,
namedEntityHeadTokens,
features) |
source code
|
|
Inherited from ExampleBuilder.ExampleBuilder :
calculatePredictedRange ,
definePredictedValueRange ,
getElementCounts ,
getParameters ,
getPredictedValueRange ,
getSentences ,
processCorpus ,
processDocument ,
processSentence ,
saveIds ,
setFeature
|