Difference between revisions of "List of symbols"

From Apertium
Jump to navigation Jump to search
Line 256: Line 256:
| <code><section> </code> || A section of the dictionary || In <code><dictionary></code>. Ex: <code><section id="main" type="standard"></code>
| <code><section> </code> || A section of the dictionary || In <code><dictionary></code>. Ex: <code><section id="main" type="standard"></code>
|-
|-
| <code>&lt;e> </code> || A dictinary entry (a word) || In <code><section></code>.
| <code>&lt;e></code> || A dictinary entry (a word) || In <code><section></code>.
|-
|-
| <code>&lt;p> </code> || A pair || In <code><e></code>.
| <code>&lt;p></code> || A pair || In <code><e></code>.
|-
|-
| <code>&lt;l></code> || Left side (surface form) || In <code><p></code>. Ex.: <code><l>beer</l></code>
| <code>&lt;l></code> || Left side (surface form) || In <code>&lt;p></code>. Ex.: <code><l>beer</l></code>
|-
|-
| <code>&lt;r></code> || Right side (lexical unit) || In <code><p></code>. Ex.: <code><r>beer<s n="noun"/><s n="singular"/></r></code>
| <code>&lt;r></code> || Right side (lexical unit) || In <code>&lt;p></code>. Ex.: <code><r>beer&lt;s n="noun"/>&lt;s n="singular"/></r></code>
|-
|-
| <code>&lt;s></code> || A lexical symbol (nount, adj..) || In <code><r></code>. Ex.: <code><s n="noun"/></code>
| <code>&lt;s></code> || A lexical symbol (nount, adj..) || In <code><r></code>. Ex.: <code><s n="noun"/></code>
|-
|-
| <code><pardefs> </code> || Paradigm definition (???) || In <code><dictionary></code>. Ex.: ??? TODO
| <code><pardefs></code> || Paradigm definition (???) || In <code><dictionary></code>. Ex.: ??? TODO
|-
|-
|}
|}

Revision as of 14:50, 25 August 2008

Eventually this will be a glossary of symbol names in alphabetical order with notes. Some of these names are specific to particular packages or language pairs, as not all languages have the same grammatical features (most don't have spatial distinction in articles for example).

Categories

Symbol Gloss Notes
n Noun see 'np' for proper noun
vblex Standard verb see also: vbser, vbhaver, vbmod, vaux
vbmod Modal verb
vbser Verb "to be" from ser (to be)
vbhaver Verb "to have" from haver (to have)
vaux Auxilliary verb
adj Adjective
adv Adverb
preadv Pre-adverb
det Determiner
prn Pronoun
pr Preposition
num Numeral
np Proper noun From nom propi
ij Interjection
cnjcoo Co-ordinating conjunction
cnjsub Sub-ordinating conjunction
cnjadv Conjunctive adverb

Sub-categories

Gender

Symbol Gloss Notes
f Feminine
m Masculine
nt Neuter
ut Common From utrum, found in Scandinavian languages.
mf Masculine , feminine This is used where the gender can be either masculine or feminine
un Common, neuter As above, only common or neuter
GD Gender to be determined

Number

Symbol Gloss Notes
sg Singular
pl Plural
du Dual
sp Singular , plural
ND Number to be determined

Case

Symbol Gloss Notes
nom Nominative
acc Accusative
dat Dative
gen Genitive
voc Vocative
ins Instrumental
loc Locative
abl Ablative
cpr Prepositional

Tense and mood

Symbol Gloss Notes
pres Present
past Past
imp Imperative
inf Infinitive
pp Past participle
ger Gerund
pri Present indicative see also: pres
pii Imperfect from Pretério imperfecto de indicativo
fti Future indicative
cni Conditional
prs Present subjunctive
pis Imperfect subjunctive
ifi from Pretério perfecto o indefinido
aff Affirmative
itg Interrogative
neg Negative

Proper nouns

Symbol Gloss Notes
ant Anthroponym
top Toponym In some language pairs without the locative case this may be loc. Although this should be changed.
hyd Hydronym
cog Cognomen In normal use, surnames
org Organisation
al Altres Other, misc.

Person

Symbol Gloss Notes
p1 First person
p2 Second person
p3 Third person

Adjectives

Symbol Gloss Notes
sint Synthetic
pve Positive
comp Comparative
sup Superlative
attr Attributive
pred Predicative

    <sdef n="impers"  c="Impersonal"/>
 
    <sdef n="tn"      c="Tonico"/>


    <sdef n="detnt"   c="Neuter determiner"/>
    <sdef n="predet"  c="Pre determiner"/>
    <sdef n="atn"/>
    <sdef n="qnt"     c="Quantifier"/>
    <sdef n="ord"     c="Ordinal"/>
    <sdef n="obj"     c="Object"/>
    <sdef n="subj"    c="Subject"/>
    <sdef n="pro"     c="Proclitic"/>
    <sdef n="enc"     c="Enclitic"/>

    <sdef n="acr"     c="Acronym"/>

    <sdef n="rel"     c="Relative"/>
    <sdef n="nn"      c=""/>
    <sdef n="an"      c=""/>
    <sdef n="aa"      c=""/>
    <sdef n="ind"     c="Indefinite"/>    
    <sdef n="itg"     c="Interrogative"/>
    <sdef n="dem"     c="Demonstrative"/>
    <sdef n="def"     c="Definite"/>
    <sdef n="pos"     c="Possessive"/>
    <sdef n="ref"     c="Reflexive"/>



    <sdef n="ind"     c="Indefinite"/>    
    <sdef n="def"     c="Definite"/>
    <sdef n="prx"     c="Proximate"/>
    <sdef n="dst"     c="Distal"/>


XML tags

XML tag Means Appeas in XML tags / notes / examples
<dictionary> Mono- or bilingual dictionary In files apertium-eo-en.en.dix, apertium-eo-en.eo-en.dix, apertium-eo-en.post-en.dix, apertium-eo-en.post-eo.dix
<alphabet> Set of characters in the language In <dictionary>
<sdefs> Symbol definitions In <dictionary>
<sdef> Symbol definition In <sdefs>. Ex: <sdef n="noun"/>
<section> A section of the dictionary In <dictionary>. Ex: <section id="main" type="standard">
<e> A dictinary entry (a word) In <section>.
<p> A pair In <e>.
<l> Left side (surface form) In <p>. Ex.: <l>beer</l>
<r> Right side (lexical unit) In <p>. Ex.: <r>beer<s n="noun"/><s n="singular"/></r>
<s> A lexical symbol (nount, adj..) In <r>. Ex.:
<pardefs> Paradigm definition (???) In <dictionary>. Ex.: ??? TODO

TODO: Probably there are more. --Jacob Nordfalk 14:47, 25 August 2008 (UTC)