26.12.2013 Views

A computational grammar and lexicon for Maltese

A computational grammar and lexicon for Maltese

A computational grammar and lexicon for Maltese

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

Verb : Type = {<br />

s : VForm => VerbStems ;<br />

i : VerbInfo ;<br />

hasPresPart : Bool ;<br />

hasPastPart : Bool ;<br />

} ;<br />

VerbStems : Type = {s1, s2, s3 : Str} ;<br />

param<br />

VForm = VPerf VAgr | VImpf VAgr | VImp Number | VActivePart GenNum | VPassivePart GenNum ;<br />

VAgr = AgP1 Number | AgP2 Number | AgP3Sg Gender | AgP3Pl ;<br />

where VerbInfo is a record type containing in<strong>for</strong>mation about verb class, radicals <strong>and</strong> derived<br />

<strong>for</strong>m number.<br />

The VForm parameter defines the different inflection <strong>for</strong>ms that a verb may have, covering<br />

the perfective <strong>and</strong> imperfective aspects <strong>and</strong> the imperative mood with corresponding subject<br />

agreement features. In addition to these, we also include in the verb table the present <strong>and</strong><br />

past participle <strong>for</strong>ms of the verb, which is common practice in the RGL. Since not all verbs<br />

have these participles, we also include the two boolean fields hasPresPart <strong>and</strong> hasPastPart to<br />

indicate their presence.<br />

Rather than having a table from VForm into a string, we instead use the record of strings Verb-<br />

Stems to contain the different stems that may be needed when the base verb <strong>for</strong>m has enclitic<br />

pronouns attached to it. For more in<strong>for</strong>mation about this, refer to section 2.3.3.<br />

Paradigms mkV is the smart paradigm <strong>for</strong> all non-derived verbs. This operator minimally<br />

takes the mamma <strong>for</strong>m of a verb <strong>and</strong> a root constructed with mkRoot in the case of root-<strong>and</strong>pattern<br />

verbs. The root class is determined <strong>and</strong> the correct paradigm is applied. If no root is<br />

specified as an argument, the verb is treated as a loan verb (with concatenative morphology).<br />

Vowel changes are often hard to determine, thus the singular imperative <strong>for</strong>m of a verb is often<br />

required as a third argument. For irregular verbs, we can take all 16 <strong>for</strong>ms (7 perfective, 7<br />

imperfective, 2 imperative) together with class, derived <strong>for</strong>m, root <strong>and</strong> vowel sequence. Verb<br />

participles are specified not in the mkV operator but by using the supplementary operators pres-<br />

PartV <strong>and</strong> pastPartV which add participles to already-constructed verbs. Derived verbs have<br />

their own set of paradigms, as they are treated as separate entries in the <strong>lexicon</strong>. Examples are<br />

given below:<br />

Explanation<br />

Geminate root-<strong>and</strong>-pattern verb<br />

Requiring an extra <strong>for</strong>m<br />

Loan verb<br />

Form II (derived) verb<br />

Constructor<br />

mkV "ħabb" (mkRoot "ħ-b-b")<br />

mkV "talab" "itlob" (mkRoot "t-l-b")<br />

mkV "pparkja"<br />

mkV_II "daħħal" (mkRoot "d-ħ-l")<br />

24

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!