GrammarScope  4.0.0
Public Member Functions | List of all members
grammarscope.server.parser.iface.IDependencyParser Interface Reference
Inheritance diagram for grammarscope.server.parser.iface.IDependencyParser:
Inheritance graph
[legend]

Public Member Functions

boolean isValid ()
 
String getOptions ()
 
String getPosTaggerModel ()
 
String getDependencyParseModel ()
 
GrammaticalStructure parse (final List< CoreLabel > sentence)
 
List< GrammaticalStructure > parseSentences (final List< List< CoreLabel >> sentences)
 

Detailed Description

Parser interface

Author
Bernard Bou

Member Function Documentation

◆ getDependencyParseModel()

String grammarscope.server.parser.iface.IDependencyParser.getDependencyParseModel ( )

Get dependency parse model

Returns
model

Implemented in grammarscope.server.parser.DependencyParser.

◆ getOptions()

String grammarscope.server.parser.iface.IDependencyParser.getOptions ( )

Get options

Returns
options as string

Implemented in grammarscope.server.parser.DependencyParser.

◆ getPosTaggerModel()

String grammarscope.server.parser.iface.IDependencyParser.getPosTaggerModel ( )

Get pos tagger model

Returns
model

Implemented in grammarscope.server.parser.DependencyParser.

◆ isValid()

boolean grammarscope.server.parser.iface.IDependencyParser.isValid ( )

Whether this parser is valid

Returns
true if this parser is valid

Implemented in grammarscope.server.parser.DependencyParser.

◆ parse()

GrammaticalStructure grammarscope.server.parser.iface.IDependencyParser.parse ( final List< CoreLabel >  sentence)

Parse sentence

Parameters
sentencesentence to parse
Returns
grammatical structure

Implemented in grammarscope.server.parser.DependencyParser.

◆ parseSentences()

List<GrammaticalStructure> grammarscope.server.parser.iface.IDependencyParser.parseSentences ( final List< List< CoreLabel >>  sentences)

Parse sentences

Parameters
sentencessentences to parse
Returns
list of parse trees

Implemented in grammarscope.server.parser.DependencyParser.


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