JavaScript is disabled on your browser.
Skip navigation links
Overview
Class
Use
Tree
Deprecated
Index
Search
Episteme 1.0.0-beta3.0.14
org.episteme.social.linguistics
Parser
Contents
Description
Method Summary
Method Details
parse(Grammar, String)
Hide sidebar
Show sidebar
Interface Parser
public interface
Parser
The Parser interface defines methods that all parsers for languages should implement.
Version:
1.0
Author:
Silvere Martin-Michiellot
Method Summary
All Methods
Instance Methods
Abstract Methods
Modifier and Type
Method
Description
TreeModel
parse
(
Grammar
grammar,
String
string)
Parses the given string using the provided grammar.
Method Details
parse
TreeModel
parse
(
Grammar
grammar,
String
string)
Parses the given string using the provided grammar.
Parameters:
grammar
- the grammar to use for parsing
string
- the string to parse
Returns:
a TreeModel representing the parsed structure, where nodes are rules and leaves are terminals