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

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

Figure 3.3: Searching <strong>for</strong> a word<strong>for</strong>m by substring in the computation <strong>lexicon</strong><br />

restriction; the database engine itself allows any regex query to be run. Any search term given<br />

is looked <strong>for</strong> in all the word<strong>for</strong>ms in the system, or optionally in the English glosses if one one<br />

wishes to use the <strong>lexicon</strong> <strong>for</strong> translation.<br />

Feedback As mistakes may be made during the importation or automatic inflection processes,<br />

it is useful to include a system <strong>for</strong> users to report any errata or omissions they may come across.<br />

All word<strong>for</strong>ms displayed in the web application are accompanied with a small icon which can<br />

be clicked to instantly report an entry as incorrect. These reports can then be checked manually<br />

<strong>and</strong> corrected as necessary. Word<strong>for</strong>ms already marked as incorrect <strong>and</strong> pending review are<br />

marked in red, as shown in figure 3.4.<br />

Apart from reporting errors, the application also includes a system <strong>for</strong> users to suggest new<br />

additions to the collection. This option shows up when somebody searches <strong>for</strong> a term which<br />

produces no results. Submissions are also placed in a moderation queue which must be checked<br />

manually by the maintainers.<br />

3.2.3 Web service<br />

Apart from a user interface, this web application also includes a web service to facilitate accessing<br />

the resource from from other scripts/applications. The response <strong>for</strong>mat can be either JSON<br />

or XML. The API <strong>for</strong> the web service is still considered as beta <strong>and</strong> will likely change if/when<br />

the web service begins to be used by other developers.<br />

3.2.4 Issues<br />

Loading data<br />

Even with no joins, loading large amounts of data can sometimes be slow, especially over a<br />

network. To improve the user experience, the loading of data is often per<strong>for</strong>med asynchronously<br />

within the application. This does not decrease the total amount of time required (it may<br />

54

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

Saved successfully!

Ooh no, something went wrong!