Back to LanguageTool Homepage - Privacy - Imprint

[en] English collocation rules to contribute to LT


(Nicholas Walker) #1

I would like to offer 233 collocation error detection rules. Some of them are based on the errors listed in this document: PDF of common collocation errors

The rules do not follow the usual conventions of LT's XML code in that they are missing some of the usual tags (example, short, url, etc.). I am lazy that way. I hope you will accept them anyway. I will post them in chunks as this forum stops me from posting them all at once.

<rulegroup id="COLLOCATION_ERRORS_1" name="Common errors">

    <rule>
	<!--  You can apply to welfare. -->
	<pattern>
		<token  inflected="yes">apply</token> 
		<marker>
			<token>to</token>
		</marker>
		<token regexp="yes">assistance|welfare|funds|membership</token> 
	</pattern>
	<message>You can apply to a company or university, but you apply for \4. Revise: <suggestion>\1 for \3</suggestion>.</message>
	<short>Collocation error</short>

</rule>


<rule>
	<!--  You can apply to the job online. -->
	<pattern>
		<token  inflected="yes">apply</token> 
		<marker>
			<token>to</token>
		</marker>
		<token postag="DT"/> 
		<token regexp="yes">job|welfare|funds|membership</token> 
	</pattern>
	<message>You can apply to a company or university, but you apply for a \4. Revise: <suggestion>\1 for \3 \4</suggestion>.</message>
	<short>Collocation error</short>

</rule>


<rule>
	<!--  You can apply to more assistance. -->
	<pattern>
		<token  inflected="yes">apply</token> 
		<marker>
			<token>to</token>
		</marker>
		<token>more</token> 
		<token regexp="yes">work|welfare|funds|help|assistance</token> 
	</pattern>
	<message>You can apply to a company or university, but you apply for more \4. Revise: <suggestion>\1 for \3 \4</suggestion>.</message>
	<short>Collocation error</short>

</rule>

<rule>
	<!--  You try and apply for another University !-->
	<pattern>
		<token  inflected="yes">apply</token> 
		<marker>
			<token>for</token>
		</marker>
		<token postag_regexp="yes" postag="PRP\$|DT"/> 
		<token regexp="yes">company|university|college|school</token> 
	</pattern>
	<message>You can apply for a job or welfare, but you apply to a \4. Revise: <suggestion>\1 to \3 \4</suggestion>.</message>
	<short>Collocation error</short>

</rule>

<rule>
	<!--  At lunch, I eat with my colleague working or I eat in my desk alone.-->
	<pattern>
		<token postag_regexp="yes" postag="PRP|NNP"/> 
		<token regexp="yes" inflected="yes">sit|eat|work</token> 
		<marker>
			<token>in</token>
		</marker>
		<token postag_regexp="yes" postag="PRP\$|DT"/> 
		<token>desk</token> 
	</pattern>
	<message>The usual preposition for activities with a desk is "at."  Try this: <suggestion>\1 \2 at \4 \5</suggestion>.</message>
	<short>Collocation error</short>
</rule>

<rule>
	<!--  Children between three to five are cute. -->
	<pattern>
		<token>between</token> 
		<token/> 
		<marker>
			<token>to</token>
		</marker>
		<token/> 
	</pattern>
	<message>Use "between" + "and" not "to."  Try this: <suggestion>\1 \2 and \4</suggestion>.</message>
	<short>Collocation error</short>
</rule>

<rule>
	<!--  I do badly in tests for I'm lazy. -->
	<pattern>
		<token regexp="yes" inflected="yes">do|be</token> 
		<token regexp="yes">well|badly</token> 
		<marker>
			<token>in</token>
		</marker>
		<token regexp="yes">exams|tests|examinations</token>
	</pattern>
	<message>Use "\2 on" with "\4". Try this: <suggestion>\1 \2 on \4</suggestion>.</message>
	<short>Collocation error</short>
</rule>

<rule>
	<!-- I'm good in world geography. -->
	<pattern>
		<token inflected="yes">good</token> 
		<marker>
			<token>in</token>
		</marker>
		<token>world</token>
		<token>geography</token>
		<token>
			<exception>class</exception>
		</token>
	</pattern>
	<message>Use "good at" to mean "skilled" with school subjects. Try this: <suggestion>\1 at \3 \4</suggestion>.</message>
	<short>Collocation error</short>
</rule>

<rule>
	<!-- I'm good in social studies. -->
	<pattern>
		<token inflected="yes">good</token> 
		<marker>
			<token>in</token>
		</marker>
		<token>social</token>
		<token>studies</token>
		<token>
			<exception>class</exception>
		</token>
	</pattern>
	<message>Use "good at" to mean "skilled" with school subjects. Try this: <suggestion>\1 at \3 \4</suggestion>.</message>
	<short>Collocation error</short>
</rule>

<rule>
	<!-- I'm good in physical education -->
	<pattern>
		<token inflected="yes">good</token> 
		<marker>
			<token>in</token>
		</marker>
		<token>physical</token>
		<token>education</token>
		<token>
			<exception>class</exception>
		</token>
	</pattern>
	<message>Use "good at" to mean "skilled" with school subjects. Try this: <suggestion>\1 at \3 \4</suggestion>.</message>
	<short>Collocation error</short>
</rule>


<rule>
	<!-- I'm good in language arts  -->
	<pattern>
		<token inflected="yes">good</token> 
		<marker>
			<token>in</token>
		</marker>
		<token>language</token>
		<token>arts</token>
		<token>
			<exception>class</exception>
		</token>
	</pattern>
	<message>Use "good at" to mean "skilled" with school subjects. Try this: <suggestion>\1 at \3 \4</suggestion>.</message>
	<short>Collocation error</short>
</rule>

<rule>
	<!-- I'm good in home economics-->
	<pattern>
		<token inflected="yes">good</token> 
		<marker>
			<token>in</token>
		</marker>
		<token>home</token>
		<token>economics</token>
		<token>
			<exception>class</exception>
		</token>
	</pattern>
	<message>Use "good at" to mean "skilled" with school subjects. Try this: <suggestion>\1 at \3 \4</suggestion>.</message>
	<short>Collocation error</short>
</rule>


<rule>
	<!-- I'm good in computer science-->
	<pattern>
		<token inflected="yes">good</token> 
		<marker>
			<token>in</token>
		</marker>
		<token>computer</token>
		<token>science</token>
		<token>
			<exception>class</exception>
		</token>
	</pattern>
	<message>Use "good at" to mean "skilled" with school subjects. Try this: <suggestion>\1 at \3 \4</suggestion>.</message>
	<short>Collocation error</short>
</rule>


<rule>
	<!-- I'm good in math. I was good in running errands. -->
	<pattern>
		<token inflected="yes">good</token> 
		<marker>
			<token>in</token>
		</marker>
		<token regexp="yes">algebra|archaeology|art|band|biology|botany|calculus|chemistry|drama|economics|English|French|geography|geology|geometry|German|gym|health|history|keyboarding|languages|literature|math|mathematics|music|PE|physics|psychology|reading|science|writing</token>
		<token>
			<exception>class</exception>
		</token>
	</pattern>
	<message>Use "good at" to mean "skilled" with school subjects. Try this: <suggestion>\1 at \3</suggestion>.</message>
	<short>Collocation error</short>
</rule>


<rule>
	<!-- Without him knowing, Quentin was summoned at a very particular examination in order to get his admission to this institution. -->
	<pattern>
		<token inflected="yes">summon</token> 
		<marker>
			<token>at</token>
		</marker>
		<token regexp="yes">a|an|the</token>
		<token postag_regexp="yes" postag="NN|NN:UN|NN:U">
			<exception regexp="yes">moment|time</exception>
		</token>
	</pattern>
	<message>The usual collocation is "summon to" a place, or "summon at" a time/moment. Use "to" instead: <suggestion>\1 to \3 \4</suggestion>.</message>
	<short>Collocation error</short>
</rule>


<rule>
	<!-- Without him knowing, Quentin was summoned at a very particular examination in order to get his admission to this institution. -->
	<pattern>
		<token inflected="yes">summon</token> 
		<marker>
			<token>at</token>
		</marker>
		<token regexp="yes">a|an|the</token>
		<token postag="JJ"/>
		<token postag_regexp="yes" postag="NN|NN:UN|NN:U">
			<exception regexp="yes">moment|time</exception>
		</token>
	</pattern>
	<message>The usual collocation is "summon to" a place, or "summon at" a time/moment. Use "to" instead: <suggestion>\1 to \3 \4 \5</suggestion>.</message>
	<short>Collocation error</short>
</rule>

<rule>
	<!-- Without him knowing, Quentin was summoned at a very particular examination in order to get his admission to this institution. -->
	<pattern>
		<token inflected="yes">summon</token> 
		<marker>
			<token>at</token>
		</marker>
		<token regexp="yes">a|an|the</token>
		<token regexp="yes">very|really</token>
		<token postag="JJ"/>
		<token postag_regexp="yes" postag="NN|NN:UN|NN:U">
			<exception regexp="yes">moment|time</exception>
		</token>
	</pattern>
	<message>The usual collocation is "summon to" a place, or "summon at" a time/moment.  Use "to" instead: <suggestion>\1 to \3 \4 \5 \6</suggestion>.</message>
	<short>Collocation error</short>
</rule>

<rule>
	<!-- On his way to an interview to be admitted at Princeton College, Quentin and his childhood best friend James arrive on a crime scene where they find the corpse of the man who was supposed to interview the former, along with a very nonchalant paramedic. -->
	<pattern case_sensitive="yes">
		<token>admitted</token> 
		<marker>
			<token>at</token>
		</marker>
		<token regexp="yes">[A-Z\u00C0-\u017F]+</token>
		<token regexp="yes">University|College|Hospital|Clinic</token>
	</pattern>
	<message>The usual collocation for "admit" is "to"," not "at." It is better to say this: <suggestion>\1 to \3 \4</suggestion>.</message>
	<short>Collocation error</short>
</rule>


<rule>
	<!-- Land reclamation is always accompany with pollution. -->
	<pattern>

		<marker>
			<token>in</token>
		</marker>
		<token>the</token>
		<token regexp="yes">internet|website|computer|TV|television</token>
	</pattern>
	<message>The usual collocation for technology is "on," not "in." It is better to say this: <suggestion>on the \3</suggestion>.</message>
	<short>Collocation error</short>
</rule>

<rule>
	<!-- Land reclamation is always accompany with pollution. -->
	<pattern>

		<marker>
			<token>in</token>
		</marker>
		<token>the</token>
		<token>web</token>
	</pattern>
	<message>The usual collocation for technology is "on," not "in." It is better to say this: <suggestion>on the \3</suggestion> Obviously, this collocation does not apply to spiders' webs.</message>
	<short>Collocation error</short>
</rule>


<rule>
	<!-- Land reclamation is always accompany with pollution. -->
	<pattern>
		<token inflected="yes">accompany</token>
		<marker>
			<token>with</token>
		</marker>
	</pattern>
	<message>The usual collocation for "accompany" is "by," not "with." It is better to say this: <suggestion>\1 by</suggestion>.</message>
	<short>Collocation error</short>
</rule>

<rule>
	<!-- John's popular among his friends. -->
	<pattern>
		<token>popular</token>
		<marker>
			<token>among</token>
		</marker>
	</pattern>
	<message>The usual collocation for "popular" is "with," not "among." It is better to say this: <suggestion>popular with</suggestion>.</message>
	<short>Collocation error</short>
</rule>

<rule>
	<!-- He plays regularly with that team.  -->
	<pattern>
		<token inflected="yes">play</token>
		<token min="0" postag="RB"/>
		<marker>
			<token>with</token>
		</marker>
		<token postag_regexp="yes" postag="DT|NNP|OPRP|PRP\$"/>
		<token>team</token>
	</pattern>
	<message>Use "for" with "play." You probably meant this: <suggestion>\1 for</suggestion>.</message>
	<short>Collocation error</short>
</rule>


<rule>
	<!-- Their house is opposite from ours.  -->
	<pattern>
		<token>opposite</token>
		<marker>
			<token>from</token>
		</marker>
		<token postag_regexp="yes" postag="DT|NNP|OPRP|PRP\$"/>
	</pattern>
	<message>Use "to" with "opposite." You probably meant this: <suggestion>\1 to \3</suggestion>.</message>
	<short>Collocation error</short>
</rule>

<rule>
	<!-- Angela was married with a rich man. -->
	<pattern>
		<token inflected="yes">marry</token>
		<marker>
			<token>with</token>
		</marker>
		<token postag_regexp="yes" postag="DT|NNP|OPRP"/>
	</pattern>
	<message>Use "to" with "marry." You probably meant this: <suggestion>\1 to</suggestion>.</message>
	<short>Collocation error</short>
</rule>


<rule>
	<!-- she much prefers overalls over skirts, because she enjoys playing in the mud -->
	<pattern>
		<token inflected="yes">prefer</token>
		<token postag_regexp="yes" postag="NN.*"/>
		<marker>
			<token>over</token>
		</marker>
		<token postag_regexp="yes" postag="NN.*"/>
	</pattern>
	<message>Use "to" with "prefer." You probably meant this: <suggestion>\1 \2 to \4</suggestion>.</message>
	<short>Collocation error</short>
</rule>

<rule>
	<!-- I was talking at Charles about -->
	<pattern>
		<token inflected="yes">talk</token>
		<marker>
			<token>at</token>
		</marker>
		<token postag="NNP"/>
	</pattern>
	<message>Talking at someone means they aren't listening. You probably meant this: <suggestion>\1 to \3</suggestion> or <suggestion>\1 with \3</suggestion>.</message>
	<short>Collocation error</short>
</rule>

