Back to LanguageTool Homepage - Privacy - Imprint

Strange false positive (owner of)


(Lukas Winkler) #1

Hi, I just came across an message by Languagetool that I have no idea how it happens:
(Using my python-cli, but it is also reproducable on the website)

➜  ~ echo "This needs to be signed by the owner of the House" | pylanguagetool
Use "(owner)" if you mean to express an extreme with this adjective.
  ✗ This needs to be signed by the owner of the House
                                   ^^^^^
  ✓ This needs to be signed by the (owner) of the House

Text checked by https://languagetool.mydomain.example/v2/ (LanguageTool 4.1)
➜  ~ echo "The owner of a test" | pylanguagetool
Use "(owner)" if you mean to express an extreme with this adjective.
  ✗ The owner of a test
        ^^^^^
  ✓ The (owner) of a test

Text checked by https://languagetool.mydomain.example/v2/ (LanguageTool 4.1)

Does anyone know why this happens or what goes wrong?

Many Thanks

Lukas


(Tiago F. Santos) #2

‘owner’ is tagged as a relative pronoun of own (own/JJR).

@Mike_Unwalla
Is there any non-archaic application of this word?


(Lukas Winkler) #3

Ah, I didn’t think of a comparative adjective.

The test is owner than test doesn’t show an error.

➜  ~ echo "The better of a test" | pylanguagetool 
Use "best" if you mean to express an extreme with this adjective.
  ✗ The better of a test
        ^^^^^^
  ✓ The best of a test

Text checked by https://languagetool.lw1.at/v2/ (LanguageTool 4.1)

But why the solution is adding brackets is still not clear to me.


(Tiago F. Santos) #4

It tries to find a JJS (superlative) for the own root, but there is none in the dictionary. As such, it adds the brackets. This is why I think it is OK to had owner to removed.txt
An alternative would be to not provide results, but this would be even harder to troubleshoot.


(Mike Unwalla) #5

No. Longman Dictionary of Contemporary English and Mirriam-Webster’s Collegiate dictionary show that the adjective ‘own’ is usually after a possessive (“I cooked my own dinner”). I didn’t find ‘owner’ as a comparative on https://corpus.byu.edu/iweb//

I removed the POS JJR from ‘owner’ (https://github.com/languagetool-org/languagetool/commit/ff3caba0dc9d4be934012b18cea031ea8d6cccfd).


(Lukas Winkler) #6

Hi,

The same issue just happened to me with another sentence:

This is in the folder of the test.

(Mike Unwalla) #7

Fixed ‘folder’ (https://github.com/languagetool-org/languagetool/commit/01b01289132d6c2cca409a2e5ae3a4c3f76fc9e9).