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

Public Member Functions

 MutableAGrammaticalStructure (final String value, final Token token, final double score)
 
void setParent (final AGrammaticalStructure parent)
 
void setChildren (final List< AGrammaticalStructure > children)
 
- Public Member Functions inherited from grammarscope.artifacts.AGrammaticalStructure
 AGrammaticalStructure (final String value, final Token token, final double score)
 
Token getToken ()
 
String getLabel ()
 
String getId ()
 
AGrammaticalStructure getNode ()
 
String getValue ()
 
Double getScore ()
 
ILabel getILabel ()
 
String getWord ()
 
String getLemma ()
 
int getIndex ()
 
Map< String, String > getAnnotations ()
 
Map< BasicRelation, AGrammaticalStructuregetOutGoingNodes ()
 
Map< BasicRelation, AGrammaticalStructuregetInComingNodes ()
 
String toString ()
 
- Public Member Functions inherited from grammarscope.artifacts.BasicTree< AGrammaticalStructure >
 BasicTree ()
 
abstract String getId ()
 
BasicTree< T > getParent ()
 
List< T > getChildren ()
 
getNode ()
 
int depth ()
 
String toString ()
 
String toString (final String indent)
 
- Public Member Functions inherited from grammarscope.iface.ITree< N >
List< N > getChildren ()
 

Static Private Attributes

static final long serialVersionUID = -2566751117392732437L
 

Additional Inherited Members

- Public Attributes inherited from grammarscope.artifacts.AGrammaticalStructure
double score
 
AGrammaticalStructure head
 
Map< BasicRelation, AGrammaticalStructuredependents
 
Map< BasicRelation, AGrammaticalStructuregovernors
 
Map< String, String > annotations
 
- Protected Attributes inherited from grammarscope.artifacts.AGrammaticalStructure
final String value
 
- Protected Attributes inherited from grammarscope.artifacts.BasicTree< AGrammaticalStructure >
BasicTree< T > parent
 
List< T > children
 

Detailed Description

Mutable grammatical structure artifact

Author
Bernard Bou

Constructor & Destructor Documentation

◆ MutableAGrammaticalStructure()

grammarscope.glue.MutableAGrammaticalStructure.MutableAGrammaticalStructure ( final String  value,
final Token  token,
final double  score 
)

Constructor

Parameters
valuevalue
tokentoken
scorescore

Member Function Documentation

◆ setChildren()

void grammarscope.glue.MutableAGrammaticalStructure.setChildren ( final List< AGrammaticalStructure children)

Set children

Parameters
childrenchildren

◆ setParent()

void grammarscope.glue.MutableAGrammaticalStructure.setParent ( final AGrammaticalStructure  parent)

Set parent

Parameters
parentparent

Member Data Documentation

◆ serialVersionUID

final long grammarscope.glue.MutableAGrammaticalStructure.serialVersionUID = -2566751117392732437L
staticprivate

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