<rule>
	<!-- I have to stop stressing out for everything. -->
	<pattern>
		<token inflected="yes">stress</token>
		<token>out</token>
		<marker>
			<token>for</token>
		</marker>
		<token>everything</token>
	</pattern>
	<message>The usual preposition in this context is "over" or "about."  Revise: <suggestion>\1 \2 over \4</suggestion> or <suggestion>\1 \2 about \4</suggestion>.</message>
	<short>Collocation error</short>
</rule>

<rule>
	<!--  I am always tired of the last night-->
	<pattern>
		<token>tired</token>
		<marker>
			<token>of</token>
		</marker>
		<token min="0">the</token>
		<token>last</token>
		<token>night</token>
	</pattern>
	<message>The usual preposition in this context is "from."  Revise: <suggestion>tired from last night</suggestion>.</message>
	<short>Collocation error</short>
</rule>


<rule>
	<!-- I suppose what makes me unusual is the fact that I can put on make up without looking at a mirror.-->
	<pattern>
		<token inflected="yes">repercussion</token>
		<marker>
			<token>with</token>
		</marker>
	</pattern>
	<message>The usual preposition for "repercussion" is "on" not "with".  Revise: <suggestion>\1 on</suggestion>.</message>
	<short>Collocation error</short>
</rule>


<rule>
	<!-- I suppose what makes me unusual is the fact that I can put on make up without looking at a mirror.-->
	<pattern>
		<token inflected="yes">look</token>
		<marker>
			<token>at</token>
		</marker>
		<token>a</token>
		<token>mirror</token>
	</pattern>
	<message>The usual preposition for "mirror" is "in" not "at".  Revise: <suggestion>\1 in a mirror</suggestion>.</message>
	<short>Collocation error</short>
</rule>

<rule>
	<!-- I am very passionated by my job. -->
	<pattern>
		<token regexp="yes">passionate|passionated</token>
		<marker>
			<token>by</token>
		</marker>
		<token/>
	</pattern>
	<message>The usual preposition for "passionate" is "about" not "by".  Revise: <suggestion>passionate about \3</suggestion>.</message>
	<short>Collocation error</short>
</rule>


<rule>
	<!-- There are white windows in the outside of the house. -->
	<pattern>
		<marker>
			<token>in</token>
		</marker>
		<token>the</token>
		<token>outside</token>
		<token postag_regexp="yes" postag="IN|SENT_END|,"/>
	</pattern>
	<message>The usual preposition for "outside" is "on" not "in".  Revise: <suggestion>on the outside</suggestion>.</message>
	<short>Collocation error</short>
</rule>

<rule>
	<!-- Our house is located in a small island surrounded by ices. There are no other houses around us.-->
	<pattern>
		<marker>
			<token>in</token>
		</marker>
		<token postag_regexp="yes" postag="DT|PRP\$"/>
		<token min="0" postag="JJ"/>
		<token>island</token>
		<token>
			<exception postag_regexp="yes" postag="N.*" />
		</token>
	</pattern>
	<message>The usual preposition for "island" is "on" not "in".  Revise: <suggestion>on an island</suggestion>.</message>
	<short>Collocation error</short>
</rule>


<rule>
	<!-- What makes me crazy on this dwelling is that some time we are higher than the clouds.-->
	<pattern>

		<token regexp="yes" inflected="yes">drive|make</token>
		<token regexp="yes">me|you|him|her|us|them</token>
		<!-- object case pronouns -->
		<token>crazy</token>
		<marker>
			<token>on</token>
		</marker>
		<token postag_regexp="yes" postag="DT|PRP\$"/>
		<token postag_regexp="yes" postag="N.*">
			<exception regexp="yes">drug|medicine|narcotic|hallucinogen</exception>
		</token>
	</pattern>
	<message>The usual preposition for "crazy" is "with" not "on".  Revise: <suggestion>crazy with</suggestion>.</message>
	<short>Collocation error</short>
</rule>

<rule>
	<!--  This is very useful to hide of prying tourists.-->
	<pattern>

		<token inflected="yes">hide</token>
		<marker>
			<token>of</token>
		</marker>
		<token postag_regexp="yes" postag="DT|PRP\$|JJ|VBG"/>
		<token/>
	</pattern>
	<message>The usual preposition for "\1" is "from" not "\2".  Revise: <suggestion>\1 from</suggestion>.</message>
	<short>Collocation error</short>
</rule>

<rule>
	<!--   I know my life, it's not very interest because I am concentrated with my studies.  -->
	<pattern>

		<token inflected="yes">be</token>
		<token regexp="yes">concentrating|concentrated</token>
		<marker>
			<token>
				<exception>on</exception>
			</token>
		</marker>
		<token postag_regexp="yes" postag="DT|PRP\$"/>
		<token/>
	</pattern>
	<message>The usual preposition for "concentrate" is "on" not "\3".  Revise: <suggestion>\2 on \4 \5</suggestion>.</message>
	<short>Collocation error</short>
</rule>

<rule>
	<!--  There is not big difference about the week and the weekend to me  -->
	<pattern>

		<token>big</token>
		<token>difference</token>
		<marker>
			<token>about</token>
		</marker>
		<token>the</token>
		<token/>
		<token>and</token>
		<token>the</token>
		<token/>
	</pattern>
	<message>The usual preposition for "difference" is "between" not "about".  Revise: <suggestion>a big difference between \5 \6 \7 \8 </suggestion>.</message>
	<short>Collocation error</short>
</rule>


<rule>
	<!--  Family who is closest and important with you. -->
	<pattern>

		<token>important</token>
		<marker>
			<token>with</token>
		</marker>
		<token postag_regexp="yes" postag="NNP|PRP">
			<exception regexp="yes">a|an|all|many|some|multiple|most</exception>
		</token>
	</pattern>
	<message>The usual preposition for "\1" is "to" not "with".  Revise: <suggestion>\1 to \3</suggestion>.</message>
	<short>Collocation error</short>
</rule>

<rule>
	<!--  There is a program in medicine and this program consists to diagnostic people to know if  their body works well. -->
	<pattern>
		<token inflected="yes">consist</token>
		<marker>
			<token>to</token>
		</marker>
	</pattern>
	<message>The usual preposition for "\1" is "of" not "to".  Revise: <suggestion>\1 of</suggestion>.</message>
	<short>Collocation error</short>
</rule>

<rule>
	<!--  My favorite thing is bag, I love my bag very much because it is a gift from my girl friend in my birthday, it is a red bag, I have kept it for 2 years and forever. -->
	<pattern>
		<marker>
			<token>in</token>
		</marker>
		<token postag="PRP$"/>
		<token>birthday</token>
		<token>
			<exception regexp="yes">suit|suits</exception>
		</token>

	</pattern>
	<message>The usual preposition for "birthdays" is "on".  Revise: <suggestion>on \2 \3</suggestion>.</message>
	<short>Collocation error</short>
</rule>

<rule>
	<!--  They participate to many activities, which contains organize laboratory experiments, supervise students research, conducting many lectures and of course, writing textbooks. -->
	<pattern>
		<token inflected="yes">participate</token>
		<marker>
			<token>to</token>
		</marker>
		<token postag_regexp="yes" postag="DT|PRP\$"/>
	</pattern>
	<message>The usual preposition for "\1" is "in" not "to".  Revise: <suggestion>\1 in</suggestion>.</message>
	<short>Collocation error</short>
</rule>

<rule>
	<!--  I was on a meeting.-->
	<pattern>
		<token postag_regexp="yes" postag="NNP|PRP"/>
		<token inflected="yes">be</token>
		<marker>
			<token>on</token>
		</marker>
		<token min="0" postag="DT"/>
		<token>meeting</token>
		<token>
			<exception postag_regexp="yes" postag="NN:U|NN:UN"/>
		</token>
	</pattern>
	<message>The usual preposition for "\4 \5" is "in" not "on".  Revise: <suggestion>\1 \2 in a meeting</suggestion>.</message>
	<short>Collocation error</short>
</rule>

<rule>
	<!--  I hardly ever drinks coffee at the morning because this make me crazy.-->
	<pattern>

		<marker>
			<token>at</token>
		</marker>
		<token>the</token>
		<token regexp="yes">morning|afternoon</token>
		<token postag_regexp="yes" postag="CC|SENT_END"/>
	</pattern>
	<message>The usual preposition for "\3" is "in" not "at".  Revise: <suggestion>in the \3</suggestion>.</message>
	<short>Collocation error</short>
</rule>

<rule>
	<!--  I'm really passionate by the chocolate, it's my vocation. -->
	<pattern>
		<token postag_regexp="yes" postag="VBP|VBZ|VBD|RB|RP"/>
		<token>passionate</token>
		<marker>
			<token>by</token>
		</marker>
		<token min="0" postag_regexp="yes" postag="DT|PRP\$"/>
		<token postag_regexp="yes" postag="NN:U|NN:UN"/>
	</pattern>
	<message>The usual preposition for "passionate" is "about" not "by".  Revise: <suggestion>\1 passionate about</suggestion> or <suggestion>\1 inspired by</suggestion>.</message>
	<short>Collocation error</short>
</rule>

<rule>
	<!-- I’m the one Frank Catania need in his team. -->
	<pattern>
		<token>the</token>
		<token  regexp="yes">person|guy|chap|one</token>
		<!-- Singular only -->
		<token skip="-1"/> 
		<token skip="-1">need</token>
		<!-- Present tense only-->
		<marker>
			<token>in</token>
		</marker>
		<token postag_regexp="yes" postag="DT|PRP\$"/>
		<token>team</token>
	</pattern>
	<message>The usual preposition for "team" is "on" not "in".  Revise: <suggestion>on \6 \7</suggestion>.</message>
	<short>Collocation error</short>
</rule>

<rule>
	<!--  I would like to work with people who have an addiction of drugs.-->
	<pattern>

		<token>addiction</token>
		<marker>
			<token>of</token>
		</marker>
		<token>drugs</token>
	</pattern>
	<message>The usual preposition for \1 is "to." Did you mean, <suggestion>\1 to \3</suggestion>? </message>
	<short>Collocation error</short>
</rule>
<rule>
	<!--  Julie is the person on charge to the security.-->
	<pattern>
		<token regexp="yes">is|was</token>
		<token>the</token>
		<token>person</token>
		<marker>
			<token>on</token>
		</marker>
		<token>charge</token>
		<token regexp="yes">of|to</token>
	</pattern>
	<message>The usual preposition for \5 is "in." Did you mean, <suggestion>\2 \3 in charge of</suggestion>? </message>
	<short>Collocation error</short>
</rule>
<rule>
	<!--  I work only for the summer holidays.-->
	<pattern>
		<marker>
			<token>for</token>
		</marker>
		<token>the</token>
		<token regexp="yes">winter|spring|summer|fall</token>
		<token regexp="yes">vacation|holiday|holidays</token>
	</pattern>
	<message>The usual preposition for \4 is "during." Did you mean, <suggestion>during the \3 \4</suggestion>? </message>
	<short>Collocation error</short>
</rule>

<rule>
	<!--  I work only for the summer holidays.-->
	<pattern>
		<token>when</token>
		<token/>
		<token inflected="yes">be</token>
		<marker>
			<token>in</token>
		</marker>
		<token regexp="yes">vacation|holiday</token>
	</pattern>
	<message>The usual preposition for \5 is "on." Did you mean, <suggestion>\1 \2 \3 on \5</suggestion>? </message>
	<short>Collocation error</short>
</rule>

<rule>
	<!-- Later, I started working as a Research Assistant in university projects again.-->
	<pattern>
		<marker>
			<token>in</token>
		</marker>
		<token>a</token>
		<token>party</token>
	</pattern>
	<message>Unless you mean "in a political party," the usual preposition for a party is "at." Did you mean, <suggestion>at a party</suggestion>? </message>
	<short>Collocation error</short>
</rule>
<rule>
	<!-- Later, I started working as a Research Assistant in university projects again.-->
	<pattern>
		<token postag_regexp="yes" postag="PRP|NNP" />
		<token>started</token>
		<token regexp="yes">work|working</token>
		<token>as</token>
		<token>a</token>
		<token postag_regexp="yes" postag="NN|NN:U|NN:UN" />
		<token postag_regexp="yes" postag="NN|NN:U|NN:UN" />
		<marker>
			<token>in</token>
		</marker>
		<token postag_regexp="yes" postag="JJ|NN|NN:U|NN:UN" />
		<token>projects</token>
	</pattern>
	<message>The usual preposition for "\3...projects" is "on". Did you mean, <suggestion>\3 as a \6 \7 on \9 projects</suggestion>? </message>
	<short>Collocation error</short>
</rule>

<rule>
	<!-- Don't you ever talk down about my baby boy or Kristy. -->
	<pattern>
		<token>good</token>
		<marker>
			<token>in</token>
		</marker>
		<token postag="VBG"/>
	</pattern>
	<message>The usual preposition for this expression is "at". Did you mean, <suggestion>\1 at \3</suggestion>? </message>
	<short>Collocation error</short>
</rule>

<rule>
	<!--A clinical psychologist deals with people suffering of bipolar disord. -->
	<pattern>
		<token inflected="yes">suffer</token>
		<marker>
			<token>of</token>
		</marker>
	</pattern>
	<message>The usual preposition for this expression is "from" or "with." Did you mean <suggestion>\1 from</suggestion> or <suggestion>\1 with</suggestion>? </message>
	<short>Collocation error</short>
</rule>

<rule>
	<!-- Don't you ever talk down about my baby boy or Kristy. -->
	<pattern>
		<token inflected="yes">talk</token>
		<token>down</token>
		<marker>
			<token>about</token>
		</marker>
	</pattern>
	<message>The usual preposition for this expression is "to". Did you mean, <suggestion>\1 down to</suggestion>? </message>
	<short>Collocation error</short>
