Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Additional suggestion for IVE_I_HAVE_AMERICAN_STYLE rule #10610

Open
shaedrich opened this issue May 24, 2024 · 0 comments
Open

Additional suggestion for IVE_I_HAVE_AMERICAN_STYLE rule #10610

shaedrich opened this issue May 24, 2024 · 0 comments
Labels

Comments

@shaedrich
Copy link

shaedrich commented May 24, 2024

grafik

<rule id="IVE_I_HAVE_AMERICAN_STYLE" name="I've (I have) two tickets to see the Dodgers tonight">
<antipattern>
<token>'ve</token>
<token>at</token>
<token>least</token>
<token postag="VBN" />
<example>Until now, everything that's come out I've at least heard of or had some idea of what they were from the company's filings or discussions.</example>
</antipattern>
<antipattern>
<token skip="1">'ve</token>
<token postag="VBN" />
<example>I've fact checked the IM and have a couple of questions for you and some language suggestions.</example>
<example>I've hand selected these 10 matches below with you in mind.</example>
</antipattern>
<antipattern>
<token>'ve</token>
<token regexp="yes" postag="NN:UN">.+e</token> <!-- because they're not tagged as VB -->
<example>I've place electronic copies of the Desert Sky warranty agreement on the service2 network under the TSA_and_aggreement folder for Desert Sky.</example>
<example>In addition, I've note "Other Risks/Opportunities" for the quarter that could have significant impacts on our ultimate results.</example>
<example>I've place another call into David and let him know that the information we received included most points except for Tomcat.</example>
<example>As I am sure you've notice, this is not a textbook.</example>
</antipattern>
<antipattern>
<token>'ve</token>
<token min="0" postag="DT" />
<token min="0" postag="J.*|RB" postag_regexp="yes" />
<token postag="VBN" />
<example>I've clean forgotten.</example>
<example>You've all underestimated Tom.</example>
<example>I've already seen it.</example>
</antipattern>
<pattern>
<marker>
<token regexp="yes">I|you|we|they</token>
<token>'ve</token>
</marker>
<token chunk_re="B-NP.*" />
<token><exception>'d</exception></token>
</pattern>
<message>In American English, "\1" and "have" do not usually form a contraction unless they're followed by a past participle.</message>
<suggestion>\1 have</suggestion>
<url>https://languagetool.org/insights/post/grammar-contractions/</url>
<example correction="I have"><marker>I've</marker> two tickets to see the Dodgers tonight.</example>
<example correction="you have">I've got more pounds to my name than <marker>you've</marker> hairs on your head.</example>
<example correction="We have"><marker>We've</marker> a lot to thank Tom for.</example>
<example correction="they have">Seeing as they're poor, <marker>they've</marker> no choice but to work their hardest.</example>
<example>Off photos he took we've ID'd six possible locations for Blankfein's safe house.</example>
</rule>

I would like to have the additional option "We've got" for said rule:

<suggestion>\1\2 got</suggestion> 
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants