Difference between revisions of "Speling format"

From Apertium
Jump to navigation Jump to search
m (fix example)
Line 32: Line 32:
   
 
The format is named after [http://www.speling.org speling.org] who collect full form lists for spell-checkers in several Germanic languages and Finnish.
 
The format is named after [http://www.speling.org speling.org] who collect full form lists for spell-checkers in several Germanic languages and Finnish.
  +
  +
==See also==
  +
  +
* [[Paradigm chopper]]
   
 
[[Category:Development]]
 
[[Category:Development]]

Revision as of 10:15, 24 July 2008

The Speling format is a way of representing "full form" vocabulary lists in a way that makes generating paradigms, and lemma-paradigm pairs for Apertium monodices easy. It is similar in principle to the "expanded" format of lttoolbox, but with the advantage that the part-of-speech is separated from the rest of the sub-categories/features.

The format is broadly organised as follows:

lemma; surface form; features; part-of-speech

So for example in English we might see some noun inflection represented as:

house; house; sg; n
house; houses; pl; n
computer; computer; sg; n
computer; computers; pl; n
bird; bird; sg; n
bird; birds; pl; n
wolf; wolf; sg; n
wolf; wolves; pl; n

Or in Spanish:

casa; casa; sg; n.f
casa; casas; pl; n.f

...

From lists such as these it is fairly straightforward in languages with basic inflectional morphology to generate paradigms, or alternatively to generate partial paradigms for languages with richer morphology.

The format is named after speling.org who collect full form lists for spell-checkers in several Germanic languages and Finnish.

See also