![JAR search and dependency download from the Maven repository](/logo.png)
org.cogroo.config.Analyzers Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of cogroo-ann Show documentation
Show all versions of cogroo-ann Show documentation
An API with pipes and annotators for NLP
//
// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, vhudson-jaxb-ri-2.1-833
// See http://java.sun.com/xml/jaxb
// Any modifications to this file will be lost upon recompilation of the source schema.
// Generated on: 2013.05.26 at 11:37:12 PM BRT
//
package org.cogroo.config;
import javax.xml.bind.annotation.XmlEnum;
import javax.xml.bind.annotation.XmlEnumValue;
import javax.xml.bind.annotation.XmlType;
/**
* Java class for Analyzer.
*
*
The following schema fragment specifies the expected content contained within this class.
*
*
* <simpleType name="Analyzer">
* <restriction base="{http://www.w3.org/2001/XMLSchema}string">
* <enumeration value="sentenceDetector"/>
* <enumeration value="tokenizer"/>
* <enumeration value="nameFinder"/>
* <enumeration value="contractionFinder"/>
* <enumeration value="posTagger"/>
* <enumeration value="featurizer"/>
* <enumeration value="lemmatizer"/>
* <enumeration value="chunker"/>
* <enumeration value="headFinder"/>
* <enumeration value="shallowParser"/>
* </restriction>
* </simpleType>
*
*
*/
@XmlType(name = "Analyzer")
@XmlEnum
public enum Analyzers {
@XmlEnumValue("sentenceDetector")
SENTENCE_DETECTOR("sentenceDetector"),
@XmlEnumValue("tokenizer")
TOKENIZER("tokenizer"),
@XmlEnumValue("nameFinder")
NAME_FINDER("nameFinder"),
@XmlEnumValue("contractionFinder")
CONTRACTION_FINDER("contractionFinder"),
@XmlEnumValue("posTagger")
POS_TAGGER("posTagger"),
@XmlEnumValue("featurizer")
FEATURIZER("featurizer"),
@XmlEnumValue("lemmatizer")
LEMMATIZER("lemmatizer"),
@XmlEnumValue("chunker")
CHUNKER("chunker"),
@XmlEnumValue("headFinder")
HEAD_FINDER("headFinder"),
@XmlEnumValue("shallowParser")
SHALLOW_PARSER("shallowParser");
private final String value;
Analyzers(String v) {
value = v;
}
public String value() {
return value;
}
public static Analyzers fromValue(String v) {
for (Analyzers c: Analyzers.values()) {
if (c.value.equals(v)) {
return c;
}
}
throw new IllegalArgumentException(v);
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy