close
Warning:
Can't synchronize with repository "(default)" (/usr/local/svn/deb2-client does not appear to be a Subversion repository.). Look in the Trac log for more information.
- Timestamp:
-
Dec 8, 2008, 2:16:41 PM (17 years ago)
- Author:
-
Adam
- Comment:
-
--
Legend:
- Unmodified
- Added
- Removed
- Modified
-
v1
|
v1
|
|
| 1 | = !VisDic XML format = |
| 2 | |
| 3 | XML files in !VisDic consist of tags and their values. Value of the TAG tag is enclosed in strings <TAG> and </TAG>. Tags can be nested, which means that each tag can contain another tag. White characters like spaces, tabs and new-lines at the start or at the end of each tag value are trimmed. However, XML files parsed by !VisDic are quite different from the common ones in these points: |
| 4 | |
| 5 | * XML dictionaries contain entries. Each entry is in fact represented by one small XML file. There is no tag enclosing the whole dictionary. |
| 6 | * XML tag has no attributes. |
| 7 | |
| 8 | Example of one Wordnet synset: |
| 9 | {{{ |
| 10 | #!xml |
| 11 | <SYNSET> |
| 12 | <ID>ENG21-00001740-n</ID> |
| 13 | <POS>n</POS> |
| 14 | <SYNONYM> |
| 15 | <LITERAL>entity<SENSE>1</SENSE></LITERAL> |
| 16 | </SYNONYM> |
| 17 | <DEF>that which is perceived or known or inferred to have its own distinct existence (living or nonliving)</DEF> |
| 18 | <BCS>2</BCS> |
| 19 | <DOMAIN>factotum</DOMAIN> |
| 20 | </SYNSET> |
| 21 | }}} |