</rule>
</rulegroup>

(Nicholas Walker) #2

Collocation error rule contribution continued from above.

<rulegroup id="COLLOCATION_ERRORS_2" name="Common errors">
	<rule>
		<!-- He is wearing a crocs in my feet. -->
		<pattern>
			<token inflected="yes">wear</token>
			<token postag="DT"/>
			<token/>
			<marker>
				<token>in</token>
			</marker>
			<token postag="PRP$"/>
			<token inflected="yes">foot</token>
		</pattern>
		<message>The usual preposition for feet is "on". Did you mean, <suggestion>on \5 \6</suggestion>?</message>
		<short>Collocation error</short>
	</rule>

    <rule>
	<!-- I like to do soccer on the weekend. -->
	<pattern>
		<marker>
			<token>at</token>
		</marker>
		<token>the</token>
		<token regexp="yes">morning|afternoon|evening</token>
		<token postag="SENT_END"/>
	</pattern>
	<message>The usual collocation for "\3" is "in". Revise: <suggestion>in the \3</suggestion>.</message>
	<short>Collocation error</short>
</rule>

<rule>
	<!-- The text is also a very important things for the people who want to get a job in the SPVM.    -->
	<pattern>
		<token inflected="yes">get</token>
		<token regexp="yes">a|the</token>
		<token regexp="yes">job|position</token>
		<marker>
			<token>in</token>
		</marker>
		<token>the</token>
		<token regexp="yes">[A-Z][A-Z]+</token>
		<!--Acronym-->
	</pattern>
	<message>The usual preposition for "\1 \2 \3" is "with" for an organization. Revise: <suggestion>with \4 \5</suggestion>.</message>
	<short>Collocation error</short>
</rule>

<rule>
	<!-- I like to do soccer on the weekend. -->
	<pattern>
		<marker>
			<token regexp="yes" inflected="yes">go|do</token>
			<token regexp="yes">ball|soccer|chess|tennis|golf|hockey|videogames|cards|football|basketball</token>
		</marker>
		<token>
			<exception postag_regexp="yes" postag="NN|NN:U|NN:UN|NNS|VBG" />
		</token>
	</pattern>
	<message>The usual collocation for an activity that does not end in "-ing" and is something you can win is "play" not "do" or "go." Revise: <suggestion>play \2</suggestion>.</message>
	<short>Collocation error</short>
</rule>
<rule>
	<!-- My sister plays ballet at the community center. -->
	<pattern>
		<marker>
			<token regexp="yes" inflected="yes">go|play</token>
			<token regexp="yes">art|ballet|exercise|judo|karate|puzzles|taekwondo|weightlifting|yoga</token>
		</marker>
		<token>
			<exception postag_regexp="yes" postag="NN|NN:U|NN:UN|NNS|VBG" />
		</token>
	</pattern>
	<message>The usual collocation for an activity that does not end in "-ing" and is not something you can win is "do" not "go" or "play." Revise: <suggestion>do \2</suggestion>.</message>
	<short>Collocation error</short>
</rule>



<rule> 
	<antipattern>
		<!-- After the squad is done installing the gear.  -->
		<token inflected="yes">be</token>
		<token>done</token>
		<token postag="VBG"/>
	</antipattern>
	<pattern>
		<!-- Do you do jogging?  -->
		<marker>
			<token regexp="yes" inflected="yes">do|play</token>
			<token postag="VBG">
				<exception regexp="yes">training|marketing|lapping|engineering|nursing</exception>
			</token>
		</marker>
		<token>
			<exception postag_regexp="yes" postag="NN|NN:U|NN:UN|NNS" />
		</token>
	</pattern>
	<message>The usual collocation for an activity ending in "-ing" is "go" not "do" or "play." Revise: <suggestion>go \2</suggestion>.</message>
	<short>Collocation error</short>
</rule>


<rule>
	<!-- damage of wildlife  -->
	<pattern>
		<token>damage</token>
		<marker>
			<token>of</token>
		</marker>
		<token/>
	</pattern>
	<message>The usual collocation for word "damage" is "to" not "of." Revise: <suggestion> \1 to</suggestion>.</message>
	<short>Collocation error</short>
</rule>

<rule>
	<!-- They are more interest about the money, like how it's manage.   -->
	<pattern>
		<token regexp="yes">less|more|of</token>
		<token regexp="yes">interest|interests|interested</token>
		<marker>
			<token regexp="yes">about</token>
		</marker>
	</pattern>
	<message>The usual collocation for word "interest" is "in" not "about." Revise: <suggestion> \2 in</suggestion>.</message>
	<short>Collocation error</short>
</rule>
<rule>
	<!-- We do want to differ from other solutions where you must redirect all your domain names to a service provider, leaving your server vulnerable from direct attacks and having you hassle with domain records all the time. -->
	<pattern>
		<token>vulnerable</token>
		<marker>
			<token>from</token>
		</marker>
	</pattern>
	<message>The usual collocation for word "vulnerable" is "to" not "from," as in "vulnerable to attack."  Revise: <suggestion>vulnerable to</suggestion>.</message>
</rule>

<rule>
	<!-- Children imitate every habit, and behavior from their parents. -->
	<antipattern>
		<token inflected="yes">imitate</token>
		<token skip="-1"/>
		<token skip="-1">of</token>
		<token/>
	</antipattern>
	<pattern>
		<token inflected="yes">imitate</token>
		<token postag="DT"/>
		<token postag_regexp="yes" postag="NN|NN:U|NN:UN|NNS"/>
		<token skip="-1"/>
		<marker>
			<token skip="-1">from</token>
		</marker>
		<token postag_regexp="yes" postag="DT|PRP\$"/>
		<token postag_regexp="yes" postag="NN|NN:U|NN:UN|NNS"/>
		<token postag="SENT_END"/>
	</pattern>
	<message>The usual collocation for word "imitate" is "of" not "from," as in "imitate the style of someone."  Revise: <suggestion>\1 \2 \3 of  \6 \7</suggestion>.</message>
</rule>

<rule>
	<pattern>
		<!--   In addition, if people are in favor of women practicing combat sports, it would be beneficial to have combat sport sessions in schools as well as optional courses offered in universities.  -->
		<token>offered</token>
		<marker>
			<token>in</token>
		</marker>
		<token inflected="yes" regexp="yes">college|university|school</token>
	</pattern>
	<message>The usual preposition for "offered" and "\3" is "at" not "in." Revise: <suggestion>offered at \3</suggestion>.</message>
	<short>Collocation error</short>
</rule>
<rule>
	<pattern>
		<!--  They should increase varieties in food.  -->
		<token>perspectives</token>
		<marker>
			<token>about</token>
		</marker>
	</pattern>
	<message>The usual preposition for "perspectives" is "on" not "about." Revise: <suggestion>perspectives on</suggestion>.</message>
	<short>Collocation error</short>
</rule>
<rule>
	<pattern>
		<!--  They should increase varieties in food.  -->
		<token>varieties</token>
		<marker>
			<token>in</token>
		</marker>
	</pattern>
	<message>The usual preposition for "varieties" is "of" not "in." Revise: <suggestion>varieties of</suggestion>.</message>
	<short>Collocation error</short>
</rule>
<rule>
	<pattern case_sensitive="yes">
		<!-- The Mountains are covered by snow.  -->
		<token inflected="yes">cover</token>
		<marker>
			<token>by</token>
		</marker>
		<token regexp="yes">snow|leaves|dust</token>
	</pattern>
	<message>The usual verb for "leave is "for" not "to." Revise: <suggestion>leaving for \3</suggestion>.</message>
	<short>Collocation error</short>
</rule>
<rule>
	<pattern case_sensitive="yes">
		<!-- They are leaving to England soon.  -->
		<token inflected="yes">leave</token>
		<marker>
			<token>to</token>
		</marker>
		<token regexp="yes">[A-Z][a-z]+</token>
		<!--Capitalized word-->
		<token regexp="yes">next|tomorrow|soon</token>
	</pattern>
	<message>The usual verb for "leave is "for" not "to." Revise: <suggestion>leaving for \3</suggestion>.</message>
	<short>Collocation error</short>
</rule>
<rule>
	<pattern>
		<!-- We decided to do a meeting the next day.  -->
		<marker>
			<token>do</token>
		</marker>
		<token>a</token>
		<token>meeting</token>
	</pattern>
	<message>The usual verb for "a meeting" is "have" not "do." Revise: <suggestion>have a meeting</suggestion>.</message>
	<short>Collocation error</short>
</rule>
<rule>
	<pattern>
		<!-- We decided to do a meeting the next day.  -->
		<marker>
			<token>does</token>
		</marker>
		<token>a</token>
		<token>meeting</token>
	</pattern>
	<message>The usual verb for "a meeting" is "have" not "do." Revise: <suggestion>has a meeting</suggestion>.</message>
	<short>Collocation error</short>
</rule>
<rule>
	<pattern>
		<!-- We decided to do a meeting the next day.  -->
		<marker>
			<token>did</token>
		</marker>
		<token>a</token>
		<token>meeting</token>
	</pattern>
	<message>The usual verb for "a meeting" is "have" not "do." Revise: <suggestion>had a meeting</suggestion>.</message>
	<short>Collocation error</short>
</rule>
<rule>
	<pattern>
		<!-- Dr Dre was growled to him about the snow.  -->
		<token regexp="yes">growled|spat|punched</token>
		<marker>
			<token>to</token>
		</marker>
		<token postag="PRP|PRP\$|DT" postag_regexp="yes"/>
	</pattern>
	<message>The usual preposition for "\1" is "at." Revise: <suggestion>\1 at \3</suggestion>.</message>
	<short>Collocation error</short>
</rule>
<rule>
	<pattern>
		<!-- During the week, I go to school and I work in a pet shop during the weekend. -->
		<marker>
			<token>during</token>
		</marker>
		<token>the</token>
		<token regexp="yes">weekend|weekends</token>
		<token>
			<exception>of</exception>
		</token>
	</pattern>
	<message>The usual preposition for "the weekend" is "on." Revise: <suggestion>on the weekend</suggestion> for American English, or <suggestion>at the weekend</suggestion> for British English.</message>
	<short>Collocation error</short>
</rule>
<rule>
	<pattern>
		<!-- During the week, I go to school and I work in a pet shop during the weekend. -->
		<marker>
			<token>during</token>
		</marker>
		<token>the</token>
		<token>week</token>
		<token>end</token>
		<token>
			<exception>of</exception>
		</token>
	</pattern>
	<message>The usual preposition for "the weekend" is "on." Revise: <suggestion>on the weekend</suggestion> for American English, or <suggestion>at the weekend</suggestion> for British English.</message>
	<short>Collocation error</short>
</rule>

<rule>
	<pattern>
		<!-- I only speak English during weekends because during weekends I work and some clients that only speak in English. -->
		<marker>
			<token>during</token>
		</marker>
		<token>weekends</token>
		<token>
			<exception>of</exception>
		</token>
	</pattern>
	<message>The usual preposition for "the weekend" is "on." Revise: <suggestion>on weekends</suggestion> for American English, or <suggestion>at weekends</suggestion> for British English.</message>
	<short>Collocation error</short>
</rule>

<rule>
	<pattern>
		<!-- During the week, I go to school and I work in a pet shop during the weekend. -->
		<marker>
			<token>during</token>
		</marker>
		<token>the</token>
		<token>weekends</token>
		<token>
			<exception>of</exception>
		</token>
	</pattern>
	<message>The usual preposition for "the weekend" is "on." Revise: <suggestion>on the weekend</suggestion> for American English, or <suggestion>at the weekend</suggestion> for British English.</message>
	<short>Collocation error</short>
</rule>

<rule>
	<pattern>
		<!-- not very far of my job-->
		<token>far</token>
		<marker>
			<token>of</token>
		</marker>
	</pattern>
	<message>The usual preposition for "far" is "from." Revise: <suggestion>far from</suggestion>.</message>
	<short>Collocation error</short>
</rule>
<rule>
	<pattern>
		<!-- not very far of my job-->
		<token>near</token>
		<marker>
			<token>from</token>
		</marker>
	</pattern>
	<message>The usual preposition for "near" is "to." Revise: <suggestion>near to</suggestion>.</message>
	<short>Collocation error</short>
</rule>
<rule>
	<pattern>
		<!-- blind for the fury-->
		<token>blind</token>
		<marker>
			<token>for</token>
		</marker>
		<token>the</token>
		<token>
			<exception regexp="yes">instant|moment|time</exception>
		</token>
	</pattern>
	<message>The usual preposition for "blind" is "from" when followed by the cause of the blindness. Revise: <suggestion>\1 from \3 \4</suggestion>.</message>

	<short>Collocation error</short>
</rule>
<rule>
	<pattern>
		<!-- blind for the fury-->
		<token inflected="yes">yell</token>
		<marker>
			<token>on</token>
		</marker>
		<token regexp="yes">him|her|us|me|them</token>
	</pattern>
	<message>The usual preposition for "yell" is "at." Revise: <suggestion>\1 at \3</suggestion>.</message>
	<short>Collocation error</short>
</rule>
<rule>
	<pattern>
		<!-- blind for the fury-->
		<token>blind</token>
		<marker>
			<token>for</token>
		</marker>
		<token>the</token>
		<token>
			<exception regexp="yes">instant|moment|time</exception>
		</token>
	</pattern>
	<message>The usual preposition for "blind" is "from" when followed by the cause of the blindness. Revise: <suggestion>\1 from \3 \4</suggestion>.</message>

	<short>Collocation error</short>
