Back to LanguageTool Homepage - Privacy - Imprint

German Language: How does language determine genus?


(Peter Funk) #1

I hope english is the correct languge for posting here.

Consider the following wrong german sentence:
Ich habe eine Termin.
The word "Termin" has genus masculin, which is hard
to remeber especially for people from Spain, because in
Español (Spanish) words ending with "in" are usually feminin.
So the correct sentence would be:
Ich habe einen Termin.
I've an employee from spain working here in Germany and he
tried languagetool 2.1 today and he was a little disappointed
to see, that this kind of error was not discovered by languagetool.
On the other hand he is good Java programmer and might be
able to contribute something if pointed in the right direction.

Best regards, Peter.


(Daniel Naber) #2

Am 23.05.2013 19:30, schrieb Peter Funk [via LanguageTool User Forum]:

I hope english is the correct languge for posting here.

Welcome - you can also post in German if you want.

I've an employee from spain working here in Germany and he
tried languagetool 2.1 today and he was a little disappointed
to see, that this kind of error was not discovered by languagetool.

It should be detected - how exactly did the user test it? If I copy
"Ich habe eine Termin." into the form at http://www.languagetool.org/de/
and press the button, the error is found. LanguageTool doesn't provide a
correction, but it detects the error.

Regards
Daniel

--
http://www.danielnaber.de


(Peter Funk) #3

We did two tests: First using LanguageTool 2.1 embedded called from LibreOffice writer 4.0.x under
Ubuntu 12.04 LTS and afterwards with the Java standalone application. Sorry: Since I didn't install it on his work station I can't give more details in the moment. Any hints how to proceed? Is there any dictionary file used by LanguageTool to determine the genus of german nouns? May this file is simply missing in his installation?

Liebe Grüße, Peter Funk


(Daniel Naber) #4

Am 24.05.2013 06:45, schrieb Peter Funk [via LanguageTool User Forum]:

We did two tests: First using LanguageTool 2.1 embedded called from
LibreOffice writer 4.0.x under
Ubuntu 12.04 LTS and afterwards with the Java standalone application.

For LibreOffice, please see http://www.languagetool.org/issues/ to
avoid the common pitfalls. For stand-alone use: are other errors
detected, for example those at http://languagetool.org/de/?

If the file with the gender information (german.dict) was missing, the
application would probably crash, so that shouldn't be the problem.

Regards
Daniel

--
http://www.danielnaber.de


(Peter Funk) #5

I'm sorry for the confusion. The error in the sentence
Ich habe eine Termin.
is indeed detected just fine. However, if the sentence is:
Ich habe einem Termin.
instead of
Ich habe einen Termin.
this typing error goes undetected. Yesterday I posted this
from memory when I got home from work. I should have
verified my claim before posting. I hope you accept my apology.

Best regards, Peter.


(Daniel Naber) #6

Am 24.05.2013 09:38, schrieb Peter Funk [via LanguageTool User Forum]:

is indeed detected just fine. However, if the sentence is:
Ich habe eineM Termin.
instead of
Ich habe eineN Termin.
this typing error goes undetected.

Yes, that's because checking works rather locally (doesn't consider the
complete sentence) and a sentence like "Ich habe einem Termin
beigewohnt." would be okay. Detecting this is not trivial and more on
the long-term TODO list.

Regards
Daniel

--
http://www.danielnaber.de