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

Public Member Functions

 Token (final int sentenceIndex, final int index, final String word, final String lemma, final Segment segment, final String tag, final String namedEntity, final String normalizedNamedEntity, final String sentiment, final String speaker, final Integer coreferenceIndex)
 
int hashCode ()
 
boolean equals (final Object object)
 
String getFid ()
 
String toLongString ()
 
String toString ()
 

Public Attributes

final int sentenceIndex
 
final int index
 
final String word
 
final String lemma
 
final Segment segment
 
final String tag
 
final String namedEntity
 
final String normalizedNamedEntity
 
final String sentiment
 
final String speaker
 
final Integer coreferenceIndex
 

Static Private Attributes

static final long serialVersionUID = 7429108774645625729L
 

Detailed Description

Token

Author
Bernard Bou

Constructor & Destructor Documentation

◆ Token()

grammarscope.server.iface.Token.Token ( final int  sentenceIndex,
final int  index,
final String  word,
final String  lemma,
final Segment  segment,
final String  tag,
final String  namedEntity,
final String  normalizedNamedEntity,
final String  sentiment,
final String  speaker,
final Integer  coreferenceIndex 
)

Constructor

Parameters
sentenceIndexsentence index
indexindex
wordword
lemmalemma
segmentsegment
tagtag (usually part-of-speech)
namedEntitynamed entity
coreferenceIndexcoreference chain index

Member Function Documentation

◆ equals()

boolean grammarscope.server.iface.Token.equals ( final Object  object)

◆ getFid()

String grammarscope.server.iface.Token.getFid ( )

Get full id

Returns
full id

◆ hashCode()

int grammarscope.server.iface.Token.hashCode ( )

◆ toLongString()

String grammarscope.server.iface.Token.toLongString ( )

To long string

Returns
long string

◆ toString()

String grammarscope.server.iface.Token.toString ( )

Member Data Documentation

◆ coreferenceIndex

final Integer grammarscope.server.iface.Token.coreferenceIndex

Coreference chain index

◆ index

final int grammarscope.server.iface.Token.index

Index in sentence

◆ lemma

final String grammarscope.server.iface.Token.lemma

Lemma

◆ namedEntity

final String grammarscope.server.iface.Token.namedEntity

Named entity

◆ normalizedNamedEntity

final String grammarscope.server.iface.Token.normalizedNamedEntity

Normalized Named entity

◆ segment

final Segment grammarscope.server.iface.Token.segment

◆ sentenceIndex

final int grammarscope.server.iface.Token.sentenceIndex

Sentence index

◆ sentiment

final String grammarscope.server.iface.Token.sentiment

Sentiment entity

◆ serialVersionUID

final long grammarscope.server.iface.Token.serialVersionUID = 7429108774645625729L
staticprivate

◆ speaker

final String grammarscope.server.iface.Token.speaker

Speaker entity

◆ tag

final String grammarscope.server.iface.Token.tag

Tag (usually part-of-speech)

◆ word

final String grammarscope.server.iface.Token.word

Word


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