</rule>
<rule>
	<pattern>
		<!-- In the psychological perspective -->
		<token inflected="yes">take</token>
		<token>into</token>
		<token>consideration</token>
		<marker>
			<token>of</token>
		</marker>
	</pattern>
	<message>You have fused two expressions into one, "in consideration of" and "taking into consideration." Remove the word "of" from the end: <suggestion>\1 \2 \3</suggestion>.</message>

	<short>Collocation error</short>
</rule>
<rule>
	<pattern>
		<!-- In the psychological perspective -->
		<marker>
			<token>in</token>
		</marker>
		<token regexp="yes">the|a</token>
		<token postag="JJ"/>
		<token>perspective</token>
	</pattern>
	<message>The usual preposition for "perspective" is "from" not "in." <suggestion>from \2 \3	\4</suggestion>.</message>

	<short>Collocation error</short>
</rule>
<rule>
	<pattern>
		<!-- He is 67 year old and he sits on the court since 1998. -->
		<token infelected="yes">sit</token>
		<token>on</token>
		<token>the</token>
		<marker>
			<token>court</token>
		</marker>
	</pattern>
	<message>The usual way to express a judge's association with a courtroom is with the phrase  <suggestion>\1 on the bench</suggestion>.</message>

	<short>Collocation error</short>
</rule>
<rule>
	<pattern>
		<!-- There is classes were students can follow their courses -->
		<marker>
			<token infelected="yes">follow</token>
		</marker>
		<token postag_regexp="yes" postag="PRP\$|DT"/>
		<token regexp="yes">courses|course</token>
	</pattern>
	<message>The usual verb for "courses" in a school is "take" or "attend" not "follow." Try it like this:  <suggestion>take \2 courses</suggestion>.</message>

	<short>Collocation error</short>
</rule>
<rule>
	<pattern>
		<marker>
			<token>on</token>
		</marker>
		<token>the</token>
		<token regexp="yes">afternoon|evening</token>
		<token>
			<exception regexp="yes">of|that|program|train|bus|coach|cruise</exception>
		</token>
	</pattern>
	<message>The usual preposition for "\3" is 'in' not "on". Try it like this:  <suggestion>in \2 \3</suggestion>.</message>

	<short>Collocation error</short>
</rule>
<rule>
	<pattern>
		<token/>
		<marker>
			<token>arrival</token>
			<token>to</token>
		</marker>
		<token>the</token>
		<token>
			<exception regexp="yes">house|apartment|penthouse|boat</exception>
		</token>
	</pattern>
	<message>The usual preposition for "\3 \4" is "in" not "to." Try it like this:  <suggestion>\1 \2 in the</suggestion>.</message>

	<short>Collocation error</short>
</rule>
<rule>
	<pattern>
		<token/>
		<marker>
			<token>arrival</token>
			<token>to</token>
		</marker>
		<token>the</token>
		<token regexp="yes">house|apartment|penthouse</token>
	</pattern>
	<message>The usual preposition for "\3 \4" is "at" not "to." Try it like this:  <suggestion>\1 \2 in the</suggestion>.</message>

	<short>Collocation error</short>
</rule>
<rule>
	<!-- She accused the man for stealing. -->
	<pattern>
		<token inflected="yes">accuse</token>
		<token>the</token>
		<token/>
		<marker>
			<token>for</token>
		</marker>
		<token/>
	</pattern>
	<message>The usual preposition for accusations is "of" not "for." Try it like this:  <suggestion>\1 the \3 of \5 </suggestion>.</message>

	<short>Collocation error</short>
</rule>
<rule>
	<pattern>
		<token>in</token>
		<token>the</token>
		<token regexp="yes">men|women|school</token>
		<token regexp="yes">'|‘|’|`</token>
		<token>s</token>
		<token>team</token>
	</pattern>
	<message>The usual preposition for team membership is "on" not "in". Try it like this:  <suggestion>on \2 \3's \6</suggestion>.</message>

	<short>Collocation error</short>
</rule>
<rule>
	<pattern>
		<token>in</token>
		<token>the</token>
		<token regexp="yes">men|women|school</token>
		<token regexp="yes">'|‘|’|`</token>
		<token>s</token>
		<token/>
		<token>team</token>
	</pattern>
	<message>The usual preposition for team membership is "on" not "in". Try it like this:  <suggestion>on \2 \3's \6 \7</suggestion>.</message>

	<short>Collocation error</short>
</rule>
<rule>
	<pattern mark_to="-7">
		<token>in</token>
		<token>the</token>
		<token regexp="yes">men|women|school</token>
		<token regexp="yes">'|‘|’|`</token>
		<token>s</token>
		<token/>
		<token>ball</token>
		<token>team</token>
	</pattern>
	<message>The usual preposition for team membership is "on" not "in". Try it like this:  <suggestion>on \2 \3's \6 \7 \8</suggestion>.</message>

	<short>Collocation error</short>
</rule>
<rule>
	<pattern>
		<token regexp="yes" inflected="yes">be|go</token>
		<token>in</token>
		<token>a</token>
		<token>secret</token>
		<token>mission</token>
	</pattern>
	<message>The usual preposition for mode of transportation is "by" not "in". Try it like this:  <suggestion>\1 by \3</suggestion>.</message>

	<short>Collocation error</short>
</rule>
<rule>
	<pattern>
		<token regexp="yes" inflected="yes">come|go</token>
		<token>in</token>
		<token regexp="yes">car|bus|train|taxi|metro|subway</token>
	</pattern>
	<message>The usual preposition for mode of transportation is "by" not "in". Try it like this:  <suggestion>\1 by \3</suggestion>.</message>
	<short>Collocation error</short>
</rule>
<rule>
	<pattern>
		<token regexp="yes" inflected="yes">come|go</token>
		<token>to</token>
		<token/>
		<marker>
			<token>in</token>
		</marker>
		<token regexp="yes">car|bus|train|taxi|metro|subway</token>
	</pattern>
	<message>The usual preposition for mode of transportation is "by" not "in". Try it like this:  <suggestion>\1 \2 \3 by \5</suggestion>.</message>
	<short>Collocation error</short>
</rule>
<rule>
	<!--  The people are fed up of so many elections.  -->
	<pattern>
		<token inflected="yes">laugh</token>
		<marker>
			<token>of</token>
		</marker>
		<token postag_regexp="yes" postag="PRP|NNP"/>	
	</pattern>
	<message>The usual preposition for "laugh" is "at". Did you mean <suggestion>\1 at</suggestion>? </message>
	<short>Collocation error</short>
</rule>		
<rule>
	<!--  The people are fed up of so many elections.  -->
	<pattern>
		<token inflected="yes">bring</token>
		<token postag_regexp="yes" postag="PRP|NNP"/>	
		<marker>
			<token>at</token>
		</marker>
	</pattern>
	<message>The usual preposition for "bring" is "to". Did you mean <suggestion>\1 \2 to</suggestion>? </message>
	<short>Collocation error</short>
</rule>	
<rule>
	<!--  The people are fed up of so many elections.  -->
	<pattern>
		<token postag="SENT_START"/>
		<marker>
			<token regexp="yes">on|at</token>
		</marker>
		<token>fact</token>
	</pattern>
	<message>The usual preposition for "fact" is "in". Did you mean <suggestion>In fact</suggestion>? </message>
	<short>Collocation error</short>
</rule>	
<rule>
	<!--  The people are fed up of so many elections.  -->
	<pattern>
		<marker>
			<token regexp="yes">bring|brought</token>  
			<token>to</token>
			<token>the</token>
			<token>agenda</token>
		</marker>
	</pattern>
	<message>The usual verb + preposition for "agenda" is "put on". Did you mean <suggestion>put on the agenda</suggestion>? </message>
	<short>Collocation error</short>
</rule>	
<rule>
	<!--  The people are fed up of so many elections.  -->
	<pattern>
		<marker>
			<token>in</token>  
			<token>front</token>
			<token postag="IN">
				<exception>of</exception>
			</token>
		</marker>
	</pattern>
	<message>The usual preposition for "in front" is "of". Did you mean <suggestion>in front of</suggestion>? </message>
	<short>Collocation error</short>
</rule>
</rulegroup>

(Nicholas Walker) #3

Collocation error rules continued even more.

<rulegroup id="COLLOCATION_ERRORS_3" name="Common errors">
	<rule>
		<!--  John and Jenny week decided to go on a trip in New York. -->
		<pattern>
			<token>a</token>
			<token regexp="yes">trip|journey</token>
			<marker>
				<token>in</token>
			</marker>
			<token regexp="yes">[A-Z][a-z]+</token>
			<token regexp="yes">[A-Z][a-z]+</token>
		</pattern>
		<message>The usual preposition for "a \2" with a named destination is "to". Did you mean <suggestion>a trip to \4 \5</suggestion>? </message>
		<short>Collocation error</short>
	</rule>	
	<rule>
		<!--  The stay is finally ended and they prepared their departure of New York. -->
		<pattern>
			<token>departure</token>
			<marker>
				<token>of</token>
			</marker>
			<token regexp="yes">New</token>
			<token regexp="yes">York|Zealand|Hampshire|England|South|Brunswick</token>
			<token>
				<exception regexp="yes">resident|citizen|native</exception>
			</token>
		</pattern>
		<message>The usual preposition for "departure" with a destination name is "from". Did you mean <suggestion>departure from New \4</suggestion>? </message>
		<short>Collocation error</short>
	</rule>	
	<rule>
		<!--  John and Jenny week decided to go on a trip in York. -->
		<pattern>
			<token>a</token>
			<token regexp="yes">trip|journey</token>
			<marker>
				<token>in</token>
			</marker>
			<token regexp="yes">[A-Z][a-z]+</token>
			<token>
				<exception regexp="yes">[A-Z][a-z]+</exception>
			</token>
		</pattern>
		<message>The usual preposition for "a \2" with a named destination is "to". Did you mean <suggestion>a trip to \4</suggestion>? </message>
		<short>Collocation error</short>
	</rule>	
	<rule>
		<!--  John and Jenny week decided to go on a trip in York. -->
		<pattern>
			<token>a</token>
			<token regexp="yes">trip|journey</token>
			<marker>
				<token>in</token>
			</marker>
			<token regexp="yes">New-York|New-England</token>
		</pattern>
		<message>The usual preposition for "a \2" with a named destination is "to". Did you mean <suggestion>a trip to \4</suggestion>? </message>
		<short>Collocation error</short>
	</rule>	
	<rule>
		<!--  The people are fed up of so many elections.  -->
		<pattern>
			<token inflected="yes">live</token>  
			<marker>
				<token>in</token>
			</marker>
			<token postag="DT"/>  
			<token regexp="yes">planet|asteroid|moon</token>  
		</pattern>
		<message>The usual preposition for \4 is "on". Did you mean <suggestion>\1 on \3 \4</suggestion>? </message>
		<short>Collocation error</short>
	</rule>	
	<rule>
		<!--  The people are fed up of so many elections.  -->
		<pattern>
			<token>countless</token>  
			<token>of</token>  
			<token>
				<exception>course</exception>
			</token>  
		</pattern>
		<message>Do not use "of" after "\1". Did you mean <suggestion>\1 \3</suggestion>? </message>
		<short>Collocation error</short>
	</rule>	
	<rule>
		<!--  The people are fed up of so many elections.  -->
		<pattern>
			<token>fed</token>  
			<token>up</token>  
			<token>of</token>  
		</pattern>
		<message>The usual preposition for "\1 \2" is "with". Did you mean <suggestion>\1 \2 with</suggestion>? </message>
		<short>Collocation error</short>
	</rule>	
	<rule>
		<!--  During my free time, I like listen to movies in cinema with my boyfriend and my friends.  -->
		<pattern>
			<marker>
				<token inflected="yes">listen</token>
			</marker>
			<token>to</token>  
			<token regexp="yes">movies|films</token>  
		</pattern>
		<message>The usual verb for "\3" is "watch". Did you mean <suggestion>watch movies</suggestion>? </message>
		<short>Collocation error</short>
	</rule>	
	<rule>
		<!--  During my free time, I like listen to movies in cinema with my boyfriend and my friends.  -->
		<pattern>
			<marker>
				<token inflected="yes">listen</token>
			</marker>
			<token>to</token>  
			<token regexp="yes">movie|film|series</token>  
		</pattern>
		<message>The usual verb for "\3" is "watch". Did you mean <suggestion>watch a \3</suggestion>? </message>
		<short>Collocation error</short>
	</rule>	

    <rule>
	<!--  During my free time, I like listen to movies in cinema with my boyfriend and my friends.  -->
	<pattern>
		<marker>
			<token inflected="yes">listen</token>
		</marker>
		<token>to</token>  
		<token>a</token>  
		<token regexp="yes">movie|film|series</token>  
	</pattern>
	<message>The usual verb for "\4" is "watch". Did you mean <suggestion>watch a \4</suggestion>? </message>
	<short>Collocation error</short>
</rule>	

<rule>
	<!--  During the week, I listen action movie in English because I want to improve myself with my sister.  -->
	<pattern>
		<marker>
			<token inflected="yes">listen</token>
		</marker>
		<token>to</token>  
		<token regexp="yes">animated|anime|action</token>  
		<token regexp="yes">movie|film|series</token>  
	</pattern>
	<message>The usual verb for "\3" is "watch". Did you mean <suggestion>watch an \3 movie</suggestion>? </message>
	<short>Collocation error</short>
</rule>	
<rule>
	<!--  During the week, I listen series or action movie in English because I want to improve myself with my sister.  -->
	<pattern>
		<marker>
			<token inflected="yes">listen</token>
		</marker>
		<token regexp="yes">movies|films|series</token>  
	</pattern>
	<message>The usual verb for "\3" is "watch". Did you mean <suggestion>watch a \2</suggestion>? </message>
	<short>Collocation error</short>
