public class FeatureTypeKnownWord extends AbstractFeatureType
Feature type of known word
Copyright: Copyright (c) 2005
Company: IST, Drexel University
idPrefix| Constructor and Description |
|---|
FeatureTypeKnownWord(FeatureDictionary wordDict) |
FeatureTypeKnownWord(FeatureDictionary wordDict,
boolean caseSensitive) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
hasNext()
Tests if next feature exists
|
Feature |
next()
Gets the next feature
|
boolean |
startScanFeaturesAt(DataSequence data,
int startPos,
int endPos)
Starts scanning features of the given segment of a sequence
|
getTypeID, needTraining, readTrainingResult, saveTrainingResult, setTypeID, startScanFeaturesAt, supportSegment, trainpublic FeatureTypeKnownWord(FeatureDictionary wordDict)
public FeatureTypeKnownWord(FeatureDictionary wordDict, boolean caseSensitive)
public boolean startScanFeaturesAt(DataSequence data, int startPos, int endPos)
FeatureTypedata - the sequencestartPos - the start position of the segmentendPos - the end position of the segmentpublic boolean hasNext()
FeatureTypepublic Feature next()
FeatureTypeCopyright © 2018 JULIE Lab, Germany. All rights reserved.