-
Notifications
You must be signed in to change notification settings - Fork 18
Modeling Generic Attributes
Jos Denys edited this page Jul 16, 2021
·
3 revisions
3 attributes have been added for generic use, generating a sentence attribute, and corresponding Path expansion :
The corresponding label definitions are as follows :
* ";;SGeneric1;typeAttribute;general attribute for generic use;0;;Entity(Generic1)"
* ";;SGeneric1Begin;typeAttribute;to begin the generic attribute span;0;;Path(Begin,Generic1)"
* ";;SGeneric1Stop;typeAttribute;to end the generic attribute span;0;;Path(End,Generic1)"
* ";;SGeneric2;typeAttribute;general attribute for generic use;0;;Entity(Generic2)"
* ";;SGeneric2Begin;typeAttribute;to begin the generic attribute span;0;;Path(Begin,Generic2)"
* ";;SGeneric2Stop;typeAttribute;to end the generic attribute span;0;;Path(End,Generic2)"
* ";;SGeneric3;typeAttribute;general attribute for generic use;0;;Entity(Generic3)"
* ";;SGeneric3Begin;typeAttribute;to begin the generic attribute span;0;;Path(Begin,Generic3)"
* ";;SGeneric3Stop;typeAttribute;to end the generic attribute span;0;;Path(End,Generic3)"
These new labels are auto-generated, no need to define them. The corresponding Phases are automatically deducted from the use in Rules.csv, with "1,$" being the basic phases.
3 corresponding User Dictionary labels are added
";1,$;UDGeneric1;typeAttribute;;0;"
";1,$;UDGeneric2;typeAttribute;;0;"
";1,$;UDGeneric3;typeAttribute;;0;"
The engine interface, both C++ and Python, has been adapted, in Python, their corresponding names are "Generic1", "Generic2", and "Generic3".