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

Public Member Functions

boolean isValid ()
 
String getOptions ()
 
String getConstituencyParseModel ()
 
Tree parse (final List< CoreLabel > sentence)
 
List< Tree > parseSentences (final List< List< CoreLabel >> sentences)
 

Detailed Description

Parser interface

Author
Bernard Bou

Member Function Documentation

◆ getConstituencyParseModel()

String grammarscope.server.parser.iface.IParser.getConstituencyParseModel ( )

Get constituency parse model

Returns
model

Implemented in grammarscope.server.parser.Parser.

◆ getOptions()

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

Get options

Returns
options as string

Implemented in grammarscope.server.parser.Parser.

◆ isValid()

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

Whether this parser is valid

Returns
true if this parser is valid

Implemented in grammarscope.server.parser.Parser.

◆ parse()

Tree grammarscope.server.parser.iface.IParser.parse ( final List< CoreLabel >  sentence)

Parse sentence

Parameters
sentencesentence to parse
Returns
parse tree

Implemented in grammarscope.server.parser.Parser.

◆ parseSentences()

List<Tree> grammarscope.server.parser.iface.IParser.parseSentences ( final List< List< CoreLabel >>  sentences)

Parse sentences

Parameters
sentencessentences to parse
Returns
list of parse trees

Implemented in grammarscope.server.parser.Parser.


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