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

Classes

enum  Animacy
 
enum  Gender
 
enum  Number
 
class  WordIndexSegment
 

Public Member Functions

 Mention (final CoreferenceChain chain, final boolean isRepresentative, final int sentenceIdx, final int headIdx, final WordIndexSegment wordIndexSegment, final Segment segment, final String text, final Segment headSegment, final String headToken, final Gender gender, final Number number, final Animacy animacy)
 
String toString ()
 

Public Attributes

final boolean isRepresentative
 
final int sentenceIdx
 
final int headIdx
 
final WordIndexSegment wordIndexSegment
 
final Segment segment
 
final String text
 
final Segment headSegment
 
final String headToken
 
final CoreferenceChain chain
 
final Gender gender
 
final Animacy animacy
 
final Number number
 

Static Private Attributes

static final long serialVersionUID = 7950080841056775477L
 

Detailed Description

Mention

Constructor & Destructor Documentation

◆ Mention()

grammarscope.server.iface.Coreferences.Mention.Mention ( final CoreferenceChain  chain,
final boolean  isRepresentative,
final int  sentenceIdx,
final int  headIdx,
final WordIndexSegment  wordIndexSegment,
final Segment  segment,
final String  text,
final Segment  headSegment,
final String  headToken,
final Gender  gender,
final Number  number,
final Animacy  animacy 
)

Constructor

Parameters
chaincoreference chain
isRepresentativewhether this mention is representative
sentenceIdxsentence index
headIdxhead index
wordIndexSegmentword index segment
segmentsegment
texttext span
headSegmenthead segment
headTokenhead token
gendergender
numbernumber
animacyanimacy

Member Function Documentation

◆ toString()

String grammarscope.server.iface.Coreferences.Mention.toString ( )

Member Data Documentation

◆ animacy

final Animacy grammarscope.server.iface.Coreferences.Mention.animacy

◆ chain

final CoreferenceChain grammarscope.server.iface.Coreferences.Mention.chain

Mention's chain

◆ gender

final Gender grammarscope.server.iface.Coreferences.Mention.gender

◆ headIdx

final int grammarscope.server.iface.Coreferences.Mention.headIdx

Mention's head index

◆ headSegment

final Segment grammarscope.server.iface.Coreferences.Mention.headSegment

Mention's head segment

◆ headToken

final String grammarscope.server.iface.Coreferences.Mention.headToken

Mention's head token

◆ isRepresentative

final boolean grammarscope.server.iface.Coreferences.Mention.isRepresentative

Whether this mention is representative in chain

◆ number

final Number grammarscope.server.iface.Coreferences.Mention.number

◆ segment

final Segment grammarscope.server.iface.Coreferences.Mention.segment

Mention's segment

◆ sentenceIdx

final int grammarscope.server.iface.Coreferences.Mention.sentenceIdx

Mention's sentence index

◆ serialVersionUID

final long grammarscope.server.iface.Coreferences.Mention.serialVersionUID = 7950080841056775477L
staticprivate

◆ text

final String grammarscope.server.iface.Coreferences.Mention.text

Mention's span

◆ wordIndexSegment

final WordIndexSegment grammarscope.server.iface.Coreferences.Mention.wordIndexSegment

Mentions' word index segment


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