![]() |
GrammarScope
4.0.0
|
Public Member Functions | |
GrammaticalRelationData (final String name, final String shortName, final String longName, final String parent, final String sourcePatternString, final String[] targetPatternStrings, final String description, final String[][] codedExamples) | |
Static Public Member Functions | |
static GrammaticalRelationData[] | getData (final Language language) |
static Map< String, GrammaticalRelationData > | getDataMap (final Language language) |
static GrammaticalRelationData | getRelationData (final BasicRelation relation) |
Public Attributes | |
final String | name |
final String | shortName |
final String | longName |
final String | parent |
final String | sourcePattern |
final String[] | targetPatterns |
final String | description |
final String[][] | codedExamples |
Grammatical relation data
grammarscope.data.GrammaticalRelationData.GrammaticalRelationData | ( | final String | name, |
final String | shortName, | ||
final String | longName, | ||
final String | parent, | ||
final String | sourcePatternString, | ||
final String[] | targetPatternStrings, | ||
final String | description, | ||
final String | codedExamples[][] | ||
) |
Constructor
name | name |
shortName | short name |
longName | long name |
parent | parent relation |
sourcePatternString | uncompiled source pattern |
targetPatternStrings | uncompiled target patterns |
description | description |
codedExamples | examples |
|
static |
Get language data
language | language |
|
static |
Get language relation-mapped data
language | language |
|
static |
Get language data for relation
relation | relation |
final String [][] grammarscope.data.GrammaticalRelationData.codedExamples |
Example, the way the relation in the example is formalized. E.g. pred((Reagan,died) pairs
final String grammarscope.data.GrammaticalRelationData.description |
Description
final String grammarscope.data.GrammaticalRelationData.longName |
Long name
final String grammarscope.data.GrammaticalRelationData.name |
Name
final String grammarscope.data.GrammaticalRelationData.parent |
Parent name
final String grammarscope.data.GrammaticalRelationData.shortName |
Short name
final String grammarscope.data.GrammaticalRelationData.sourcePattern |
Source pattern
final String [] grammarscope.data.GrammaticalRelationData.targetPatterns |
Target patterns