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

Public Member Functions

 ACoreferences (final Coreferences coreferences)
 
Collection< CoreferenceChaingetChains ()
 
float getSeed (final CoreferenceChain chain)
 
String toString ()
 

Public Attributes

final Map< CoreferenceChain, Float > seeds
 

Private Attributes

final Coreferences coreferences
 

Static Private Attributes

static final long serialVersionUID = 1116408063618318212L
 
static final Random randomizer = new Random()
 

Detailed Description

Artifact containing coreference chains. This sis a decorator to coreference

Author
Bernard Bou

Constructor & Destructor Documentation

◆ ACoreferences()

grammarscope.artifacts.ACoreferences.ACoreferences ( final Coreferences  coreferences)

Constructor

Parameters
coreferencesraw coreference data

Member Function Documentation

◆ getChains()

Collection<CoreferenceChain> grammarscope.artifacts.ACoreferences.getChains ( )

Get coreference chains

Returns
coreference chains

◆ getSeed()

float grammarscope.artifacts.ACoreferences.getSeed ( final CoreferenceChain  chain)

Decorates chain

Parameters
chainchain
Returns
chain seed

◆ toString()

String grammarscope.artifacts.ACoreferences.toString ( )

Member Data Documentation

◆ coreferences

final Coreferences grammarscope.artifacts.ACoreferences.coreferences
private

Coreference chains

◆ randomizer

final Random grammarscope.artifacts.ACoreferences.randomizer = new Random()
staticprivate

Randomizer for seed

◆ seeds

final Map<CoreferenceChain, Float> grammarscope.artifacts.ACoreferences.seeds

[0,1] seed later used to define hue

◆ serialVersionUID

final long grammarscope.artifacts.ACoreferences.serialVersionUID = 1116408063618318212L
staticprivate

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