</rule>	
<rule>
	<!--  Yes, I went to a trip.  -->
	<pattern>
		<token>I</token>  
		<token regexp="yes">went|go</token>  
		<token>to</token>  
		<token>a</token>  
		<token>trip</token>  
	</pattern>
	<message>The usual collocation for "\2" and "a trip" is "\2 on a trip". Did you mean <suggestion>\2 on a trip</suggestion>? </message>
	<short>Collocation error</short>
</rule>	
<rule>
	<!--  Yes, I went to a trip.  -->
	<pattern>
		<token>in</token>  
		<token postag="PRP$"/>  
		<token regexp="yes">trip|trips</token>  
		<token>,</token>  
	</pattern>
	<message>The usual collocation for "\2 \3" is "on \2 trips" or "during \2 travels". Did you mean <suggestion>\2 on a trip</suggestion>? </message>
	<short>Collocation error</short>
</rule>	
<rule>
	<!--  I'm thinking in finish this text.  -->
	<pattern>
		<token regexp="yes">thinking</token>  
		<token>in</token>  
		<token regexp="yes">finish|finishing</token>  
		<token postag="DT"/>  
	</pattern>
	<message>The usual collocations for "thinking" are "thinking about" or "thinking of". Did you mean <suggestion>\1 about finishing \4</suggestion> or <suggestion>\1 of finishing \4</suggestion>? </message>
	<short>Collocation error</short>
</rule>	
<rule>
	<!-- I am responsable of marketing. -->
	<pattern>
		<token regexp="yes">responsible|responsable</token>  
		<token>of</token>  
	</pattern>
	<message>The usual collocations for "responsible" is "responsible for". Did you mean <suggestion>\1 for</suggestion> or <suggestion>in charge of</suggestion>? </message>
	<short>Collocation error</short>
</rule>	
<rule>
	<!--We were on shock when it happen. -->
	<pattern>
		<token inflected="yes">wait</token>  
		<token>after</token>  
		<token postag="PRP"/>  
	</pattern>
	<message>The usual collocations for "\1" is "\1 on," meaning act as an attendant to someone, or "\1 for" meaning to remain patiently inactive. Did you mean <suggestion>\1 for \3</suggestion>? </message>
	<short>Collocation error</short>
</rule>	
<rule>
	<!--We were on shock when it happen. -->
	<pattern>
		<token postag="PRP"/>  
		<token inflected="yes">be</token>  
		<marker>
			<token>on</token>
		</marker>
		<token>a</token> 
		<token>hospital</token> 
		<token>bed</token> 
	</pattern>
	<message>The usual preposition with "\6" is "in". Did you mean <suggestion>in a hospital bed</suggestion>? </message>
	<short>Collocation error</short>
</rule>	
<rule>
	<!--He lives from his brother’s money.-->
	<pattern>
		<token inflected="yes">live</token>  
		<marker>
			<token>from</token>
		</marker>
		<token postag="PRP$"/>  
		<token/> 
		<token regexp="yes">'|‘|’|`</token>
		<token>s</token>
		<token>money</token> 
	</pattern>
	<message>The usual preposition with "\8" is "off". Did you mean <suggestion>\1 off \3 \4's \7</suggestion>? </message>
	<short>Collocation error</short>
</rule>	
<rule>
	<!--They are anxious for his health. Parents are anxious for their children’s success. -->
	<pattern>
		<token>anxious</token> 
		<marker>
			<token regexp="yes">of|for</token>
		</marker>
		<token postag="PRP$"/>  
	</pattern>
	<message>The usual preposition with "\1" is "about". Did you mean <suggestion>anxious about</suggestion>? </message>
	<short>Collocation error</short>
</rule>	
<rule>
	<!--We were on shock when it happen. -->
	<pattern>
		<token inflected="yes">be</token>  
		<marker>
			<token>on</token>
		</marker>
		<token>shock</token> 
	</pattern>
	<message>The usual preposition with "\3" is "in". Did you mean <suggestion>in shock</suggestion>? </message>
	<short>Collocation error</short>
</rule>	
<rule>
	<pattern>
		<token inflected="yes">enter</token>  
		<marker>
			<token>in</token>
		</marker>
		<token postag="DT"/> 
		<token>
			<exception regexp="yes">space|book|file</exception>
		</token> 		
	</pattern>
	<message>There isn't usually a preposition after "\1". Did you mean <suggestion>\1 \3 \4</suggestion>? </message>
	<short>Collocation error</short>
</rule>	

<rule>
	<pattern>
		<token inflected="yes">go</token>  
		<marker>
			<token>to</token>
		</marker>
		<token>home</token> 
		<token>
			<exception>base</exception>
		</token> 		
	</pattern>
	<message>There isn't usually a preposition before "\3". Did you mean <suggestion>\1 \3</suggestion>? </message>
	<short>Collocation error</short>
</rule>	

<rule>
	<pattern>
		<token/> 
		<token>came</token>  
		<marker>
			<token>in</token>
		</marker>
		<token>the</token> 
		<token regexp="yes">living|livingroom|kitchen|bedroom|dining</token>	
		<token/> 
	</pattern>
	<message>The usual proposition after "\2" is "into" not "\3". The sentence "\1 \2 \3 \4 \5 \6" is a colloquial expression for "\1 had an orgasm in the \5 \6". Did you mean <suggestion>\1 \2 into \4 \5 \6</suggestion>, meaning "\1 arrived"? </message>
	<short>Collocation error</short>
</rule>	
<rule>
	<pattern>
		<token inflected="yes">arrive</token>  
		<marker>
			<token>on</token>
		</marker>
		<token>the</token> 
		<token>beach</token> 		
	</pattern>
	<message>The usual proposition after "\1" is "at" not "\2". Did you mean <suggestion>\1 at \3 \4 \5</suggestion>? </message>
	<short>Collocation error</short>
</rule>	
<rule>
	<pattern>
		<token inflected="yes">return</token>  
		<marker>
			<token>at</token>
		</marker>
		<token>home</token>  
	</pattern>
	<message>You do not need a preposition between "\1" and "\3". Did you mean <suggestion>\1 \3</suggestion>? </message>
	<short>Collocation error</short>
</rule>	
<rule>
	<pattern>
		<token inflected="yes">be</token>  
		<marker>
			<token>in</token>
		</marker>
		<token>pressure</token>  
	</pattern>
	<message>The usual collocation for "\3" is "under" not "\2". Did you mean <suggestion>under pressure</suggestion>? </message>
	<short>Collocation error</short>
</rule>	
<rule>
	<pattern>
		<token inflected="yes">Absorb</token>  
		<marker>
			<token>at</token>
		</marker>
	</pattern>
	<message>The usual collocation for "\1" is "in" not "\2". Did you mean <suggestion>\1 in</suggestion>? </message>
	<short>Collocation error</short>
</rule>	
<rule>
	<pattern>
		<token inflected="yes">Accuse</token>  
		<marker>
			<token>for</token>
		</marker> 
	</pattern>
	<message>The usual collocation for "\1" is "of" not "\2". Did you mean <suggestion>\1 of</suggestion>? </message>
	<short>Collocation error</short>
</rule>	
<rule>
	<pattern>
		<token>in</token>  
		<token>charge</token>  
		<marker>
			<token>for</token>
		</marker>
		<token/> 
		<token>
			<exception regexp="yes">monment|time</exception>
		</token> 
	</pattern>
	<message>The usual collocation for "in charge" is "of" not "for". Did you mean <suggestion>in charge of</suggestion>? </message>
	<short>Collocation error</short>
</rule>	

<rule>
	<pattern>
		<token>
			<exception>in</exception>
		</token>  
		<token inflected="yes">charge</token>  
		<marker>
			<token>for</token>
		</marker>
		<token>
			<exception regexp="yes">products|services</exception>
		</token> 
	</pattern>
	<message>The usual collocation for "\2" is "with" not "\3". Did you mean <suggestion>\2 with</suggestion>? </message>
	<short>Collocation error</short>
</rule>	
<rule>
	<pattern>
		<token>ashamed</token>  
		<marker>
			<token>from</token>
		</marker>
	</pattern>
	<message>The usual collocation for "\1" is "of" not "\2". Did you mean <suggestion>\1 of</suggestion>? </message>
	<short>Collocation error</short>
</rule>	
<rule>
	<pattern>
		<token inflected="yes">Arrive</token>  
		<marker>
			<token>at</token>
		</marker>
		<token>the</token>  
		<token regexp="yes">village|town|city|country|state|province|country</token> 
	</pattern>
	<message>The usual collocation for "\1" is "in" not "\2". Use "in" for geographical regions and "at" for a specific point. For a town, province, state, country or continent, use "in". For a restaurant, business, park or car, use "at". Did you mean <suggestion>\1 in</suggestion> or <suggestion>\1 at</suggestion>?</message>
	<short>Collocation error</short>
</rule>
<rule>
	<pattern>
		<token inflected="yes">Angry</token>  
		<marker>
			<token>with</token>
		</marker>
		<token>the</token>  
		<token regexp="yes">weather|situation</token> 
	</pattern>
	<message>Use "angry with" for people. Use "angry about" for situations  or weather. Did you mean <suggestion>\1 about the \4</suggestion>?</message>
	<short>Collocation error</short>
</rule>
<rule>
	<pattern>
		<token inflected="yes">accustom</token>  
		<marker>
			<token>with </token>
		</marker>
	</pattern>
	<message>The usual collocation for "\1" is "to" not "\2". Did you mean <suggestion>\1 to</suggestion>? </message>
	<short>Collocation error</short>
</rule>	
<rule>
	<pattern>
		<token>afraid</token>  
		<marker>
			<token>from </token>
		</marker> 
	</pattern>
	<message>The usual collocation for "\1" is "of" not "\2". Did you mean <suggestion>\1 of</suggestion>? </message>
	<short>Collocation error</short>
</rule>	
<rule>
	<pattern>
		<token>angry</token>  
		<marker>
			<token>against</token>
		</marker>
	</pattern>
	<message>The usual collocation for "\1" is "with" or "at" not "\2". Did you mean <suggestion>\1 with</suggestion> or <suggestion>\1 at</suggestion>? </message>
	<short>Collocation error</short>
</rule>	
<rule>
	<pattern>
		<token inflected="yes">aim</token>  
		<marker>
			<token>on</token>
		</marker>
	</pattern>
	<message>The usual collocation for "\1" is "at" not "\2". Did you mean <suggestion>\1 at</suggestion>? </message>
	<short>Collocation error</short>
</rule>	
<rule>
	<pattern>
		<token>believe</token>  
		<marker>
			<token>to</token>
		</marker>
		<token>
			<exception postag="VB"/>
		</token>  
	</pattern>
	<message>The usual collocation for "\1" is "in" not "\2". Did you mean <suggestion>\1 in</suggestion>? </message>
	<short>Collocation error</short>
</rule>	
<rule>
	<pattern>
		<token inflected="yes">boast</token>  
		<marker>
			<token>for</token>
		</marker>
	</pattern>
	<message>The usual collocation for "\1" is "of" or "about" not "\2". Did you mean <suggestion>\1 of</suggestion> or <suggestion>\1 about</suggestion>? </message>
	<short>Collocation error</short>
</rule>	
<rule>
	<pattern>
		<token>careful</token>  
		<marker>
			<token>for</token>
		</marker>
	</pattern>
	<message>The usual collocation for "\1" is "with" not "\2". Did you mean <suggestion>\1 with</suggestion>? </message>
	<short>Collocation error</short>
</rule>	
<rule>
	<pattern>
		<token inflected="yes">travel</token>  
		<marker>
			<token>with</token>
		</marker>
		<token postag="DT"/>  
		<token regexp="yes">train|bus|car|plane|jet|motorcycle|moto</token>  
	</pattern>
	<message>The usual collocation for "\1" is "by" not "\2". Did you mean <suggestion>\1 by \4</suggestion>? </message>
	<short>Collocation error</short>
</rule>	
<rule>
	<pattern>
		<token inflected="yes">complain</token>  
		<marker>
			<token>for</token>
		</marker>
	</pattern>
	<message>The usual collocation for "\1" is "about" not "\2". Did you mean <suggestion>\1 about</suggestion>? </message>
	<short>Collocation error</short>
</rule>	
<rule>
	<pattern>
		<token inflected="yes">compose</token>  
		<marker>
			<token>from</token>
		</marker>
	</pattern>
	<message>The usual collocation for "\1" is "of" not "\2". Did you mean <suggestion>\1 of</suggestion>? </message>
	<short>Collocation error</short>
</rule>	
<rule>
	<pattern>
		<token inflected="yes">cure</token>  
		<marker>
			<token>from</token>
		</marker>
	</pattern>
	<message>The usual collocation for "\1" is "of" not "\2". Did you mean <suggestion>\1 of</suggestion>? </message>
	<short>Collocation error</short>
</rule>	
<rule>
	<pattern>
		<token inflected="yes">cure</token> 
		<token postag="PRP"/>
		<token>from</token>  
	</pattern>
	<message>The usual collocation for "\1" is "of" not "\3". Did you mean <suggestion>\1 \2 of</suggestion>? </message>
	<short>Collocation error</short>
</rule>	
<rule>
	<pattern>
		<token inflected="yes">deprive</token>  
		<token>from</token>  
	</pattern>
	<message>The usual collocation for "\1" is "of" not "\2". Did you mean <suggestion>\1 of</suggestion>? </message>
	<short>Collocation error</short>
</rule>	
<rule>
	<pattern>
		<token inflected="yes">deprive</token> 
		<token postag="PRP"/>
		<token>from</token>  
	</pattern>
	<message>The usual collocation for "\1" is "of" not "\3". Did you mean <suggestion>\1 \2 of</suggestion>? </message>
	<short>Collocation error</short>
