zondag 6 december 2009

JavaDB for Dutch Text Interpretation Aid

Finally, I found some time to develop a JavaDB database to store the contents of the Dutch Text Interpretation Aid.

I believe this is important, because a database is better scalable than plain text files to store and retrieve information. The database also allows collaboration by making use of time stamps and user information. I plan to distribute the software tool to interested users who may contribute to, and make use of, the shared database.

Including all word forms for Dutch takes a huge amount of time and energy. Dutch is after all a highly inflected language. By dividing the work over many users, I hope that the benefits will outnumber the costs.

Currently, the tool recognises about 90% of the words in a news article. About 2% of the missing words are proper nouns (see the figure below).

vrijdag 18 september 2009

Gold Standard for Dutch Lemmatizer

I already use the Dutch Text Interpretation Aid to expand the Dutch lexicon and to improve the Dutch lemmatizer. Therefore, I included a gold standard inside the software tool. Each time, a lemma is added, a gold standard entry will be added that includes the lexical category, the word, and the lemma.

Afterwards, this gold standard may be used to verify the lemmatizer.

zondag 13 september 2009

Dutch Text Interpretation Aid 5

It is now possible to add adjectives, adverbs, nouns, proper nouns, verbs, and other word types in the Dutch Text Interpretation Aid. The procedure is very simple:
1. Paste a text into the text pane.
Words that are not yet recognized will be underlined red. If such unknown word starts with a capital letter, the word will be underlined orange. Usually these words are proper nouns.
2. Select a word that is underlined and activate the popup menu (left mouse button released).
Choose the proper lexical category (adjective, adverb, noun, proper noun, verb, or other) from the popup menu.



3. Check or edit the word properties (i.e. lemma or verb conjugation) in the specific dialog window.
3.a. For proper nouns the following window is displayed.



3.b. For verbs the following window is displayed.



3.c. For adjectives, adverbs, nouns, and other word types the following window is displayed.



The following tasks are now on my to do list:
1. Store the information into a database instead of in the current text files.
Now some lemmas and the corresponding dictionary information are being repeated in several text files. For example the lemma groot appears both as an adverb and as an adjective.
2. Add functionality to update the dictionary information in the Dutch Text Interpretation Aid.
3. Add help information.

zaterdag 29 augustus 2009

Dutch Text Interpretation Aid 4

Today I added support for nouns and other lexical categories in the Dutch Text Interpretation Aid software tool. I downloaded lists of adjectives, adverbs, conjunctions, nouns, prepositions, and pronouns available at www.muiswerk.nl. Then I used some software routines to retrieve dictionary information for the lemmas, if available on Wiktionary. As you can see in the following screenshot a lot of words are now being recognised. To futher expand the lexicon, I will develop functionality to add lemmas (with conjugation information for verbs), and to manage the lemmatization rules within the software tool.


woensdag 19 augustus 2009

Dutch Text Interpretation Aid 3

Today I wrote a small software tool that retrieves dictionary information from Wiktionary. This technique is often called screen scraping since it involves scraping information from the screen (Internet browser).
Most of the verb lemmas recognized by the Dutch verb lemmatizer are already described on Wiktionary. This dictionary information could thus be added to the electronic dictionary used in the Dutch Text Interpretation Aid software tool. Dictionary entries for verb lemmas that currently do not exist, I will add manualy later on.



Next, I will add dictionary entries for nouns and other lexical categories.

zondag 16 augustus 2009

Dutch Text Interpretation Aid 2

The software tool, called Dutch Text Interpretation Aid, is now linked to an electronic dictionary.

Any text can be pasted into the text pane. The tool will analyze the words in the text and check whether a lemma can be found. If a lemma could be found, information about the lemma is looked up in the electronic dictionary. If a dictionary entry was found, the word is underlined in green. If a lemma was found but no dictionary entry, the word is underlined orange.

While hovering the mouse over the text, the text field at the bottom displays information about the word under the mouse pointer, i.e. lemma and dictionary information.



Currently, only the Dutch verb lemmatizer is used for lemmatisation. As you can see few verbs have already a dictionary entry. So a lot of work is still to be done.

dinsdag 11 augustus 2009

Dutch Text Interpretation Aid

As mentioned in my previous post, I wanted to develop a Dutch tokenizer that could be used to identify words in a Dutch text. A word could than be fed to a Dutch lemmatizer to find the lemma of the word. Using the lemma, dictionary information about the selected word might be found.

However, while I investigated the possibilities for such Dutch tokenizer, I found out that there exist two Java functions, i.e. Utilities.getWordStart() and Utilities.getWordEnd(), that may be used to identify a word in a text. Therefore, I decided to use these utilities instead of developing a tokenizer of my own.

The following screenshot displays a prototype of the Dutch text interpretation aid I want to develop. Any text can be pasted into the text pane. While hovering the mouse over the text, the text field at the bottom should display information about the word under the mouse pointer.



Next, I will link an electronic dictionary to the tool to provide the necessary dictionary information.