SiteCfg

class ucca.convert.SiteCfg[source]

Bases: object

Contains static configuration for conversion to/from the site XML.

Attributes Summary

EdgeConversion
FALSE version of site XML scheme which self adheres to
SchemeVersion mapping of site XML tag attribute to layer1 edge tags.
TBD values for True/False in the site XML (strings)
TRUE
TagConversion mapping of layer1.EdgeTags to site XML tag attributes.

Attributes Documentation

EdgeConversion = {'A': 'Participant', 'C': 'Center', 'D': 'aDverbial', 'E': 'Elaborator', 'F': 'Function', 'G': 'Ground', 'H': 'Parallel Scene', 'L': 'Linker', 'N': 'Connector', 'P': 'Process', 'Q': 'Quantifier', 'R': 'Relator', 'S': 'State', 'T': 'Time'}
FALSE = 'false'

version of site XML scheme which self adheres to

SchemeVersion = '1.0.4'

mapping of site XML tag attribute to layer1 edge tags.

TBD = 'To Be Defined'

values for True/False in the site XML (strings)

TRUE = 'true'
TagConversion = {'Center': 'C', 'Connector': 'N', 'Elaborator': 'E', 'Function': 'F', 'Ground': 'G', 'Linked U': 'H', 'Linker': 'L', 'Parallel Scene': 'H', 'Participant': 'A', 'Process': 'P', 'Quantifier': 'Q', 'Relator': 'R', 'Role Marker': 'R', 'State': 'S', 'Time': 'T', 'aDverbial': 'D'}

mapping of layer1.EdgeTags to site XML tag attributes.