</rule>	
<rule>
	<pattern>
		<token inflected="yes">die</token>  
		<token>from</token>  
	</pattern>
	<message>The usual collocation for "\1" is "of" not "\2". Did you mean <suggestion>\1 of</suggestion>? </message>
	<short>Collocation error</short>
</rule>	
<rule>
	<pattern>
		<token inflected="yes">disappoint</token>  
		<token>from</token>  
	</pattern>
	<message>The usual collocation for "\1" is "with"  or "in" or "by" or "at"  or "about" not "\2". Did you mean <suggestion>\1 with</suggestion> or <suggestion>\1 in</suggestion> or <suggestion>\1 by</suggestion> or <suggestion>\1 at</suggestion> or <suggestion>\1 about</suggestion>? </message>
	<short>Collocation error</short>
</rule>	
<rule>
	<pattern>
		<token inflected="yes">divide</token>  
		<token postag="DT"/>
		<token/> 
		<marker>
			<token>in</token>
		</marker>
		<token>
			<exception>accordance</exception>
		</token> 	
	</pattern>
	<message>The usual collocation for "\1" is "into" not "\4". Did you mean <suggestion>\1 \2 \3 into</suggestion>? </message>
	<short>Collocation error</short>
</rule>	
<rule>
	<pattern>
		<token inflected="yes">doubt</token>  
		<token>for</token> 		
		<token>
			<exception scope="current" regexp="yes">example|exemple</exception>
		</token> 		
	</pattern>
	<message>The usual collocation for "\1" is "in" or "about" not "\4". Did you mean <suggestion>\1 in</suggestion> or <suggestion>\1 about</suggestion>? </message>
	<short>Collocation error</short>
</rule>	
<rule>
	<antipattern>
		<marker>
			<token inflected="yes">exception</token>
			<token>
				<exception>to</exception>
			</token>
		</marker>
		<token postag="DT"/>
		<token max="1" min="0" postag="JJ"/>
		<token regexp="yes">rules?</token>
	</antipattern>					

	<pattern>
		<token>
			<exception scope="current">with</exception>
		</token> 	
		<token>
			<exception scope="current">the</exception>
		</token> 	
		<token inflected="yes">exception</token>  
		<marker>
			<token>of</token>
		</marker>		
	</pattern>
	<message>The usual collocation for "\3" in this context is "to" not "\4". Did you mean <suggestion>\3 to</suggestion>? </message>
	<short>Collocation error</short>
</rule>
</rulegroup>

(Nicholas Walker) #4

Second to last section of the collocation rules I would like to contribute--and continued from above.

 <rulegroup id="COLLOCATION_ERRORS_4" name="Common errors">

    <rule id="EXCEPTION_PREPOSITION_THE_RULE" name="wrong preposition: 'exception PREPOSITION the rule' (exception to the rule)">
	<pattern>
		<marker>
			<token inflected="yes">exception</token>
			<token>
				<exception>to</exception>
			</token>
		</marker>
		<token postag="DT"/>
		<token max="1" min="0" postag="JJ"/>
		<token regexp="yes">rules?</token>
	</pattern>
	<message>Did you mean <suggestion>\1 to</suggestion>?</message>
	<short>Collocation error</short>
	<example correction="exception to">Graphite is an <marker>exception of</marker> the rule.</example>
	<example correction="Exceptions to">
		<marker>Exceptions regarding</marker> these general rules are in Table 3.</example>
	<example>Graphite is an <marker>exception to</marker> the rule.</example>
	<example>Graphite and graphene are <marker>exceptions to</marker> these general rules.</example>
	<example>... but we make an <marker>exception for</marker> the people who cannot...</example>
	<example>We make <marker>exceptions under</marker> some circumstances.</example>
</rule>
<rule>
	<pattern>
		<token inflected="yes">make</token> 	
		<token>an</token> 	
		<token>exception</token>  
		<marker>
			<token>to</token>
		</marker>	
		<token max="1" min="0" postag="JJ"/>		
		<token postag="NNS"/>		
	</pattern>
	<message>The usual collocation for "\3" in this context is "for" not "\4". Did you mean <suggestion>\3 to</suggestion>? </message>
	<short>Collocation error</short>
</rule>	

<rule>
	<pattern>
		<token postag_regexp="yes" postag="NNP|PRP"/>
		<token inflected="yes">dress</token>  
		<token>with</token>  

	</pattern>
	<message>The usual collocation for "\2" is "in" not "\3". Did you mean <suggestion>\1 \2 in</suggestion>? </message>
	<short>Collocation error</short>
</rule>	

<rule>
	<pattern>
		<token>full</token>  
		<token>with</token>  
	</pattern>
	<message>The usual collocation for "\1" is "of" not "\2". Did you mean <suggestion>\1 of</suggestion>? </message>
	<short>Collocation error</short>
</rule>	
<rule>
	<pattern>
		<token inflected="yes">rid</token>  
		<token>from</token>  
	</pattern>
	<message>The usual collocation for "\1" is "of" not "\2". Did you mean <suggestion>\1 of</suggestion>? </message>
	<short>Collocation error</short>
</rule>	
<rule>
	<pattern>
		<token>glad</token>  
		<token regexp="yes" >with|from</token>  
	</pattern>
	<message>The usual collocation for "\1" is "about" not "\2". Did you mean <suggestion>\1 about</suggestion>? </message>
	<short>Collocation error</short>
</rule>	
<rule>
	<pattern>
		<token inflected="yes">guard</token>  
		<token>from</token>  
	</pattern>
	<message>The usual collocation for "\1" is "against" not "\2". Did you mean <suggestion>\1 against</suggestion>? </message>
	<short>Collocation error</short>
</rule>	
<rule>
	<pattern>
		<token>guilty</token>  
		<token>for</token>  
		<token>
			<exception scope="current" postag="VBG"/>
			<exception scope="current">some</exception>
		</token>  
	</pattern>
	<message>The usual collocation for "\1" is "of" not "\2". Did you mean <suggestion>\1 of</suggestion>? </message>
	<short>Collocation error</short>
</rule>	
<rule>
	<pattern>
		<token regexp="yes">independent|independently</token>  
		<marker>
			<token>from</token>
		</marker>
		<token>
			<exception>now</exception>
		</token>  
	</pattern>
	<message>The usual collocation for "\1" is "of" not "\2". Did you mean <suggestion>\1 of</suggestion>? </message>
	<short>Collocation error</short>
</rule>	
<rule>
	<pattern>
		<token inflected="yes">insist</token>  
		<marker>
			<token>to</token>
		</marker>
		<token postag_regexp="yes" postag="VB|PRP\$"/>		
	</pattern>
	<message>The usual collocation for "\1" is "on" not "\2". Did you mean <suggestion>\1 on <match no="3" postag="VBG"/>
		</suggestion>? </message>
	<short>Collocation error</short>
</rule>	

<rule>
	<pattern>
		<token regexp="yes">interest|interested|interests</token>  
		<marker>
			<token>for</token>
		</marker>
		<token>
			<exception postag="VB"/>
		</token>		
	</pattern>
	<message>The usual collocation for "\1" is "in" not "\2". Did you mean <suggestion>\1 in</suggestion>? </message>
	<short>Collocation error</short>
</rule>	
<rule>
	<pattern>
		<token>jealous</token>  
		<marker>
			<token>from</token>
		</marker>
		<token>
			<exception postag="VB"/>
		</token>		
	</pattern>
	<message>The usual collocation for "\1" is "of" not "\2". Did you mean <suggestion>\1 of</suggestion>? </message>
	<short>Collocation error</short>
</rule>	
<rule>
	<pattern>
		<token>
			<exception regexp="yes">take|took|taking</exception>
		</token>
		<token inflected="yes">photo</token>  
		<token>with</token> 
		<token postag="PRP$"/>
		<token/>  		
	</pattern>
	<message>The usual collocation for "\2" is "of" not "\3". Did you mean <suggestion>\2 of \4 \5</suggestion>? </message>
	<short>Collocation error</short>
</rule>	
<rule>
	<pattern>
		<token>in</token>
		<token regexp="yes">this|that</token>  
		<token>moment</token> 
	</pattern>
	<message>The usual collocation for "\2 \3" is "at" not "\1". Did you mean <suggestion>At \2 \3</suggestion>? </message>
	<short>Collocation error</short>
</rule>	
<rule>
	<pattern>
		<token>tired</token>
		<token>about</token>  
	</pattern>
	<message>The usual collocation for "\1" is "of" or "from" not "\2". Did you mean <suggestion>tired of</suggestion> or <suggestion>tired from</suggestion>? </message>
	<short>Collocation error</short>
</rule>	
<rule id="DO_A_PARTY" name="A new roommate has moved in, so we decided to do a party with all of us.">
	<pattern>
		<token>to</token>
		<token regexp="yes">do|make</token>
		<token>a</token>
		<token>party</token>
	</pattern>
	<message>In English, the normal collocation for "party" is "have" or "throw".  Revise your sentence:  <suggestion>to throw a party</suggestion> or <suggestion>to have a party</suggestion>.</message>
	<short>Collocation error</short>
</rule>
<rule id="DOING_A_PARTY" name=" Each of us is in the twenty and we love doing the party..">
	<pattern>
		<token inflected="yes" regexp="yes">love|like</token>
		<marker>
			<token regexp="yes">doing|making</token>
		</marker>
		<token regexp="yes">the|a</token>
		<token>party</token>
	</pattern>
	<message>In English, the normal collocation for "party" is "have" or "throw".  Revise your sentence:  <suggestion>throwing a party</suggestion> or <suggestion>\1 partying</suggestion>.</message>
	<short>Collocation error</short>
</rule>
<rule>
	<pattern>
		<token>advertisement</token>
		<token>of</token>  
	</pattern>
	<message>The usual collocation for "\1" is "for" not "\2". Did you mean <suggestion>advertisement for</suggestion>? </message>
	<short>Collocation error</short>
</rule>	
<rule>
	<pattern>
		<token>stop</token>
		<token regexp="yes">me|you|him|her|it|us|them</token>  
		<token>of</token>  
		<token>
			<exception>course</exception>
		</token>  
	</pattern>
	<message>The usual collocation for "\1 \2" is "from" not "of". Did you mean <suggestion>stop \2 from \4</suggestion>? </message>
	<short>Collocation error</short>
</rule>	
<rule>
	<pattern>
		<token>in</token>
		<token postag="DT"/>  
		<token>album</token>  
	</pattern>
	<message>The usual collocation for "\3" is "on" not "in" when album refers to a collection of recorded music. If by "album" you mean a collection of photos, "in an album" is correct. Did you mean <suggestion>on \2 \3</suggestion>? </message>
	<short>Collocation error</short>
</rule>	
<rule>
	<pattern>
		<token>cure</token>
		<marker>
			<token>against</token>
		</marker>
	</pattern>
	<message>The usual collocation for "\1" is "for" not "against". Did you mean <suggestion>cure for</suggestion>? </message>
	<short>Collocation error</short>
</rule>	
<rule>
	<pattern>
		<token>to</token>
		<token>found</token> 
		<token>a</token> 	
		<token>cure</token> 		
	</pattern>
	<message>The verb "to found" means "to establish," but "to find" means "to discover." Did you mean <suggestion>to find a cure</suggestion>? </message>
	<short>Collocation error</short>
</rule>	

<rule>
	<!--  Even though some businessmen prefer unusual approaches to boost up their business identification, they get interested to identify the best approach to realize their desires on the business development. -->
	<pattern>
		<token inflected="yes">realize</token>
		<token postag_regexp="yes" postag="DT|PRP\$"/> 
		<token inflected="yes">desire</token>	
		<token>on</token> 		
		<token>the</token> 		
		<token>
			<exception regexp="yes">plane|train|bus|TV|television|way|trip</exception>
		</token>
	</pattern>
	<message>The usual collocation for "\3" is "for" not "\4". Did you mean <suggestion>\3 for \5 \6</suggestion>? </message>
	<short>Collocation error</short>
</rule>
<rule id="RETURN_IN_MONTREAL" name="While we were returning in Montreal, I have been arrested for speeding.">
	<pattern>
		<token inflected="yes">return</token>  
		<token regexp="yes">in|at</token>  
		<token>the</token>

    </pattern>
<message>The usual collocation for "\1" is "to" not "\2" with. Did you mean <suggestion>\1 to </suggestion>? </message>
<short>Collocation error</short>
</rule>	
<rule id="RETURN_IN_MONTREAL" name="While we were returning in Montreal, I have been arrested for speeding.">
	<pattern>
		<token inflected="yes">return</token>  
		<token regexp="yes">in|at</token>  
		<token postag="NNP">
			<exception regexp="yes">[0-9].*|January|February|March|April|May|June|July|August|September|October|November|December|night</exception>
		</token>
		<token>
			<exception postag="POS"/>
		</token>
	</pattern>
	<message>The usual collocation for "\1" is "to" not "\2" with. Did you mean <suggestion>\1 to \3</suggestion>? </message>
	<short>Collocation error</short>
</rule>	
<rule id="BROUGHT_THEM_IN_THE_AIRPORT" name="Friday came fast and the couple quitted their sweet house for took the bus who will brought them in the airport.">
	<pattern>
		<token inflected="yes">bring</token>  
		<token postag="PRP"/>
		<token regexp="yes">in|at</token>  
		<token postag="DT"/>
		<token postag="NN"/>
	</pattern>
	<message>The usual collocation for "\1" is "to" not "\3" with. Did you mean <suggestion>\1 \2 to \4 \5</suggestion>? </message>
	<short>Collocation error</short>
</rule>	
<rule id="CURATOR_OF" name="The man to whom you were speaking to was the curator on the exposition.">
	<pattern>
		<token>curator</token>  
		<token>on</token>  
		<token>the</token>  
		<token/>  
	</pattern>
	<message>The usual collocation for "curator" is "of" not "\2". Did you mean <suggestion>\1 of \3 \4</suggestion>? </message>
	<short>Collocation error</short>
