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

Public Member Functions

 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 ()
 

Public Attributes

double score
 
AGrammaticalStructure head
 
Map< BasicRelation, AGrammaticalStructuredependents
 
Map< BasicRelation, AGrammaticalStructuregovernors
 
Map< String, String > annotations
 

Protected Attributes

final String value
 
- Protected Attributes inherited from grammarscope.artifacts.BasicTree< AGrammaticalStructure >
BasicTree< T > parent
 
List< T > children
 

Private Member Functions

void toString (final String indent, final StringBuffer sb)
 

Private Attributes

final Token token
 

Static Private Attributes

static final long serialVersionUID = -5875559775091994729L
 

Detailed Description

Artifact representing grammatical structure

Author
Bernard Bou

Constructor & Destructor Documentation

◆ AGrammaticalStructure()

grammarscope.artifacts.AGrammaticalStructure.AGrammaticalStructure ( final String  value,
final Token  token,
final double  score 
)

Constructor

Parameters
valuevalue
tokentoken
scorescore

Member Function Documentation

◆ getAnnotations()

Map<String, String> grammarscope.artifacts.AGrammaticalStructure.getAnnotations ( )

Get annotations

Returns
properties

Implements grammarscope.iface.IAnnotatedLabel.

◆ getId()

String grammarscope.artifacts.AGrammaticalStructure.getId ( )

Get id

Returns
id

Implements grammarscope.iface.INode.

◆ getILabel()

ILabel grammarscope.artifacts.AGrammaticalStructure.getILabel ( )

Get node label

Returns
label

Implements grammarscope.iface.INode.

◆ getInComingNodes()

Map<BasicRelation, AGrammaticalStructure> grammarscope.artifacts.AGrammaticalStructure.getInComingNodes ( )

Get incoming nodes

Returns
incoming nodes

Implements grammarscope.iface.IGraph< N >.

◆ getIndex()

int grammarscope.artifacts.AGrammaticalStructure.getIndex ( )

Get index

Returns
index

Implements grammarscope.iface.ILabel.

◆ getLabel()

String grammarscope.artifacts.AGrammaticalStructure.getLabel ( )

Get label

Returns
label

◆ getLemma()

String grammarscope.artifacts.AGrammaticalStructure.getLemma ( )

Get lemma

Returns
lemma

Implements grammarscope.iface.ILabel.

◆ getNode()

AGrammaticalStructure grammarscope.artifacts.AGrammaticalStructure.getNode ( )

◆ getOutGoingNodes()

Map<BasicRelation, AGrammaticalStructure> grammarscope.artifacts.AGrammaticalStructure.getOutGoingNodes ( )

Get outgoing nodes

Returns
outgoing nodes

Implements grammarscope.iface.IGraph< N >.

◆ getScore()

Double grammarscope.artifacts.AGrammaticalStructure.getScore ( )

Get score

Returns
score

Implements grammarscope.iface.INode.

◆ getToken()

Token grammarscope.artifacts.AGrammaticalStructure.getToken ( )

Get token

Returns
token

◆ getValue()

String grammarscope.artifacts.AGrammaticalStructure.getValue ( )

Get value

Returns
value

Implements grammarscope.iface.ILabel.

◆ getWord()

String grammarscope.artifacts.AGrammaticalStructure.getWord ( )

Get word

Returns
word

Implements grammarscope.iface.ILabel.

◆ toString() [1/2]

String grammarscope.artifacts.AGrammaticalStructure.toString ( )

◆ toString() [2/2]

void grammarscope.artifacts.AGrammaticalStructure.toString ( final String  indent,
final StringBuffer  sb 
)
private

Member Data Documentation

◆ annotations

Map<String, String> grammarscope.artifacts.AGrammaticalStructure.annotations

Annotations

◆ dependents

Map<BasicRelation, AGrammaticalStructure> grammarscope.artifacts.AGrammaticalStructure.dependents

Links to dependents

◆ governors

Map<BasicRelation, AGrammaticalStructure> grammarscope.artifacts.AGrammaticalStructure.governors

Links to governors

◆ head

AGrammaticalStructure grammarscope.artifacts.AGrammaticalStructure.head

Head

◆ score

double grammarscope.artifacts.AGrammaticalStructure.score

Index

◆ serialVersionUID

final long grammarscope.artifacts.AGrammaticalStructure.serialVersionUID = -5875559775091994729L
staticprivate

◆ token

final Token grammarscope.artifacts.AGrammaticalStructure.token
private

Token

◆ value

final String grammarscope.artifacts.AGrammaticalStructure.value
protected

Value


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