Current version of Ellogon has two notable differences with the GATE
platform. These are:
tip_GetAnnotation: This function under GATE returns the
Annotation as a list element. In order to get the real annotation must
enclose the call in a "lindex" command:
> set ann [lindex [tip_GetAnnotation $doc 0] 0]
> 0 token {{0 6}} {pos {GDM_STRING nnf}}
The same call under Ellogon will return the Annotation, without the extra layer.
The user does not have to use the "lindex" command in order to access the
Annotation:
> set ann [tip_GetAnnotation $doc 0]
> 0 token {{0 6}} {pos {GDM_STRING nnf}}
Ellogon can emulate the way GATE realises "tip_GetAnnotation":
Through the "Ellogon" Graphical User Interface (GUI): In the main
window, select "Options" from the "File" menu. In the options dialog that will
appear, select the "Gate" tab. Selecting the "Enable Full Gate Compatibility"
will force "tip_GetAnnotation" to behave in a way similar to GATE.
Through Ellogon API: The way "tip_GetAnnotation" behaves depends upon
the value of the global Tcl variable "CDM_FullGateCompatibility". (The GUI in
reality modifies the value of this variable.) If you want "tip_GetAnnotation"
to behave as in the GATE platform, set this variable to a value greater than
0. If this variable has as value the value 0, then "tip_GetAnnotation" will
behave as it is defined by the Ellogon platform.
tip_GetValue: This function under GATE returns the
value of the specified Attribute (and not its type):
Ellogon can emulate the way GATE realises "tip_GetValue":
Through the "Ellogon" Graphical User Interface (GUI): In the main
window, select "Options" from the "File" menu. In the options dialog that will
appear, select the "Gate" tab. Selecting the "Emulate Gate tip_GetValue"
will force "tip_GetValue" to behave in a way similar to GATE.
Through Ellogon API: The way "tip_GetValue" behaves depends upon
the value of the global Tcl variable "CDM_EmulateGateGetValue". (The GUI in
reality modifies the value of this variable.) If you want "tip_GetValue"
to behave as in the GATE platform, set this variable to a value greater than
0. If this variable has as value the value 0, then "tip_GetValue" will
behave as it is defined by the Ellogon platform.