GrammarScope  4.0.0
Static Public Member Functions | Private Member Functions | Static Private Attributes | List of all members
grammarscope.server.factory.LanguageFactory Class Reference

Static Public Member Functions

static String languageToDParseModel (final Language language)
 
static TreebankLanguagePack makeLanguagePackFromLanguage (final Language language)
 

Private Member Functions

 LanguageFactory ()
 

Static Private Attributes

static final String DEFAULT_MODEL_ENGLISH = "edu/stanford/nlp/models/parser/nndep/english_SD.gz"
 
static final String DEFAULT_MODEL_UNIVERSAL_ENGLISH = DependencyParser.DEFAULT_MODEL
 
static final String DEFAULT_MODEL_FRENCH = "edu/stanford/nlp/models/parser/nndep/UD_French.gz"
 
static final String DEFAULT_MODEL_GERMAN = "edu/stanford/nlp/models/parser/nndep/UD_German.gz"
 
static final String DEFAULT_MODEL_SPANISH = "edu/stanford/nlp/models/parser/nndep/UD_Spanish.gz"
 
static final String DEFAULT_MODEL_CHINESE = "edu/stanford/nlp/models/parser/nndep/UD_Chinese.gz"
 

Constructor & Destructor Documentation

◆ LanguageFactory()

grammarscope.server.factory.LanguageFactory.LanguageFactory ( )
private

Member Function Documentation

◆ languageToDParseModel()

static String grammarscope.server.factory.LanguageFactory.languageToDParseModel ( final Language  language)
static

Default dparse model for language

Parameters
languagelanguage
Returns
default model

◆ makeLanguagePackFromLanguage()

static TreebankLanguagePack grammarscope.server.factory.LanguageFactory.makeLanguagePackFromLanguage ( final Language  language)
static

TreebankLanguagePack factory

Parameters
languagelanguage
Returns
TreebankLanguagePack

Member Data Documentation

◆ DEFAULT_MODEL_CHINESE

final String grammarscope.server.factory.LanguageFactory.DEFAULT_MODEL_CHINESE = "edu/stanford/nlp/models/parser/nndep/UD_Chinese.gz"
staticprivate

◆ DEFAULT_MODEL_ENGLISH

final String grammarscope.server.factory.LanguageFactory.DEFAULT_MODEL_ENGLISH = "edu/stanford/nlp/models/parser/nndep/english_SD.gz"
staticprivate

◆ DEFAULT_MODEL_FRENCH

final String grammarscope.server.factory.LanguageFactory.DEFAULT_MODEL_FRENCH = "edu/stanford/nlp/models/parser/nndep/UD_French.gz"
staticprivate

◆ DEFAULT_MODEL_GERMAN

final String grammarscope.server.factory.LanguageFactory.DEFAULT_MODEL_GERMAN = "edu/stanford/nlp/models/parser/nndep/UD_German.gz"
staticprivate

◆ DEFAULT_MODEL_SPANISH

final String grammarscope.server.factory.LanguageFactory.DEFAULT_MODEL_SPANISH = "edu/stanford/nlp/models/parser/nndep/UD_Spanish.gz"
staticprivate

◆ DEFAULT_MODEL_UNIVERSAL_ENGLISH

final String grammarscope.server.factory.LanguageFactory.DEFAULT_MODEL_UNIVERSAL_ENGLISH = DependencyParser.DEFAULT_MODEL
staticprivate

The documentation for this class was generated from the following file: