|
static Mention.Gender | convert (final Dictionaries.Gender value) |
|
static Mention.Number | convert (final Dictionaries.Number value) |
|
static Mention.Animacy | convert (final Dictionaries.Animacy value) |
|
Coreferences factory
- Author
- Bernard Bou
◆ CoreferencesFactory()
grammarscope.server.factory.CoreferencesFactory.CoreferencesFactory |
( |
| ) |
|
|
private |
◆ convert() [1/3]
static Mention.Animacy grammarscope.server.factory.CoreferencesFactory.convert |
( |
final Dictionaries.Animacy |
value | ) |
|
|
staticprivate |
Convert animacy to avoid dependencies on Stanford Library)
- Parameters
-
- Returns
- animacy value
◆ convert() [2/3]
static Mention.Gender grammarscope.server.factory.CoreferencesFactory.convert |
( |
final Dictionaries.Gender |
value | ) |
|
|
staticprivate |
Convert gender to avoid dependencies on Stanford Library)
- Parameters
-
- Returns
- gender value
◆ convert() [3/3]
static Mention.Number grammarscope.server.factory.CoreferencesFactory.convert |
( |
final Dictionaries.Number |
value | ) |
|
|
staticprivate |
Convert number to avoid dependencies on Stanford Library)
- Parameters
-
- Returns
- number value
◆ getCoreferences()
static Coreferences grammarscope.server.factory.CoreferencesFactory.getCoreferences |
( |
final Map< Integer, CorefChain > |
coreferenceChains, |
|
|
final Segmentation |
segmentation, |
|
|
final String |
text |
|
) |
| throws RuntimeException |
|
static |
Make coreferences
- Parameters
-
coreferenceChains | Stanford coreference chains |
segmentation | segmentation data |
text | text |
- Returns
- coreferences
- Exceptions
-
RuntimeException | exception |
The documentation for this class was generated from the following file: