|
| 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 () |
|
◆ 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
-
chain | coreference chain |
isRepresentative | whether this mention is representative |
sentenceIdx | sentence index |
headIdx | head index |
wordIndexSegment | word index segment |
segment | segment |
text | text span |
headSegment | head segment |
headToken | head token |
gender | gender |
number | number |
animacy | animacy |
◆ toString()
String grammarscope.server.iface.Coreferences.Mention.toString |
( |
| ) |
|
◆ animacy
final Animacy grammarscope.server.iface.Coreferences.Mention.animacy |
◆ chain
◆ gender
final Gender grammarscope.server.iface.Coreferences.Mention.gender |
◆ headIdx
final int grammarscope.server.iface.Coreferences.Mention.headIdx |
◆ headSegment
final Segment grammarscope.server.iface.Coreferences.Mention.headSegment |
◆ headToken
final String grammarscope.server.iface.Coreferences.Mention.headToken |
◆ 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 |
◆ sentenceIdx
final int grammarscope.server.iface.Coreferences.Mention.sentenceIdx |
◆ serialVersionUID
final long grammarscope.server.iface.Coreferences.Mention.serialVersionUID = 7950080841056775477L |
|
staticprivate |
◆ text
final String grammarscope.server.iface.Coreferences.Mention.text |
◆ wordIndexSegment
final WordIndexSegment grammarscope.server.iface.Coreferences.Mention.wordIndexSegment |
Mentions' word index segment
The documentation for this class was generated from the following file: