Back to LanguageTool Homepage - Privacy - Imprint

A false tag about "run"


(Mility) #1

Hi Daniel,
Today I found a error about POS tag like below:
The hotel is run by his uncle.

Thanks,
Mility


(Daniel Naber) #2

The "disambiguator log" shows which rule this causes, maybe you can use this information to fix it?


(Mility) #3
    
<rule id="VBP_NN_VBZ_NN" name="have palm trees - palm is a noun">

            <pattern>
                <token regexp="yes" postag="VB[ZPG]?" postag_regexp="yes" inflected="yes">be|have</token>
                <marker>
                    <and>
                        <token postag="NN.*" postag_regexp="yes"><exception postag="JJ.*" postag_regexp="yes"></exception></token>
                        <token postag="VB[ZP]?" postag_regexp="yes"/>
                    </and>
                    <token postag="NN.*" postag_regexp="yes"><exception>by</exception></token>
                </marker>
            </pattern>
            <disambig><match no="2" postag="NN.*" postag_regexp="yes"></match></disambig>
        </rule>