public class FeatureTypeUnknownWord extends AbstractFeatureType
Feature type for unknown world
Copyright: Copyright (c) 2005
Company: IST, Drexel University
idPrefix| Constructor and Description |
|---|
FeatureTypeUnknownWord(FeatureDictionary d) |
FeatureTypeUnknownWord(FeatureDictionary d,
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
|
boolean |
supportSegment()
Tests if the feature type supports generating features for segments.
|
getTypeID, needTraining, readTrainingResult, saveTrainingResult, setTypeID, startScanFeaturesAt, trainpublic FeatureTypeUnknownWord(FeatureDictionary d)
public FeatureTypeUnknownWord(FeatureDictionary d, 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()
FeatureTypepublic boolean supportSegment()
FeatureTypesupportSegment in interface FeatureTypesupportSegment in class AbstractFeatureTypeCopyright © 2018 JULIE Lab, Germany. All rights reserved.