|
|
|
|
|
|
|
|
|
|
|
buildLinearOrderFeatures(self,
sentenceGraph,
index,
tag)
Linear features are built by marking token features with a tag that
defines their relative position in the linear order. |
source code
|
|
|
|
initSentence(self,
sentenceGraph)
Build one example for each token of the sentence |
source code
|
|
|
|
| buildFeatures(self,
token,
linear=True,
chains=True) |
source code
|
|
|
|
| buildAttachedEdgeFeatures(self,
token,
sentenceGraph) |
source code
|
|
|
|
buildChains(self,
token,
sentenceGraph,
depthLeft=3,
chain='',
visited=None) |
source code
|
|
|
Inherited from FeatureBuilder.FeatureBuilder:
getEntityType,
getPOSSuperType,
getTokenAnnotatedType,
normalizeFeatureVector,
setFeature,
setFeatureVector,
setTag
|