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.

The meta-variables in the above trees are summarised below:<br />

Placeholder Meaning Example<br />

Common noun UseN foot_N, UseN2 father_N2<br />

Polarity PPos, PNeg<br />

Subject i_Pron, youPl_Pron<br />

Clause (see above)<br />

Verb go_V<br />

Direct object pronoun i_Pron, youPl_Pron<br />

Indirect object pronoun i_Pron, youPl_Pron<br />

Noun phrase DetCN (DetQuant DefArt NumSg) (UseN door_N)<br />

Speed<br />

While the scripts are relatively straight<strong>for</strong>ward, the one <strong>for</strong> verbs in particular can take a considerable<br />

length of time to finish running. This happens simply because there so many trees<br />

need to be linearised by the <strong>grammar</strong>. Running the full-<strong>for</strong>m script on the four thous<strong>and</strong> verbs<br />

available in the collection yielded the following:<br />

time runghc word<strong>for</strong>ms.hs<br />

real<br />

user<br />

sys<br />

293m38.611s<br />

282m50.424s<br />

2m51.348s<br />

59

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

Saved successfully!

Ooh no, something went wrong!