GrammarScope  4.0.0
Classes | Public Member Functions | Static Public Member Functions | Static Private Member Functions | Private Attributes | List of all members
grammarscope.glue.AParseTreeFactory Class Reference
Collaboration diagram for grammarscope.glue.AParseTreeFactory:
Collaboration graph
[legend]

Classes

class  ATree
 

Public Member Functions

 AParseTreeFactory ()
 
AParseTree make (final Tree treeRoot)
 

Static Public Member Functions

static void main (final String[] args)
 

Static Private Member Functions

static MutableAParseTree makeNode (final Tree tree)
 

Private Attributes

final Map< Tree, MutableAParseTreenodeMap
 

Detailed Description

Parse tree factory

Author
Bernard Bou

Constructor & Destructor Documentation

◆ AParseTreeFactory()

grammarscope.glue.AParseTreeFactory.AParseTreeFactory ( )

Constructor

Member Function Documentation

◆ main()

static void grammarscope.glue.AParseTreeFactory.main ( final String[]  args)
static

Test

Parameters
argsarguments

◆ make()

AParseTree grammarscope.glue.AParseTreeFactory.make ( final Tree  treeRoot)

Make parse tree artifact from stanford tree

Parameters
treeRootstanford tree
Returns
parse tree artifact node

Process node

Parameters
treetree node
parentTreetree node's parent node
Returns
artifact node

Process node

Parameters
treetree node
parentTreetree node's parent node
Returns
void

◆ makeNode()

static MutableAParseTree grammarscope.glue.AParseTreeFactory.makeNode ( final Tree  tree)
staticprivate

Make artifact node from stanford tree node

Parameters
treestanford tree node
Returns
artifact node

Member Data Documentation

◆ nodeMap

final Map<Tree, MutableAParseTree> grammarscope.glue.AParseTreeFactory.nodeMap
private

Node map (Stanford parse tree node to artifact node)


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