public class StanfordFactories
extends java.lang.Object
Constructor and Description |
---|
StanfordFactories() |
Modifier and Type | Method and Description |
---|---|
static java.util.Properties |
getDefaultCorefOptions(Language thisLanguage,
java.util.Properties thoseProperties) |
static java.lang.String |
getDefaultDepParserModel(Language thisLanguage) |
static java.util.Properties |
getDefaultDepParserOptions(Language thisLanguage,
java.util.Properties thoseProperties) |
static java.util.Properties |
getDefaultNerOptions(Language thisLanguage,
java.util.Properties thoseProperties) |
static java.util.Properties |
getDefaultOtherOptions(Language thisLanguage,
java.util.Properties thoseProperties) |
static java.lang.String |
getDefaultParserModel(Language thisLanguage) |
static java.util.Properties |
getDefaultParserOptions(Language thisLanguage,
java.util.Properties thoseProperties) |
static java.lang.String |
getDefaultPosTaggerModel(Language thisLanguage) |
static java.util.Properties |
getDefaultPosTaggerOptions(Language thisLanguage,
java.util.Properties thoseProperties) |
static java.util.Properties |
getDefaultSegmentOptions(Language thisLanguage,
java.util.Properties thoseProperties) |
static java.lang.String |
getDefaultTokenizeLanguage(Language thisLanguage) |
static java.util.List<edu.stanford.nlp.trees.GrammaticalRelation> |
invokeValues(java.lang.Class<?> thisClass)
All grammatical relations classes have a values method but no common interface.
|
static java.lang.Class<?> |
makeGrammaticalRelationClass(Language thisLanguage)
Get grammatical relation model class for a specified grammatical relation
|
static java.util.List<edu.stanford.nlp.trees.GrammaticalRelation> |
makeGrammaticalRelationCollection(java.lang.Class<?> thisClass)
Make collection of grammatical relations from relations set class
|
static java.util.List<edu.stanford.nlp.trees.GrammaticalRelation> |
makeGrammaticalRelationCollection(Language thisLanguage)
Make collection of grammatical relations from language
|
public static java.lang.Class<?> makeGrammaticalRelationClass(Language thisLanguage)
thisLanguage
- languagepublic static java.util.List<edu.stanford.nlp.trees.GrammaticalRelation> makeGrammaticalRelationCollection(java.lang.Class<?> thisClass)
thisClass
- relation set classpublic static java.util.List<edu.stanford.nlp.trees.GrammaticalRelation> makeGrammaticalRelationCollection(Language thisLanguage)
thisLanguage
- languagepublic static java.util.List<edu.stanford.nlp.trees.GrammaticalRelation> invokeValues(java.lang.Class<?> thisClass) throws java.lang.IllegalArgumentException, java.lang.IllegalAccessException, java.lang.reflect.InvocationTargetException, java.lang.SecurityException, java.lang.NoSuchMethodException
thisClass
- classjava.lang.reflect.InvocationTargetException
- exceptionjava.lang.IllegalAccessException
- exceptionjava.lang.IllegalArgumentException
- exceptionjava.lang.NoSuchMethodException
- exceptionjava.lang.SecurityException
- exceptionpublic static java.lang.String getDefaultTokenizeLanguage(Language thisLanguage)
public static java.lang.String getDefaultParserModel(Language thisLanguage)
public static java.util.Properties getDefaultParserOptions(Language thisLanguage, java.util.Properties thoseProperties)
public static java.lang.String getDefaultPosTaggerModel(Language thisLanguage)
public static java.util.Properties getDefaultPosTaggerOptions(Language thisLanguage, java.util.Properties thoseProperties)
public static java.lang.String getDefaultDepParserModel(Language thisLanguage)
public static java.util.Properties getDefaultDepParserOptions(Language thisLanguage, java.util.Properties thoseProperties)
public static java.util.Properties getDefaultNerOptions(Language thisLanguage, java.util.Properties thoseProperties)
public static java.util.Properties getDefaultSegmentOptions(Language thisLanguage, java.util.Properties thoseProperties)
public static java.util.Properties getDefaultCorefOptions(Language thisLanguage, java.util.Properties thoseProperties)
public static java.util.Properties getDefaultOtherOptions(Language thisLanguage, java.util.Properties thoseProperties)