public class ParserModel extends BaseModel
ParserModel
implementations.TRAINING_CUTOFF_PROPERTY, TRAINING_EVENTHASH_PROPERTY, TRAINING_ITERATIONS_PROPERTY
Constructor and Description |
---|
ParserModel(File modelFile) |
ParserModel(InputStream in) |
ParserModel(Path modelPath) |
ParserModel(String languageCode,
MaxentModel buildModel,
MaxentModel checkModel,
MaxentModel attachModel,
POSModel parserTagger,
ChunkerModel chunkerTagger,
HeadRules headRules,
ParserType modelType) |
ParserModel(String languageCode,
MaxentModel buildModel,
MaxentModel checkModel,
MaxentModel attachModel,
POSModel parserTagger,
ChunkerModel chunkerTagger,
HeadRules headRules,
ParserType modelType,
Map<String,String> manifestInfoEntries) |
ParserModel(String languageCode,
MaxentModel buildModel,
MaxentModel checkModel,
POSModel parserTagger,
ChunkerModel chunkerTagger,
HeadRules headRules,
ParserType type,
Map<String,String> manifestInfoEntries) |
ParserModel(URL modelURL) |
Modifier and Type | Method and Description |
---|---|
MaxentModel |
getAttachModel() |
MaxentModel |
getBuildModel() |
MaxentModel |
getCheckModel() |
HeadRules |
getHeadRules() |
ChunkerModel |
getParserChunkerModel() |
POSModel |
getParserTaggerModel() |
ParserType |
getParserType() |
ParserModel |
updateBuildModel(MaxentModel buildModel) |
ParserModel |
updateCheckModel(MaxentModel checkModel) |
ParserModel |
updateChunkerModel(ChunkerModel chunkModel) |
ParserModel |
updateTaggerModel(POSModel taggerModel) |
getArtifact, getLanguage, getManifestProperty, getVersion, isLoadedFromSerialized, serialize, serialize, serialize
public ParserModel(String languageCode, MaxentModel buildModel, MaxentModel checkModel, MaxentModel attachModel, POSModel parserTagger, ChunkerModel chunkerTagger, HeadRules headRules, ParserType modelType, Map<String,String> manifestInfoEntries)
public ParserModel(String languageCode, MaxentModel buildModel, MaxentModel checkModel, MaxentModel attachModel, POSModel parserTagger, ChunkerModel chunkerTagger, HeadRules headRules, ParserType modelType)
public ParserModel(String languageCode, MaxentModel buildModel, MaxentModel checkModel, POSModel parserTagger, ChunkerModel chunkerTagger, HeadRules headRules, ParserType type, Map<String,String> manifestInfoEntries)
public ParserModel(InputStream in) throws IOException
IOException
public ParserModel(File modelFile) throws IOException
IOException
public ParserModel(Path modelPath) throws IOException
IOException
public ParserModel(URL modelURL) throws IOException
IOException
public ParserType getParserType()
public MaxentModel getBuildModel()
public MaxentModel getCheckModel()
public MaxentModel getAttachModel()
public POSModel getParserTaggerModel()
public ChunkerModel getParserChunkerModel()
public HeadRules getHeadRules()
public ParserModel updateBuildModel(MaxentModel buildModel)
public ParserModel updateCheckModel(MaxentModel checkModel)
public ParserModel updateTaggerModel(POSModel taggerModel)
public ParserModel updateChunkerModel(ChunkerModel chunkModel)
Copyright © 2021 The Apache Software Foundation. All rights reserved.