</rule>	
<rule id="CLOSER_FROM" name="I moved in July to be closer from school.">
	<pattern>
		<token regexp="yes">closer|near</token>  
		<token>from</token>  
		<token/>  
	</pattern>
	<message>The usual collocation for "\1" is "to" not "from". Did you mean simply <suggestion>\1 to</suggestion> or <suggestion>further from</suggestion>? </message>
	<short>Collocation error</short>
</rule>	
<rule id="A_MY" name="article + possessive form">
	<pattern case_sensitive="yes">
		<token postag="DT">
			<exception regexp="yes">neither|either|that|all|much</exception>
		</token>  
		<token postag="PRP$">
			<exception regexp="yes">My|Your|Our|His|Her|Their</exception>
		</token>  
		<token/>  
	</pattern>
	<message>A determiner cannot combine with a possessive pronoun.  Did you mean simply <suggestion>\2 \3</suggestion> or <suggestion>\1 \3</suggestion>? </message>
	<short>Collocation error</short>
</rule>	
<rule id="ENROLLED_IN_FOR" name="I enrolled international school">
	<pattern>
		<token postag="PRP"/>  
		<token>enrolled</token>
		<token>
			<exception postag="IN" />
		</token>
	</pattern>
	<message>The usual collocation for "\2" is "in" (a school) or "for" (a course). Did you mean <suggestion>\1 \2 in...</suggestion> or <suggestion>\1 \2 for...</suggestion>? </message>
	<short>Collocation error</short>
</rule>		   
<rule id="STEPS_TO_DO" name="steps to take">
	<pattern>
		<token inflected="yes">step</token>  
		<token>to</token>
		<token>do</token>
	</pattern>
	<message>The usual collocation for "\1" is "take". Did you mean <suggestion>\1 \2 take</suggestion>? </message>
	<short>Collocation error</short>
</rule>
<rule id="GOING_TO_VACATION" name="going on vacation">
	<pattern>
		<token inflected="yes">go</token>  
		<token>to</token>
		<token regexp="yes">vacation|holiday</token>
	</pattern>
	<message>The usual collocation for "\3" is "on." Did you mean <suggestion>\1 on \3</suggestion>? </message>
	<short>Collocation error</short>
</rule>		   
<rule id="STEPS_TO_DO" name="steps to take">
	<pattern>
		<token inflected="yes">step</token>  
		<token>to</token>
		<token>do</token>
	</pattern>
	<message>The usual collocation for "\1" is "take." Did you mean <suggestion>\1 \2 take</suggestion>? </message>
	<short>Collocation error</short>
</rule>
<rule id="IN_FACEBOOK" name="I came by plane">
	<pattern>
		<token>in</token>  
		<token regexp="yes">Facebook|Twitter|Pinterest|Wikipedia|Amazon|LinkedIn|Yahoo|Blogger</token>
	</pattern>
	<message>The usual collocation for "\2" is "on". Did you mean <suggestion>on \2</suggestion>? </message>
	<short>Collocation error</short>
</rule>
<rule id="WRITE_IN_MY_OWN_PAGE" name="Write on my page">
	<pattern>
		<token inflected="yes">write</token>
		<token>in</token>  
		<token postag_regexp="yes" postag="PRP\$|DT"/>
		<token regexp="yes">page|pages|blog|blogs|webpage|webpages|wall|walls</token> 
	</pattern>
	<message>The usual collocation for "\1" is "on". Did you mean <suggestion>\1 on \3 \4</suggestion>? </message>
	<short>Collocation error</short>
</rule>
<rule id="WRITE_IN_MY_OWN_PAGE" name="Write on my own page">
	<pattern>
		<token inflected="yes">write</token>
		<token>in</token>  
		<token postag="PRP$"/>
		<token>own</token>
		<token regexp="yes">page|pages|blog|blogs|webpage|webpages|wall|walls</token> 
	</pattern>
	<message>The usual collocation for "\1" is "on". Did you mean <suggestion>\1 on \3 \4 \5</suggestion>? </message>
	<short>Collocation error</short>
</rule>
<rule id="WRITE_X_IN_MY_OWN_PAGE" name="Write on my own page">
	<pattern>
		<token inflected="yes">write</token>
		<token negate="yes">on</token>
		<token>in</token>  
		<token postag="PRP$"/>
		<token>own</token>
		<token regexp="yes">page|pages|blog|blogs|webpage|webpages|wall|walls</token> 
	</pattern>
	<message>The usual collocation for "\1" is "on". Did you mean <suggestion>\1 ... on \4 \5 \6</suggestion>? </message>
	<short>Collocation error</short>
</rule>
<rule id="WRITE_X_X_IN_MY_OWN_PAGE" name="Write on my own page">
	<pattern>
		<token inflected="yes">write</token>
		<token negate="yes">on</token>
		<token negate="yes">on</token>
		<token>in</token>  
		<token postag="PRP$"/>
		<token>own</token>
		<token regexp="yes">page|pages|blog|blogs|webpage|webpages|wall|walls</token> 
	</pattern>
	<message>The usual collocation for "\1" is "on". Did you mean <suggestion>\1 ... on \5 \6 \7</suggestion>? </message>
	<short>Collocation error</short>
</rule>
<rule id="COME_TO_PLANE" name="I came by plane">
	<pattern>
		<token postag="PRP"/>
		<token inflected="yes">come</token>
		<token>to</token>
		<token regexp="yes">plane|train|bus|car|metro|subway|airplane|bike|motorcycle</token> 
	</pattern>
	<message>The usual collocation for "\2" is "by." Did you mean <suggestion>\1 \2 by \4</suggestion>? </message>
	<short>Collocation error</short>
</rule>
<rule id="DIVERSITY_OF" name="a diversity of colours OR diverse colours">
	<pattern>
		<token postag="DT"/>
		<token regexp="yes">diversity|diversitie</token>
		<token postag="NNS">
			<exception postag_regexp="yes" postag="NN|NN:U|NN:UN|PRP\$" />
		</token>
	</pattern>
	<message>You are missing the word "of" between "\2" and "\3". Did you mean <suggestion>\2 of \3</suggestion> or <suggestion>diverse \3</suggestion>? </message>
	<short>Collocation error</short>
</rule>
<rule id="that_I_work_for" name="The company that I work is Cosme Inc..">
	<pattern>
		<token postag="DT"/>
		<token regexp="yes">company|person|guy|man|firm</token>
		<token regexp="yes">that|which|who</token>
		<token postag="PRP"/>
		<token regexp="yes" inflected="yes">work</token>
		<token regexp="yes" inflected="yes">be</token>
	</pattern>
	<message>You are missing the word 'for' between "\5" and '\6'. Did you mean <suggestion>\1 \2 that \4 \5 for \6</suggestion>? </message>
	<short>Collocation error</short>
</rule>
<rule id="WAITING_MY_PATIENT" name="a diversity of colours OR diverse colours">
	<pattern>
		<token inflected="yes">wait</token>
		<token postag="PRP$"/>
		<token postag_regexp="yes" postag="NN.*"/>
	</pattern>
	<message>You are missing the word 'for' between "\1" and "\1 \2". Did you mean <suggestion>\1 for \2 \3</suggestion>? </message>
	<short>Collocation error</short>
</rule>
<rule id="WAITING_MY_PATIENT_FINISH" name="a diversity of colours OR diverse colours">
	<pattern>
		<token inflected="yes">wait</token>
		<token postag="PRP$"/>
		<token postag_regexp="yes" postag="NN.*"/>
		<token postag="VB"/>
	</pattern>
	<message>You are missing the word "to" before the infinitive form "\4". Did you mean <suggestion>\2 \3 to \4</suggestion>? </message>
	<short>Collocation error</short>
</rule>
<rule id="TRAVELED_FOR" name="I traveled four days">
	<pattern>
		<token postag="PRP"/>
		<token regexp="yes">traveled|travelled</token>
		<token postag="CD"/>
		<token regexp="yes">hours|hour|days|day|weeks|week|months|month|years|year|sessions|session|semester|semesters|term|terms|course|courses</token> 
	</pattern>
	<message>You are missing the word "for" between "\2" and "\3". Did you mean <suggestion>\1 traveled for \3 \4</suggestion>? </message>
	<short>Collocation error</short>
</rule>
<rule id="RESPECTFUL_AGAINST" name="Respectful toward">
	<pattern>
		<token regexp="yes">disrespectful|respectful</token>
		<token>against</token>
	</pattern>
	<message>The usual collocation for "\1" is 'toward' but never 'toward'. Did you mean <suggestion>\1 toward</suggestion>? </message>
	<short>Collocation error</short>
</rule>
<rule id="DISAPPOINTED_OF" name="Disappointed with, at, or by: We could be disappointed of this announcement.">
	<pattern>
		<token>disappointed</token>
		<token>of</token>
		<token/>
	</pattern>
	<message>The usual collocation for 'disappointed' is 'with', 'at', of 'by, but never "of". Did you mean <suggestion>\1 with \3</suggestion>? </message>
	<short>Collocation error</short>
</rule>
<rule id="ACCOUNTS_FOR" name="The use of symbolism is an important writing technique that accounts a crucial contribution on the novel.">
	<pattern>
		<token regexp="yes">that|which</token>
		<token inflected="yes">account</token>
		<token regexp="yes">a|an</token>
		<token/>
	</pattern>
	<message>You seem to be missing a word. Usually the verb "account" is followed by "for". Did you mean <suggestion>\1 \2 for \3 \4</suggestion>? </message>
	<short>Collocation error</short>
</rule>
<rule id="on_the_novel" name="The use of symbolism is an important writing technique that accounts a crucial contribution on the novel.">
	<pattern>
		<token inflected="yes">contribution</token>
		<marker>
			<token>on</token>
		</marker>
		<token>
			<exception>time</exception>
		</token>
	</pattern>
	<message>The usual preposition for "contribution" is "to". Did you mean <suggestion>\1 to \3</suggestion>? </message>
	<short>Collocation error</short>
</rule>
<rule id="ARRIVED_IN" name="I arrived dowtown">
	<pattern>
		<token inflected="yes">arrive</token>
		<token>in</token>
		<token>the</token>
		<token>downtown</token>
		<token>.</token>
	</pattern>
	<message>Did you mean simply <suggestion>\1 \4</suggestion>? You do not need the word 'in' here.</message>
	<short>Collocation error</short>
</rule>
<rule id="MENTION_ABOUT" name="When I consider about">
	<pattern>
		<token inflected="yes" regexp="yes">discuss|consider|mention</token>
		<marker>
			<token>about</token>
		</marker>
		<token/>
	</pattern>
	<message>Did you mean simply <suggestion>\1 \3</suggestion>? You do not need the word "about" here.</message>
	<short>Collocation error</short>
</rule>
<rule id="ASSOCIATES_TO" name="She associates her layoff with">
	<pattern>
		<token regexp="yes">associate|associates|associated</token>
		<token postag="PRP$"/>
		<token/>
		<token>to</token>
	</pattern>
	<message>Did you mean <suggestion>\1 \2 \3 with</suggestion>? The usual preposition for the word 'associate' is 'with' not 'to'.</message>
	<short>Extra preposition</short>
</rule>
<rule id="NAMED_IT_AS" name="They named it as...">
	<pattern>
		<token>named</token>
		<token>it</token>
		<token>as</token>
		<token/>
	</pattern>
	<message>Did you mean simply <suggestion>named it \4</suggestion>? You do not need the word 'as' here.</message>
	<short>Extra preposition</short>
	<example type="correct">A <marker>lot of</marker> people were late.</example>
	<example correction="of" type="incorrect">A <marker>lot</marker> people were late.</example>
</rule>
<rule id="INTERESTED_BY" name="I am not interested by this job.">
	<pattern>
		<token regexp="yes">interest|interested</token>
		<token>by</token>
	</pattern>
	<message>In English, people don't say "\1 by'. They say, "\1 in'.  Did you mean <suggestion>\1 in</suggestion>?</message>
	<short>Collocation error</short>
	<example correction="certain" type="incorrect">It is <marker>sure</marker> that my English will improve.</example>
</rule>
<rule id="AT_THE_JOB" name="I do personal stuff at (on) the job.">
	<pattern>
		<token>at</token>
		<token>the</token>
		<token>job</token>
	</pattern>
	<message>In English, people don't say "\1 \2 \3". They say, 'on \2 \3' or 'at work'.  Did you mean <suggestion>on the job</suggestion> or <suggestion>at work</suggestion>?</message>
	<short>Collocation error</short>
	<example correction="certain" type="incorrect">It is <marker>sure</marker> that my English will improve.</example>
</rule>
<rule id="ANALYSIS_ABOUT" name="I spend it for my essence">
	<pattern>
		<token>analysis</token>
		<token>about</token>
	</pattern>
	<message>In English, people don't say 'analysis about'. They say, 'analysis of'.  Did you mean <suggestion>analysis of</suggestion>?</message>
	<short>Collocation error</short>
	<example correction="certain" type="incorrect">It is <marker>sure</marker> that my English will improve.</example>
</rule>

<rule id="IT_IS_SURE" name="I spend it for my essence">
	<pattern>
		<token>it</token>
		<token>is</token>
		<token>sure</token>
	</pattern>
	<message>In English, people don't say 'it is sure'. They say, 'it is certain that'.  Did you mean <suggestion>it is certain</suggestion>?</message>
	<short>Collocation error</short>
	<example correction="certain" type="incorrect">It is <marker>sure</marker> that my English will improve.</example>
