Posts tonen met het label verb conjugation. Alle posts tonen
Posts tonen met het label verb conjugation. Alle posts tonen

woensdag 11 april 2012

English terminography

Sirius Computing has improved the Sirius English Text Analyser with terminography support. Terminological information is of course necessary for a software tool to understand natural language. Compiling the required terminological information into a format that the computer understands is however a very big task. Therefore, the Sirius English Text Analyser tries to make it easy for terminographers to compile such term base.


We are now using e-books to teach the English Text Analyser terminology. When we paste a text (fragment) into the software tool the English Text Analyser displays the words (tokens) that it does not yet know. The terminographer should then assign the appropriate lexical category to the word lemma. The English Text Analyser uses built-in morphological rules to assist the terminographer. For example, if a word ends with -ly, the software tool automatically marks the word as an adverb. If a word ends with -ed or -ing the Text Analyser wil select the lexical category 'Verb'. Default, the lexical category 'Noun' is selected.
If the terminographer selects the lexical category 'Proper noun', the proposed word lemma will be the original word.
The software tool already tries to propose the most likely word lemma based on morphological analysis. For example, if a word ends on -s or -es, the proposed word lemma will drop the -s or -es. Of course, the terminographer can easily change the word lemma.
In some cases, we also add other word forms as terms. The word 'children', for example, should be added as a term. Otherwise, the software tool would not be able to recognize the word. Via the Terminology tab, a term may be marked as plural and the root form (lemma) could be specified. Similarly, the term 'further' should be added to the database. This term could then be marked as a comparative of the root form 'far' via the Terminology tab.


For a verb, the terminographer should specify the verb conjugation information. However, when the terminographer selects the lexical category 'Verb', the software tool automatically proposes verb conjugation information based on morphology.

By pressing the button 'Add lemma', only the word lemma is added to the database and the next token will be selected for terminography. A lemma does not hold any further linguistic information.
To include the lexical category (and possibly verb conjugation), the terminographer should press the button 'Add term'. This will add the word as a term. If desired, the terminographer may specify the meaning of the term with a second disambiguating term. For example, to add the term 'fly' as an insect instead of a zipper, the terminographer could add the disambiguating term 'insect' behind {.

Conclusion: The Sirius English Text Analyser makes it easier than ever to teach the computer English vocabulary and terminology.
Hopefully, I will be able to describe how we deal with other linguistic information such as grammar and phraseology soon.

zondag 2 augustus 2009

Dutch Verb Conjugation 3

As described in my previous post, I am developing a Dutch verb conjugator that generates verb forms for the simple present and simple past based on basic verb information, e.g. aandrijven - dreef aan - heeft aangedreven.

The software is currently able to conjugate all regular verbs (available at www.muiswerk.nl).

I also added functionality to correct and save verb information. This is necessary because Dutch has quite a few irregular verbs, i.e. verbs for which it is impossible to derive all conjugated forms.



For example, the verb aankunnen is described with the following basic information:
aankunnen - kon aan - heeft aangekund

The conjugation of the verb for the simple present is:
1st person, singular: kan aan
2th person, singular: kan aan
3th person, singular: kan aan
1st person, plural: kunnen aan
2th person, plural: kunnen aan
3th person, plural: kunnen aan

The conjugation of the verb for the simple past is:
1st person, singular: kon aan
2th person, singular: kon aan
3th person, singular: kon aan
1st person, plural: konden aan
2th person, plural: konden aan
3th person, plural: konden aan

This example shows that the conjugation of the simple present and simple past of the verb aankunnen does not follow the normal conjugation rules.

Currently, I am correcting and saving the conjugated forms for the verbs available at www.muiswerk.nl. Once that is done, I will develop the Dutch verb lemmatizer.

vrijdag 31 juli 2009

Dutch Verb Conjugation 2

As described in my previous post, I am developing a Dutch verb conjugator that generates verb forms for the simple present and simple past based on basic verb information, e.g. aandrijven - dreef aan - heeft aangedreven.

The software is currently able to conjugate all regular verbs (available at www.muiswerk.nl).

To identify the stem of certain verbs, like aarzelen, correctly, it was necessary to maintain a list of valid stems. Initially, the proposed stem would be aarzeelen by doubling the e.



Most other problems were caused by borrowed verbs from English. For example the verb uploaden initially generated the stem uploaad by doubling the a. For the verb relaxen, I extended the rule to find wether it is a T-verb or a D-verb from 't kofschip into 't ex-kofschip.

Currently, I try to improve the software so that it can also conjugate irregular verbs. As could be expected this requires some extra coding.

maandag 27 juli 2009

Dutch Verb Conjugation

As explained in my previous post, I try to develop a rule-based Dutch Verb Lemmatizer.
To capture all the necessary verb information and lemmatization rules I am developing a verb conjugator first.
Once I can conjugate all Dutch verbs, I should also have the information to calculate the lemma of a given verb form.
It seems that I should only calculate the simple present and the simple past, since all other tenses are a combination of the infinitive and the past participle with other verbs.
For the conjugation rules, I found good reference material at www.dutchgrammar.com.



So far, everything works fine. I'm checking the output of the Conjugator and when necessary do some additional coding to handle exceptions. For example, when the stem ends on t, no extra t should be added etc.

Will be continued...

zaterdag 25 juli 2009

Dutch Verb Lemmatization

Today I started a project to build a lemmatization tool for Dutch verbs.

Most other lemmatization tools rely heavily on statistical techniques. Rules that are automatically generated are, however, very obscure to humans.
Because I would like that humans could easily improve the lemmatizer and learn from the rules, I will use manually crafted lemmatization rules.

An idea is also that the lemmatizer could learn from the same didactic material we humans use. Such material I found on the website www.muiswerk.nl. They have for example verb information in the following text format:
aaien - aaide - heeft geaaid
aanbesteden - besteedde aan - heeft aanbesteed
aanduiden - duidde aan - heeft aangeduid
aanklagen - klaagde aan - heeft aangeklaagd
aankleden - kleedde aan - heeft aangekleed
aankondigen - kondigde aan - heeft aangekondigd
aanleggen - legde aan - heeft aangelegd

As a start I structured this information according to the different rules for verb conjugation we humans would use. For example:
(affix+)stem+en - stem+de( affix) - heeft (affix+)ge+stem(+d)
(affix+)stem+en - stem+te( affix) - heeft (affix+)ge+stem(+t)


Currently, I am developing a software tool that can import the verb information based on the verb conjugation rules.



This proves harder than I thought because the stem itself may change. For example in the verb aanbesteden the stem appears as bested and in the verb aanleggen it appears as legg.

Further development will thus be necessary!