GrammarScope  4.0.0
Classes | Static Public Member Functions | Private Member Functions | Static Private Member Functions | Static Private Attributes | List of all members
grammarscope.server.conf.Config Class Reference

Classes

class  CoreNlpSettings
 

Static Public Member Functions

static CoreNlpSettings getCoreNlpDefaultSettings (final Language language)
 
static Properties load (final String filePath) throws Exception
 
static String getDefaultTokenizeLanguage (final Language language)
 
static String getDefaultParserModel (final Language language)
 
static Properties getDefaultParserOptions (final Language language, final Properties properties)
 
static String getDefaultPosTaggerModel (final Language language)
 
static Properties getDefaultPosTaggerOptions (final Language language, final Properties properties)
 
static String getDefaultDepParserModel (final Language language)
 
static Properties getDefaultDepParserOptions (final Language language, final Properties properties)
 
static Properties getDefaultNerOptions (final Language language, final Properties properties0)
 
static Properties getDefaultSegmentOptions (final Language language, final Properties properties0)
 
static Properties getDefaultCorefOptions (final Language language, final Properties properties0)
 
static Properties getDefaultOtherOptions (final Language language, final Properties properties0)
 
static Properties getDefaultCoreNlpConfig (final Language language)
 
static Properties getDefaultParserConfig (@SuppressWarnings("unused") final Language lang)
 

Private Member Functions

 Config ()
 

Static Private Member Functions

static String propertiesToString (final Properties properties)
 

Static Private Attributes

static final String DEFAULT_ANNOTATORS_EXPAND = "parse,dparse,structure,typeddependencies,semanticgraph"
 

Constructor & Destructor Documentation

◆ Config()

grammarscope.server.conf.Config.Config ( )
private

Member Function Documentation

◆ getCoreNlpDefaultSettings()

static CoreNlpSettings grammarscope.server.conf.Config.getCoreNlpDefaultSettings ( final Language  language)
static

◆ getDefaultCorefOptions()

static Properties grammarscope.server.conf.Config.getDefaultCorefOptions ( final Language  language,
final Properties  properties0 
)
static

◆ getDefaultCoreNlpConfig()

static Properties grammarscope.server.conf.Config.getDefaultCoreNlpConfig ( final Language  language)
static

◆ getDefaultDepParserModel()

static String grammarscope.server.conf.Config.getDefaultDepParserModel ( final Language  language)
static

◆ getDefaultDepParserOptions()

static Properties grammarscope.server.conf.Config.getDefaultDepParserOptions ( final Language  language,
final Properties  properties 
)
static

◆ getDefaultNerOptions()

static Properties grammarscope.server.conf.Config.getDefaultNerOptions ( final Language  language,
final Properties  properties0 
)
static

◆ getDefaultOtherOptions()

static Properties grammarscope.server.conf.Config.getDefaultOtherOptions ( final Language  language,
final Properties  properties0 
)
static

◆ getDefaultParserConfig()

static Properties grammarscope.server.conf.Config.getDefaultParserConfig ( @SuppressWarnings("unused") final Language  lang)
static

◆ getDefaultParserModel()

static String grammarscope.server.conf.Config.getDefaultParserModel ( final Language  language)
static

◆ getDefaultParserOptions()

static Properties grammarscope.server.conf.Config.getDefaultParserOptions ( final Language  language,
final Properties  properties 
)
static

◆ getDefaultPosTaggerModel()

static String grammarscope.server.conf.Config.getDefaultPosTaggerModel ( final Language  language)
static

◆ getDefaultPosTaggerOptions()

static Properties grammarscope.server.conf.Config.getDefaultPosTaggerOptions ( final Language  language,
final Properties  properties 
)
static

◆ getDefaultSegmentOptions()

static Properties grammarscope.server.conf.Config.getDefaultSegmentOptions ( final Language  language,
final Properties  properties0 
)
static

◆ getDefaultTokenizeLanguage()

static String grammarscope.server.conf.Config.getDefaultTokenizeLanguage ( final Language  language)
static

◆ load()

static Properties grammarscope.server.conf.Config.load ( final String  filePath) throws Exception
static

Load from file

Parameters
filePathpersist file path
Returns
properties
Exceptions
Exceptionexception

◆ propertiesToString()

static String grammarscope.server.conf.Config.propertiesToString ( final Properties  properties)
staticprivate

Properties to string

Parameters
propertiesproperties
Returns
n=v n=v ... string

Member Data Documentation

◆ DEFAULT_ANNOTATORS_EXPAND

final String grammarscope.server.conf.Config.DEFAULT_ANNOTATORS_EXPAND = "parse,dparse,structure,typeddependencies,semanticgraph"
staticprivate

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