</rule>
<rule id="SPEND_IT_FOR" name="I spend it for my essence">
	<pattern>
		<token>spend</token>
		<token>it</token>
		<token>for</token>
	</pattern>
	<message>The usual prepositions that follow 'spend it' are either "on" or 'in'. Did you mean <suggestion>spend it on</suggestion>?</message>
	<short>Collocation error</short>
	<example correction="on" type="incorrect">I spend it <marker>for</marker> my essence (fuel).</example>
</rule>
<rule id="BY_EXEMPLE" name="By example, spelling can affect pattern matching">
	<pattern>
		<token postag="SENT_START"/>
		<token regexp="yes">By|par</token>
		<token regexp="yes">example|exemple</token>
	</pattern>
	<message>The best translation for the introductory phrase "par exemple" is 'for example'. Did you mean <suggestion>For example</suggestion>?</message>
	<short>Collocation error</short>
	<example correction="For" type="incorrect">
		<marker>By</marker> example, poor spelling makes pattern matching more difficult.</example>
</rule>
<rule id="WHAT_WE_CALL" name="I'm not what we call a bilingual">
	<pattern>
		<token>made</token>
		<token>me</token>
		<token>a</token>
		<token>gesture</token>
		<token>of</token>
		<token>greeting</token>
	</pattern>
	<message>This is awkward. Did you mean <suggestion>waved at me</suggestion>?</message>
	<short>Translation error</short>
	<example correction="you would call" type="incorrect">I'm not what <marker>we call</marker> perfectly bilingual.</example>
</rule>
<rule id="WHAT_WE_CALL" name="I'm not what we call a bilingual">
	<pattern>
		<token regexp="yes">m|am|is|are</token>
		<token>not</token>
		<token>what</token>
		<token>we</token>
		<token>call</token>
	</pattern>
	<message>This is awkward. Did you mean <suggestion>\2 \3 you would call</suggestion>?</message>
	<short>Collocation error</short>
	<example correction="you would call" type="incorrect">I'm not what <marker>we call</marker> perfectly bilingual.</example>
</rule>

    <rule>
	<pattern>
		<token>
			<exception inflected="yes">give</exception>
		</token>
		<token regexp="yes">consequences|consequence</token>
		<token postag="IN">
			<exception regexp="yes">of|for</exception>
		</token>
	</pattern>
	<message>The usual prepositions to use after "\2" is "of" or 'for' not "\3". For example, 'Think about the consequence <em>of</em> inflation <em>for</em> the economy.' Did you mean <suggestion>of</suggestion> or <suggestion>for</suggestion>?</message>
	<short>Collocation error</short>
	<example correction="for" type="incorrect">The new labour laws will have consequences<marker>on</marker> employees.</example>
</rule>
<rule>
	<pattern>
		<token inflected="yes">ask</token>
		<token>to</token>
		<token>all</token>
		<token postag="DT"/>
		<token/>
	</pattern>
	<message>This is a collocation error. You do not need a preposition after "\1'. Remove it: <suggestion>\1 \3 \4 \5</suggestion>.</message>
	<short>Collocation error</short>
	<example correction="for" type="incorrect">The new labour laws will have consequences<marker>on</marker> employees.</example>
</rule>
<rule>
	<pattern>
		<token>
			<exception inflected="yes">shoot</exception>
		</token>
		<token>at</token>
		<token>the</token>
		<token regexp="yes">living|livingroom|kitchen|bedroom|dining</token>
		<token/>
	</pattern>
	<message>This is a collocation error. Use "in" for rooms. Revise: <suggestion>\1 in \3 \4 \5</suggestion>.</message>
	<short>Collocation error</short>
	<example correction="for" type="incorrect">The new labour laws will have consequences<marker>on</marker> employees.</example>
</rule>


<rule>
	<pattern>
		<!-- We booked for 8 tickets but we only received an invoice of 7 tickets, suppiler not yes issure invoice of Ms Tuyen for our. -->
		<token postag_regexp="yes" postag="DT|VBZ|VBP|VBD|VBG"/>
		<token>invoice</token>
		<marker>
			<token>of</token>
		</marker>
		<token/>
	</pattern>
	<message>The usual prepositions to use after "\1 \2" is "for" not "of". Did you mean <suggestion>\1 \2 for \4</suggestion>?</message>
	<short>Collocation error</short>
	<example correction="for" type="incorrect">The new labour laws will have consequences<marker>on</marker> employees.</example>
</rule>
<rule>
	<pattern>
		<token>in</token>
		<token regexp="yes">exchange</token>
		<marker>
			<token>of</token>
		</marker>
		<token/>
	</pattern>
	<message>The usual prepositions to use after "\1 \2" is "for" not "of". Did you mean <suggestion>\1 \2 for \4</suggestion>?</message>
	<short>Collocation error</short>
	<example correction="for" type="incorrect">The new labour laws will have consequences<marker>on</marker> employees.</example>
</rule>
<rule>
	<pattern>
		<token regexp="yes">filled|fill|fills|filling</token>
		<token postag="DT"/>
		<token/>
		<token>of</token>
		<token/>
	</pattern>
	<message>The usual prepositions to use after "\1" is 'with' not "\2" Did you mean <suggestion>\1 \2 \3 with \5 [...]</suggestion>?</message>
	<short>Collocation error</short>
	<example correction="for" type="incorrect">The new labour laws will have consequences<marker>on</marker> employees.</example>
</rule>
<rule>
	<!-- The company's name is Denver  Inc. and its located on 11056 Henri-Bourassa street. T -->
	<pattern>
		<token>located</token>
		<marker>
			<token>on</token>
		</marker>
		<token postag="CD"/>
		<token regexp="yes">[A-Z][a-z].*</token>
		<token regexp="yes">Street|Road|Blvd|Boulevard|Avenue|Ave|St|Rd</token>
	</pattern>
	<message>The usual preposition for an exact address is "at" not "on". Did you mean <suggestion>located at \3 <match no="4" case_conversion="startupper" />
			<match no="5" case_conversion="startupper" />
		</suggestion>?</message>

	<short>Collocation error</short>
</rule> 
<rule>
	<!-- The company's name is Denver  Inc. and its located on 11056 Henri-Bourassa street. T -->
	<pattern case_sensitive="yes">
		<token>located</token>
		<marker>
			<token>on</token>
		</marker>
		<token postag="CD"/>
		<token regexp="yes">[A-Z][a-z].*</token>
		<token regexp="yes">[A-Z][a-z]+</token>
		<token regexp="yes">Street|Road|Blvd|Boulevard|Avenue|Ave|St|Rd</token>
	</pattern>
	<message>The usual preposition for an exact address is "at" not "on". Did you mean <suggestion>located at \3 <match no="4" case_conversion="startupper" />
			<match no="5" case_conversion="startupper" />
			<match no="6" case_conversion="startupper" />
		</suggestion>?</message>

	<short>Collocation error</short>
</rule> 
<rule>
	<!-- The button is on the middle of the screen. -->
	<pattern>
		<marker>
			<token>on</token>
		</marker>
		<token>the</token>
		<token regexp="yes">sewers|sewer|hole|pit|middle|center</token>
		<token>
			<exception postag_regexp="yes" postag="NN|NN:U|NN:UN|NNS" />
		</token>
	</pattern>
	<message>The usual prepositions to use when surrounded is "in" not "on". Did you mean <suggestion> in \2 \3</suggestion>?</message>

	<short>Collocation error</short>
</rule> 
<rule>
	<!-- The button is on the top left corner of the screen. -->
	<pattern>
		<marker>
			<token>on</token>
		</marker>
		<token>the</token>
		<token regexp="yes">top|bottom</token>
		<token regexp="yes">right|left</token>
		<token>corner</token>
	</pattern>
	<message>The usual prepositions to use with a corner "in" not "on". Did you mean <suggestion> in \2 \3 \4 corner</suggestion>?</message>
	<short>Collocation error</short>
</rule>
</rulegroup>

(Nicholas Walker) #5

Last bit. I hope you find them useful.

<rulegroup id="COLLOCATION_ERRORS_5" name="Common errors">

    <rule>
	<!--  the roof will be similar as a church. -->
	<pattern>
		<token>similar</token>
		<marker>
			<token>as</token>
		</marker>
		<token regexp="yes">a|an</token>
		<token/>
		<token>
			<exception inflected="yes">be</exception>
		</token>
	</pattern>
	<message>The usual prepositions to use with "similar" is "to" not "as". Did you mean <suggestion>similar to \3 \4</suggestion>?</message>

	<short>Collocation error</short>
</rule>


<rule>
	<!--  All the people he met were very kind with him. -->
	<pattern>
		<token>kind</token>
		<marker>
			<token>with</token>
		</marker>
		<token postag_regexp="yes" postag="NNP|PRP|NNS|PRP\$"/>
	</pattern>
	<message>The usual preposition to use with "kind" is "to." Did you mean <suggestion>kind to</suggestion>?</message>

	<short>Collocation error</short>
</rule>

<rule>
	<!-- Finally, the boss called us all to come in her giant office for a meeting. -->
	<pattern>
		<token inflected="yes">come</token>
		<marker>
			<token>in</token>
		</marker>
		<token postag="PRP$"/>
		<token min="0" postag="JJ"/>
		<token>office</token>
	</pattern>
	<message>The words "come in" and "come to" have different meanings. "Come in \3 office" means "have an orgasm in \3 office." "Come to" or "Come into" means "enter." Did you mean <suggestion>come to</suggestion> or <suggestion>come into</suggestion>?</message>

	<short>Collocation error</short>
</rule> 

<rule>
	<!-- It is very important for them because motivation in study is the best ways for them to get good mark and high spirit in study process.  -->
	<pattern>
		<token>motivation</token>
		<marker>
			<token>in</token>
		</marker>
		<token>study</token>
	</pattern>
	<message>Do not use "motivation in study." Use a "to" + infinitive form instead. Did you mean <suggestion>motivation to study</suggestion>?</message>

	<short>Collocation error</short>
</rule> 

<rule>
	<!-- The button is in the left hand side of the screen. -->
	<pattern>
		<marker>
			<token>in</token>
		</marker>
		<token>the</token>
		<token regexp="yes">right|left</token>
		<token min="0">hand</token>
		<token>side</token>
	</pattern>
	<message>The usual prepositions to use when in contact with the side is "on" not "in". Did you mean <suggestion> on \2 \3 hand \5</suggestion>?</message>

	<short>Collocation error</short>
</rule> 
<rule>
	<!-- The button is in the top of the screen. -->
	<pattern>
		<marker>
			<token>in</token>
		</marker>
		<token>the</token>
		<token regexp="yes">top|bottom</token>
		<token>of</token>
		<token>the</token>
		<token>screen</token>
	</pattern>
	<message>The usual prepositions to use with bottom or top is "at" not "in". Did you mean <suggestion> at \2 \3</suggestion>?</message>
	<short>Collocation error</short>
</rule> 




<rule>
	<!-- The button is in the left hand side of the screen. -->
	<pattern>
		<token postag_regexp="yes" postag="JJ|DT"/>
		<token regexp="yes">breakfast|lunch|dinner|supper|snack|meal|feast</token>
		<marker>
			<token>to</token>
		</marker>
		<token postag="PRP$"/>
		<token postag_regexp="yes" postag="NN|NN:U|NN:UN|NNS"/>
	</pattern>
	<message>The usual prepositions to use when you do something for the benefit of another person is "for". Did you mean <suggestion> \2 for \4 \5</suggestion>?</message>

	<short>Collocation error</short>
</rule> 

<rule id="DIFFICULT_TO_ME" name="It was very difficult to me to communicate">
	<pattern>
		<token>difficult</token>
		<token>to</token>
		<token postag="PRP"/>
	</pattern>
	<message>The usual preposition to follow "difficult" is 'for" when followed by a pronoun. "Difficult" and "to" only appear together when "to" forms part of an infinitive structure.  Did you mean <suggestion>\1 for \3</suggestion>?</message>
	<short>Collocation error</short>
	<example correction="for" type="incorrect">Studying grammar is difficult <marker>for</marker> me.</example>
</rule>
</rulegroup>

(Daniel Naber) #6

Hi Nicholas, thanks for your contribution. The <example> is required for us to accept rules, as it's used in automatic tests. <url> and <short> are indeed optional.


(Tiago F. Santos) #7

Many thanks Bokomaru. The logic of the rules seems good.

I attach a text file with those. I had to call it .html because the forum does not accept .txt (at least with my permissions). Open it as a text file in notepad/gedit or any other text editor you use. In the browser I guess it won't work.

bokomaru-temp.html (92.1 KB)

I fixed a few problems, including the example line. This was automated, so<example> still needs to have<marker> tags added and proper suggestion placed inside correction=' '.
This should save you some time editing.


(Tiago F. Santos) #8

(Nicholas Walker) #9

Thanks! That was kind of you.


(Tiago F. Santos) #10

Hi Bokomaru,

By now most rules are already integrated. They were a major contribution, as you can see in the changelog.
If you have more rules in the same development state that you want to contribute, just post them. I will try to review them and integrate them gradually in the coming months.

Best regards.


(Nicholas Walker) #11

Hi Tiago,

That’s great news! Thanks for helping fix up the rules. LT is important to me, and so I want to help out if I can.

As for more rules, I do have many more to share. Let me see what I can dig up. Would you prefer I post them as preformatted text or attach them as an HTML file?

Best wishes,
Nick

P.S. Please, call me Nick. Bokomaru is just a username.


(Tiago F. Santos) #12

Hi Nick,

In the internet, I never know if people prefer the alias. Apologies for that.

We are the ones to thank you.

If they compile, it would be better to add them via git, so credit for your contributions remains in the git log.
Anyway, I am adding a line with credits to every rule, so, if it is too much work, or if the rules are not fully compliant with testrules, you can post them here. If it is in an HTML file, then the better.

Best regards,

Tiago