Difference between revisions of "Archiphonemes"

From Apertium
Jump to navigation Jump to search
Line 5: Line 5:
 
* Archiphonemes should be declared in the <code>Multichar_Symbols</code> section in the header of the file after the grammatical tags, with a comment giving their possible forms.
 
* Archiphonemes should be declared in the <code>Multichar_Symbols</code> section in the header of the file after the grammatical tags, with a comment giving their possible forms.
 
* If the archiphoneme is subject to deletion, it should be written in lower case, e.g. <code>{s}</code>
 
* If the archiphoneme is subject to deletion, it should be written in lower case, e.g. <code>{s}</code>
* If the archiphoneme has a range of default surface forms (even if occasionally subject to deletion), it should be written in upper case, e.g. <code>{A}</code>
+
* If the archiphoneme has a range of default surface forms (even if rarely subject to deletion), it should be written in upper case, e.g. <code>{A}</code>
 
* If the archiphoneme is always deleted, it ''may'' consist of more than one character, e.g. <code>{dup}</code>. This is, however, advised against.
 
* If the archiphoneme is always deleted, it ''may'' consist of more than one character, e.g. <code>{dup}</code>. This is, however, advised against.
   

Revision as of 10:33, 31 January 2012

Standards for archiphonemes

  • Archiphonemes should be a single character.
  • Archiphonemes in lexc should be encased in { and }.
  • Archiphonemes should be declared in the Multichar_Symbols section in the header of the file after the grammatical tags, with a comment giving their possible forms.
  • If the archiphoneme is subject to deletion, it should be written in lower case, e.g. {s}
  • If the archiphoneme has a range of default surface forms (even if rarely subject to deletion), it should be written in upper case, e.g. {A}
  • If the archiphoneme is always deleted, it may consist of more than one character, e.g. {dup}. This is, however, advised against.