Uses of Class
opennlp.tools.util.InvalidFormatException
Packages that use InvalidFormatException
Package
Description
-
Uses of InvalidFormatException in opennlp.tools.chunker
Methods in opennlp.tools.chunker that throw InvalidFormatExceptionModifier and TypeMethodDescriptionstatic ChunkerFactoryInstantiates aChunkerFactoryvia a givensubclassName.voidChunkerFactory.validateArtifactMap()protected voidChunkerModel.validateArtifactMap() -
Uses of InvalidFormatException in opennlp.tools.depparse
Methods in opennlp.tools.depparse that throw InvalidFormatExceptionModifier and TypeMethodDescriptionprotected voidDependencyModel.validateArtifactMap()Validates the parsed artifacts.protected voidFeedforwardDependencyModel.validateArtifactMap()Validates the parsed artifacts. -
Uses of InvalidFormatException in opennlp.tools.dictionary.serializer
Methods in opennlp.tools.dictionary.serializer that throw InvalidFormatException -
Uses of InvalidFormatException in opennlp.tools.doccat
Methods in opennlp.tools.doccat that throw InvalidFormatExceptionModifier and TypeMethodDescriptionstatic DoccatFactoryDoccatFactory.create(String subclassName, FeatureGenerator[] featureGenerators) Factory method the framework uses create a newDoccatFactory.voidDoccatFactory.validateArtifactMap()protected voidDoccatModel.validateArtifactMap()Constructors in opennlp.tools.doccat that throw InvalidFormatExceptionModifierConstructorDescriptionInstantiates anNGramFeatureGeneratorinstance with a Bi grams config.NGramFeatureGenerator(int minGram, int maxGram) Instantiates anNGramFeatureGeneratorinstance with configurable ngram parameters. -
Uses of InvalidFormatException in opennlp.tools.formats
Methods in opennlp.tools.formats that throw InvalidFormatException -
Uses of InvalidFormatException in opennlp.tools.formats.ad
Methods in opennlp.tools.formats.ad that throw InvalidFormatExceptionModifier and TypeMethodDescriptionprivate intADNameSampleStream.getTextID(ADSentenceStream.Sentence paragraph) Reads the id of the text a sentence belongs to; adaptive data is cleared when it changes.(package private) static ADMetadata.TextAndParagraphADMetadata.requireTextAndParagraph(String meta) Parses the text id and the paragraph id asADMetadata.parseTextAndParagraph(String)does.private voidADSentenceSampleStream.updateMeta() -
Uses of InvalidFormatException in opennlp.tools.formats.brat
Methods in opennlp.tools.formats.brat that throw InvalidFormatException -
Uses of InvalidFormatException in opennlp.tools.formats.conllu
Methods in opennlp.tools.formats.conllu that throw InvalidFormatExceptionModifier and TypeMethodDescription(package private) ConlluStream.MultiwordRangeConlluStream.parseContractionRange(String id) Parses a multiword token id of the formstart-end, where both sides are ASCII digit runs without a leading zero and the range does not run backwards.private List<ConlluWordLine> ConlluStream.postProcessContractions(List<ConlluWordLine> lines) Merges the word lines of each multiword token range into the range line and removes them.Constructors in opennlp.tools.formats.conllu that throw InvalidFormatException -
Uses of InvalidFormatException in opennlp.tools.formats.muc
Methods in opennlp.tools.formats.muc that throw InvalidFormatExceptionModifier and TypeMethodDescriptionabstract voidSgmlParser.ContentHandler.characters(CharSequence chars) Handles a set of characters between SGML start and end tag.private static StringSgmlParser.extractTagName(CharSequence tagChars) voidMucNameContentHandler.startElement(String name, Map<String, String> attributes) abstract voidSgmlParser.ContentHandler.startElement(String name, Map<String, String> attributes) Handles a SGML start element. -
Uses of InvalidFormatException in opennlp.tools.langdetect
Methods in opennlp.tools.langdetect that throw InvalidFormatExceptionModifier and TypeMethodDescriptionstatic LanguageDetectorFactoryInstantiates aLanguageDetectorFactoryvia a givensubclassName.voidLanguageDetectorFactory.validateArtifactMap()protected voidLanguageDetectorModel.validateArtifactMap() -
Uses of InvalidFormatException in opennlp.tools.lemmatizer
Methods in opennlp.tools.lemmatizer that throw InvalidFormatExceptionModifier and TypeMethodDescriptionstatic LemmatizerFactoryInstantiates aLemmatizerFactoryvia a givensubclassName.voidLemmatizerFactory.validateArtifactMap()protected voidLemmatizerModel.validateArtifactMap() -
Uses of InvalidFormatException in opennlp.tools.ml.model
Methods in opennlp.tools.ml.model that throw InvalidFormatExceptionModifier and TypeMethodDescriptionstatic EventRealValueFileEventStream.parseEvent(String line) Parses one real-valued event line.(package private) static EventFields.EventLineSplits an event line into its outcome and contexts, seeEventFields.split(String). -
Uses of InvalidFormatException in opennlp.tools.namefind
Methods in opennlp.tools.namefind that throw InvalidFormatExceptionModifier and TypeMethodDescriptionstatic TokenNameFinderFactoryTokenNameFinderFactory.create(String subclassName, byte[] featureGeneratorBytes, Map<String, Object> resources, SequenceCodec<String> seqCodec) Initializes aTokenNameFinderFactoryinstance via given parameters.static SequenceCodec<String> TokenNameFinderFactory.instantiateSequenceCodec(String sequenceCodecImplName) Initializes aSequenceCodecinstance via given parameters.voidTokenNameFinderFactory.validateArtifactMap()protected voidTokenNameFinderModel.validateArtifactMap() -
Uses of InvalidFormatException in opennlp.tools.parser
Methods in opennlp.tools.parser that throw InvalidFormatException -
Uses of InvalidFormatException in opennlp.tools.postag
Methods in opennlp.tools.postag that throw InvalidFormatExceptionModifier and TypeMethodDescriptionstatic POSTaggerFactoryPOSTaggerFactory.create(String subclassName, byte[] featureGeneratorBytes, Map<String, Object> resources, TagDictionary posDictionary) Instantiates aPOSTaggerFactoryvia a givensubclassName.(package private) static POSTaggerFactoryPOSTaggerFactory.create(String subclassName, Dictionary ngramDictionary, TagDictionary posDictionary) Deprecated.static POSSampleParses asentenceString.protected voidPOSModel.validateArtifactMap()voidPOSTaggerFactory.validateArtifactMap()protected voidPOSTaggerFactory.validatePOSDictionary(POSDictionary posDict, AbstractModel posModel) -
Uses of InvalidFormatException in opennlp.tools.sentdetect
Methods in opennlp.tools.sentdetect that throw InvalidFormatExceptionModifier and TypeMethodDescriptionstatic SentenceDetectorFactorySentenceDetectorFactory.create(String subclassName, String languageCode, boolean useTokenEnd, Dictionary abbrDictionary, char[] eosChars) Instantiates aSentenceDetectorFactoryvia a givensubclassName.voidSentenceDetectorFactory.validateArtifactMap()protected voidSentenceModel.validateArtifactMap() -
Uses of InvalidFormatException in opennlp.tools.sentiment
Methods in opennlp.tools.sentiment that throw InvalidFormatExceptionModifier and TypeMethodDescriptionvoidSentimentFactory.validateArtifactMap()Validates the artifact map --> nothing to validate. -
Uses of InvalidFormatException in opennlp.tools.tokenize
Methods in opennlp.tools.tokenize that throw InvalidFormatExceptionModifier and TypeMethodDescriptionstatic TokenizerFactoryTokenizerFactory.create(String subclassName, String languageCode, Dictionary abbreviationDictionary, boolean useAlphaNumericOptimization) Factory method the framework uses to instantiate a newTokenizerFactorywith theTokenizerCharacterPolicyof its language.static TokenizerFactoryTokenizerFactory.create(String subclassName, String languageCode, Dictionary abbreviationDictionary, boolean useAlphaNumericOptimization, Pattern alphaNumericPattern) Deprecated, for removal: This API element is subject to removal in a future version.static TokenizerFactoryTokenizerFactory.create(String subclassName, String languageCode, Dictionary abbreviationDictionary, boolean useAlphaNumericOptimization, TokenizerCharacterPolicy characterPolicy) Factory method the framework uses to instantiate a newTokenizerFactory.protected voidBPEModel.validateArtifactMap()voidBPETokenizerFactory.validateArtifactMap()Validates the parsed artifacts.voidTokenizerFactory.validateArtifactMap()protected voidTokenizerModel.validateArtifactMap() -
Uses of InvalidFormatException in opennlp.tools.tokenize.lattice
Methods in opennlp.tools.tokenize.lattice that return InvalidFormatExceptionModifier and TypeMethodDescriptionprivate static InvalidFormatExceptionMecabDictionary.malformedEntry(Path file, int lineNumber, String detail) Creates the exception for a lexicon line that cannot be read.Methods in opennlp.tools.tokenize.lattice that throw InvalidFormatExceptionModifier and TypeMethodDescription(package private) CategoryTableCategoryTable.Builder.build(Map<String, MecabDictionary.Category> categories) Builds the lookup table from the recorded mappings.private static intMecabDictionary.parseCodePoint(String text, Path file, int lineNumber) Parses a0x-prefixed hexadecimal code point fromchar.def.private static intParses a decimal integer field, reporting the file and line on failure.private CategoryTable.CategoryAssignmentCategoryTable.Builder.resolve(String[] names, Map<String, MecabDictionary.Category> categories, Map<String[], CategoryTable.CategoryAssignment> resolvedAssignments, int codePoint) Resolves mapped category names using the defined categories.Splits a lexicon line on commas, honoring MeCab-style"..."quoting with""escapes inside a quoted field. -
Uses of InvalidFormatException in opennlp.tools.util
Methods in opennlp.tools.util that throw InvalidFormatExceptionModifier and TypeMethodDescriptionstatic BaseToolFactoryBaseToolFactory.create(Class<? extends BaseToolFactory> factoryClass, ArtifactProvider artifactProvider) Instantiates aBaseToolFactoryvia a givensubclassName.static BaseToolFactoryBaseToolFactory.create(String subclassName, ArtifactProvider artifactProvider) Instantiates aBaseToolFactoryvia a givensubclassName.abstract voidBaseToolFactory.validateArtifactMap()Validates the parsed artifacts. -
Uses of InvalidFormatException in opennlp.tools.util.featuregen
Methods in opennlp.tools.util.featuregen that throw InvalidFormatExceptionModifier and TypeMethodDescriptionprivate static AdaptiveFeatureGeneratorGeneratorFactory.buildGenerator(Element generatorElement, FeatureGeneratorResourceProvider resourceManager) Creates anAdaptiveFeatureGeneratorfor the provided element.AggregatedFeatureGeneratorFactory.create()BigramNameFeatureGeneratorFactory.create()BrownClusterBigramFeatureGeneratorFactory.create()BrownClusterTokenClassFeatureGeneratorFactory.create()BrownClusterTokenFeatureGeneratorFactory.create()CachedFeatureGeneratorFactory.create()CharacterNgramFeatureGeneratorFactory.create()DefinitionFeatureGeneratorFactory.create()DictionaryFeatureGeneratorFactory.create()DocumentBeginFeatureGeneratorFactory.create()EmojiAnnotationFeatureGeneratorFactory.create()abstract AdaptiveFeatureGeneratorGeneratorFactory.AbstractXmlFeatureGeneratorFactory.create()PosTaggerFeatureGeneratorFactory.create()POSTaggerNameFeatureGeneratorFactory.create()PrefixFeatureGeneratorFactory.create()PreviousMapFeatureGeneratorFactory.create()SentenceFeatureGeneratorFactory.create()SuffixFeatureGeneratorFactory.create()TokenClassFeatureGeneratorFactory.create()TokenFeatureGeneratorFactory.create()TokenPatternFeatureGeneratorFactory.create()TrigramNameFeatureGeneratorFactory.create()WindowFeatureGeneratorFactory.create()WordClusterFeatureGeneratorFactory.create()private static AdaptiveFeatureGeneratorGeneratorFactory.createGenerator(Element generatorElement, FeatureGeneratorResourceProvider resourceManager) Creates anAdaptiveFeatureGeneratorfor the provided element.BrownClusterBigramFeatureGeneratorFactory.getArtifactSerializerMapping()BrownClusterTokenClassFeatureGeneratorFactory.getArtifactSerializerMapping()BrownClusterTokenFeatureGeneratorFactory.getArtifactSerializerMapping()DictionaryFeatureGeneratorFactory.getArtifactSerializerMapping()GeneratorFactory.AbstractXmlFeatureGeneratorFactory.getArtifactSerializerMapping()POSTaggerNameFeatureGeneratorFactory.getArtifactSerializerMapping()WordClusterFeatureGeneratorFactory.getArtifactSerializerMapping()booleanbooleandoubledoublefloatfloatintintlonglong(package private) final voidGeneratorFactory.AbstractXmlFeatureGeneratorFactory.init(Element element, FeatureGeneratorResourceProvider resourceManager) -
Uses of InvalidFormatException in opennlp.tools.util.model
Methods in opennlp.tools.util.model that throw InvalidFormatExceptionModifier and TypeMethodDescriptionprivate StringBaseModel.getEntryExtension(String entry) Extracts the "." extension from an entry name.private voidBaseModel.initializeFactory()protected voidBaseModel.validateArtifactMap()Validates the parsed artifacts.
TokenizerFactory.create(String, String, Dictionary, boolean, TokenizerCharacterPolicy).