Revision: 6045
http://languagetool.svn.sourceforge.net/languagetool/?rev=6045&view=rev
Author: tattoi
Date: 2011-12-16 16:08:57 +0000 (Fri, 16 Dec 2011)
Log Message:
-----------
Modified Paths:
--------------
trunk/JLanguageTool/src/rules/tl/grammar.xml
Modified: trunk/JLanguageTool/src/rules/tl/grammar.xml
===================================================================
--- trunk/JLanguageTool/src/rules/tl/grammar.xml 2011-12-16 15:53:51 UTC
(rev 6044)
+++ trunk/JLanguageTool/src/rules/tl/grammar.xml 2011-12-16 16:08:57 UTC
(rev 6045)
@@ -9,14 +9,14 @@
$Id: grammar.xml,v 1.129 2010/11/13 23:24:21 dnaber Exp $
-->
<rules lang="tl" xsi:noNamespaceSchemaLocation="../rules.xsd"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xmlns:xs="http://www.w3.org/2001/XMLSchema">
- <category name="Sound and Letter Change">
- <rule id="D" name="d (r)">
+ <category name="Alternation of D and R">
+ <rule id="D_WORDS" name="Sound and Letter Change from 'd' to
'r'">
<pattern case_sensitive="no" mark_from="1">
<token regexp="yes">.*[aeiou]</token>
<token
regexp="yes">ding?|dito|ditong|daw|diyang?|dyang?|doong?</token>
</pattern>
<message> Do you mean <suggestion><match no="2"
case_conversion="startlower" regexp_match=".(.*)"
regexp_replace="r$1"/></suggestion>? If the preceding word ends with a vowel,
<match no="2"/> should start with the letter R.</message>
- <short>Sound and Letter Change</short>
+ <short>Alternation of 'd' and 'r'</short>
<example correction="rin" type="incorrect">Baka ang
tingin mo ay talo ka <marker>din</marker>.</example>
<example correction="rito" type="incorrect">Kinuha ko
ito <marker>dito</marker>.</example>
<example correction="raw" type="incorrect">Natalo ka
<marker>daw</marker> sa pustahan.</example>
@@ -45,7 +45,7 @@
<token regexp="yes">daang?</token>
</pattern>
<message> Do you mean <suggestion><match no="3"
case_conversion="startlower" regexp_match=".(.*)"
regexp_replace="r$1"/></suggestion>? If the preceding word ends with a vowel,
<match no="3"/> should start with the letter R.</message>
- <short>Sound and Letter Change</short>
+ <short>Alternation of 'd' and 'r'</short>
<example correction="raan" type="incorrect">Nasa apat
na <marker>daan</marker> ang dumating.</example>
<example correction="raang" type="incorrect">Nasa apat
na <marker>daang</marker> tao ang dumating.</example>
<example type="correct">Nasa apat na
<marker>raan</marker> ang dumating.</example>
@@ -55,13 +55,13 @@
<example type="correct">Nagbayad sila ng anim na
<marker>raang</marker> piso sa tindera.</example>
<example type="correct">May limang
<marker>daang</marker> piso ka ba?</example>
</rule>
- <rule id="R" name="r (d)">
+ <rule id="R WORDS" name="Sound and Letter Change from 'r' to
'd'">
<pattern case_sensitive="no" mark_from="1">
<token
regexp="yes">.*[bcdfghjklmnpqrstvwxyz]</token>
<token
regexp="yes">ring?|rito|ritong|raw|riyang?|roong?</token>
</pattern>
<message> Do you mean <suggestion><match no="2"
case_conversion="startlower" regexp_match=".(.*)"
regexp_replace="d$1"/></suggestion>? If the preceding word ends with a vowel,
<match no="2"/> should start with the letter D.</message>
- <short>Sound and Letter Change</short>
+ <short>Alternation of 'd' and 'r'</short>
<example correction="din" type="incorrect">Baka ang
tingin mo ay pangit <marker>rin</marker> ikaw.</example>
<example correction="dito" type="incorrect">Kinuha ko
itong lapis <marker>rito</marker>.</example>
<example correction="daw" type="incorrect">Matapang
<marker>raw</marker> ikaw.</example>
@@ -89,7 +89,7 @@
<token regexp="yes">raang?</token>
</pattern>
<message> Do you mean <suggestion><match no="2"
case_conversion="startlower" regexp_match=".(.*)"
regexp_replace="d$1"/></suggestion>? If the preceding word ends with a vowel,
<match no="2"/> should start with the letter D.</message>
- <short>Sound and Letter Change</short>
+ <short>Alternation of 'd' and 'r'</short>
<example correction="daan" type="incorrect">Nasa
tatlong <marker>raan</marker> ang dumating.</example>
<example correction="daang" type="incorrect">Nasa
tatlong <marker>raang</marker> tao ang dumating.</example>
<example type="correct">Nasa tatlong
<marker>daan</marker> ang dumating.</example>
@@ -100,51 +100,71 @@
<example type="correct">May apat na
<marker>raang</marker> piso ka ba?</example>
</rule>
</category>
+ <category name="Affix Usage">
+ <rule id="NAG-" name="nag- (-um-)">
+ <pattern case_sensitive="yes" mark_from="0">
+ <token
regexp="yes">nag(bisita|buhay|bulong|bunot|buo|daing|damay|dapo|dating|dayo)</token>
+ </pattern>
+ <message>Do you mean <suggestion><match no="1"
regexp_match="nag(.)(.*)"
regexp_replace="$1um$2"></match></suggestion>?</message>
+ <short>Wrong Actor Affix</short>
+ <example correction="bumunot" type="incorrect">Ang
dentista ay <marker>nagbunot</marker> ng ngipin.</example>
+ <example type="correct">Ang dentista
ay<marker>bumunot</marker> ng ngipin</example>
+ </rule>
+ <rule id="NAG-_SS" name="Nag- (CL-um-)">
+ <pattern case_sensitive="yes" mark_from="0">
+ <token
regexp="yes">Nag(bisita|buhay|bulong|bunot|buo|daing|damay|dapo|dating|dayo)</token>
+ </pattern>
+ <message>Do you mean <suggestion><match no="1"
case_conversion="startupper" regexp_match="Nag(.)(.*)"
regexp_replace="$1um$2"></match></suggestion>?</message>
+ <short>Wrong Actor Affix</short>
+ <example correction="Bumunot"
type="incorrect"><marker>Nagbunot</marker> ng ngipin ang dentista.</example>
+ <example type="correct"><marker>Bumunot</marker> ng
ngipin ang dentista.</example>
+ </rule>
+ </category>
<category name="Ligature Usage">
- <rule id="ADJECTIVE-C_NCOM" name="adjective_c ncom (adjective
na ncom)">
+ <rule id="ADJECTIVE-C COMMON_NOUN" name="adjective-c
(adjective-c na)">
<pattern case_sensitive="no" mark_from="0">
<token
postag="(ADMO|ADCO|ADSU|ADNU|ADUN|ADOT).*" postag_regexp="yes" regexp="yes"
inflected="yes">.*[bcdfghjklmpqrstvwxyz]</token>
<token postag="(NCOM).*" postag_regexp="yes"/>
</pattern>
<message>Do you mean <suggestion>\1 na \2</suggestion>?
If the adjective ends with a consonant, except the letter N, the ligature "na"
should be added.</message>
- <short>Ligature Usage</short>
+ <short>Wrong Ligature</short>
<example correction="asul na mata"
type="incorrect">Baka ang tingin mo ay <marker>asul mata</marker> ang meron
siya.</example>
<example type="correct">Baka ang tingin mo ay
<marker>asul na mata</marker> and meron siya.</example>
</rule>
- <rule id="ADJECTIVE-N_NCOM" name="adjective_n ncom
(adjective_n-g ncom)">
+ <rule id="ADJECTIVE-N COMMON_NOUN" name="adjective-n
(adjective-ng)">
<pattern case_sensitive="no" mark_from="0">
<token
postag="(ADMO|ADCO|ADSU|ADNU|ADUN|ADOT).*" postag_regexp="yes" regexp="yes"
inflected="no">.*[n]</token>
<token postag="(NCOM).*" postag_regexp="yes"/>
</pattern>
<message>Do you mean <suggestion>\1g \2</suggestion>?
If the adjective ends with the letter N, the ligature "-g" should be
added.</message>
- <short>Ligature Usage</short>
+ <short>Wrong Ligature</short>
<example correction="madasaling bata"
type="incorrect">Siya ay isang <marker>madasalin bata</marker>.</example>
<example type="correct">Siya ay isang
<marker>madalasing bata</marker>.</example>
</rule>
- <rule id="ADJECTIVE-V_NCOM" name="adjective_v ncom
(adjective_v-ng ncom)">
+ <rule id="ADJECTIVE-V COMMON_NOUN" name="adjective-v
(adjective-v-ng)">
<pattern case_sensitive="no" mark_from="0">
<token
postag="(ADMO|ADCO|ADSU|ADNU|ADUN|ADOT).*" postag_regexp="yes" regexp="yes"
inflected="no">.*[aeiou]</token>
<token postag="(NCOM).*" postag_regexp="yes"/>
</pattern>
<message>Do you mean <suggestion>\1ng \2</suggestion>?
If the adjective ends with a vowel, the ligature "-ng" should be
added.</message>
- <short>Ligature Usage</short>
+ <short>Wrong Ligature</short>
<example correction="mababang bata"
type="incorrect">Siya ay isang <marker>mababa bata</marker>.</example>
<example type="correct">Siya ay isang <marker>mababang
bata</marker>.</example>
</rule>
</category>
<category name="Ng and Nang">
- <rule id="VERB_NG_ADVERB" name="verb ng adverb (verb nang
adverb)">
+ <rule id="VERB NG ADVERB" name="verb ng adverb (verb nang
adverb)">
<pattern case_sensitive="no" mark_from="1">
<token postag="(VACF|VOBF|VBEF|VLOF|VINF).*"
postag_regexp="yes"/>
<token>ng</token>
<token
postag="(AVMA|AVNU|AVDE|AVEO|AVET|AVCO|AVCT|AVSO|AVST|AVAY|AVGI|AVAG|AVPA).*"
postag_regexp="yes"/>
</pattern>
<message>Do you mean <suggestion>nang \3</suggestion>?
The adjective marker should be the conjunction "nang".</message>
- <short>Ng and Nang</short>
+ <short>Ng and Nang Usage</short>
<example correction="nang maayos"
type="incorrect">Kumain <marker>ng maayos</marker>.</example>
<example type="correct">Kumain <marker>nang
maayos</marker>.</example>
</rule>
- <rule id="VERB_NG_DI_ADVERB" name="verb ng di adverb (verb nang
di adverb)">
+ <rule id="VERB NG DI ADVERB" name="verb ng di adverb (verb nang
di adverb)">
<pattern case_sensitive="no" mark_from="1">
<token postag="(VACF|VOBF|VBEF|VLOF|VINF).*"
postag_regexp="yes"/>
<token>ng</token>
@@ -152,11 +172,11 @@
<token postag="(AVSC).*" postag_regexp="yes"/>
</pattern>
<message>Do you mean <suggestion>nang \3
\4</suggestion>? The adjective marker should be the conjunction
"nang".</message>
- <short>Ng and Nang</short>
+ <short>Ng and Nang Usage</short>
<example correction="nang di gaanong"
type="incorrect">Kumain <marker>ng di gaanong</marker> maayos.</example>
<example type="correct">Kumain <marker>nang di
gaanong</marker> maayos.</example>
</rule>
- <rule id="VERB_NG_CONT_DI_ADVERB" name="verb ng contdi adverb
(verb nang contdi adverb)">
+ <rule id="VERB NG 'DI ADVERB" name="verb ng 'di adverb (verb
nang contdi adverb)">
<pattern case_sensitive="no" mark_from="1">
<token postag="(VACF|VOBF|VBEF|VLOF|VINF).*"
postag_regexp="yes"/>
<token>ng</token>
@@ -165,87 +185,87 @@
<token postag="(AVSC).*" postag_regexp="yes"/>
</pattern>
<message>Do you mean <suggestion>nang \3\4
\5</suggestion>? The adjective marker should be the conjunction
"nang".</message>
- <short>Ng and Nang</short>
+ <short>Ng and Nang Usage</short>
<example correction="nang 'di gaanong"
type="incorrect">Kumain <marker>ng 'di gaanong</marker> maayos.</example>
<example type="correct">Kumain <marker>nang 'di
gaanong</marker> maayos.</example>
</rule>
</category>
- <category name="Number Agreement">
- <rule id="ADJECTIVE-PL_AKO" name="adjective-pl ako
(adjective-pl kami)">
+ <category name="Adjective Plurality">
+ <rule id="ADJECTIVE-PL AKO" name="adjective-pl ako
(adjective-pl kami)">
<pattern case_sensitive="no" mark_from="2">
<token negate="yes">at</token>
<token postag="ADMO P"/>
<token>ako</token>
</pattern>
<message>Do you mean <suggestion>kami</suggestion>? If
the adjective is plural, the nominal phrase should also be plural.</message>
- <short>Number Agreement</short>
+ <short>Plurality Agreement</short>
<example correction="kami" type="incorrect">Magaganda
<marker>ako</marker>.</example>
<example type="correct">Magaganda
<marker>kami</marker>.</example>
<example type="correct">Magaganda
<marker>tayo</marker>.</example>
<example type="correct">Maganda
<marker>ako</marker>.</example>
</rule>
- <rule id="ADJECTIVE-PL_AKONG" name="adjective-pl akong
(adjective-pl kaming)">
+ <rule id="ADJECTIVE-PL AKONG" name="adjective-pl akong
(adjective-pl kaming)">
<pattern case_sensitive="no" mark_from="2">
<token negate="yes">at</token>
<token postag="ADMO P"/>
<token>akong</token>
</pattern>
<message>Do you mean <suggestion>kaming</suggestion>?
If the adjective is plural, the nominal phrase should also be plural.</message>
- <short>Number Agreement</short>
+ <short>Plurality Agreement</short>
<example correction="kaming" type="incorrect">Magaganda
<marker>akong</marker> bata.</example>
<example type="correct">Magaganda
<marker>kaming</marker> bata.</example>
<example type="correct">Magaganda
<marker>tayong</marker> bata.</example>
<example type="correct">Maganda <marker>akong</marker>
bata.</example>
</rule>
- <rule id="ADJECTIVE-PL_KA" name="adjective-pl ka (adjective-pl
kayo)">
+ <rule id="ADJECTIVE-PL KA" name="adjective-pl ka (adjective-pl
kayo)">
<pattern case_sensitive="no" mark_from="2">
<token negate="yes">at</token>
<token postag="ADMO P"/>
<token regexp="yes">ikaw|ka</token>
</pattern>
<message>Do you mean <suggestion>kayo</suggestion>? If
the adjective is plural, the nominal phrase should also be plural.</message>
- <short>Number Agreement</short>
+ <short>Plurality Agreement</short>
<example correction="kayo" type="incorrect">Magaganda
<marker>ka</marker>.</example>
<example type="correct">Magaganda
<marker>kayo</marker>.</example>
<example type="correct">Maganda
<marker>ka</marker>.</example>
</rule>
- <rule id="ADJECTIVE-PL_KANG" name="adjective-pl kang
(adjective-pl kayong)">
+ <rule id="ADJECTIVE-PL KANG" name="adjective-pl kang
(adjective-pl kayong)">
<pattern case_sensitive="no" mark_from="2">
<token negate="yes">at</token>
<token postag="ADMO P"/>
<token>kang</token>
</pattern>
<message>Do you mean <suggestion>kayong</suggestion>?
If the adjective is plural, the nominal phrase should also be plural.</message>
- <short>Number Agreement</short>
+ <short>Plurality Agreement</short>
<example correction="kayong" type="incorrect">Magaganda
<marker>kang</marker> bata.</example>
<example type="correct">Magaganda
<marker>kayong</marker> bata.</example>
<example type="correct">Maganda <marker>kang</marker>
bata.</example>
</rule>
- <rule id="ADJECTIVE-PL_SIYA" name="adjective-pl siya
(adjective-pl sila)">
+ <rule id="ADJECTIVE-PL SIYA" name="adjective-pl siya
(adjective-pl sila)">
<pattern case_sensitive="no" mark_from="2">
<token negate="yes">at</token>
<token postag="ADMO P"/>
<token>siya</token>
</pattern>
<message>Do you mean <suggestion>sila</suggestion>? If
the adjective is plural, the nominal phrase should also be plural.</message>
- <short>Number Agreement</short>
+ <short>Plurality Agreement</short>
<example correction="sila" type="incorrect">Magaganda
<marker>siya</marker>.</example>
<example type="correct">Magaganda
<marker>sila</marker>.</example>
<example type="correct">Maganda
<marker>siya</marker>.</example>
</rule>
- <rule id="ADJECTIVE-PL_SIYANG" name="adjective-pl siyang
(adjective-pl silang)">
+ <rule id="ADJECTIVE-PL SIYANG" name="adjective-pl siyang
(adjective-pl silang)">
<pattern case_sensitive="no" mark_from="2">
<token negate="yes">at</token>
<token postag="ADMO P"/>
<token>siyang</token>
</pattern>
<message>Do you mean <suggestion>silang</suggestion>?
If the adjective is plural, the nominal phrase should also be plural.</message>
- <short>Number Agreement</short>
+ <short>Plurality Agreement</short>
<example correction="silang" type="incorrect">Magaganda
<marker>siyang</marker> bata.</example>
<example type="correct">Magaganda
<marker>silang</marker> bata.</example>
<example type="correct">Maganda <marker>siyang</marker>
bata.</example>
</rule>
- <rule id="ADJECTIVE-PL_SI" name="adjective-pl si (adjective-pl
sina)">
+ <rule id="ADJECTIVE-PL SI" name="adjective-pl si (adjective-pl
sina)">
<pattern case_sensitive="no" mark_from="2" mark_to="-1">
<token negate="yes">at</token>
<token postag="ADMO P"/>
@@ -253,14 +273,14 @@
<token postag="(NPRO|NCOM).*"
postag_regexp="yes"/>
</pattern>
<message>Do you mean <suggestion>sina</suggestion>? If
the adjective is plural, the nominal phrase should also be plural.</message>
- <short>Number Agreement</short>
+ <short>Plurality Agreement</short>
<example correction="sina" type="incorrect">Magaganda
<marker>si</marker> Maria.</example>
<example type="correct">Magaganda <marker>sina</marker>
Maria.</example>
<example type="correct">Maganda <marker>si</marker>
Maria.</example>
</rule>
</category>
<category name="Wrong Determiner">
- <rule id="SI_NCOM" name="si ncom (ang ncom)">
+ <rule id="SI COMMON_NOUN" name="si (ang)">
<pattern case_sensitive="no" mark_from="0">
<token>si</token>
<token postag="NCOM.*" postag_regexp="yes"/>
@@ -270,7 +290,7 @@
<example correction="ang abogado"
type="incorrect">Pinalakad ni Maria <marker>si abogado</marker>.</example>
<example type="correct">Pinalakad ni Maria <marker>ang
abogado</marker>.</example>
</rule>
- <rule id="NI_NCOM" name="ni ncom (ng ncom)">
+ <rule id="NI COMMON_NOUN" name="ni (ng)">
<pattern case_sensitive="no" mark_from="0">
<token>ni</token>
<token postag="NCOM.*" postag_regexp="yes"/>
@@ -280,7 +300,7 @@
<example correction="ng abogado"
type="incorrect">Pinalakad <marker>ni abogado</marker> si Maria.</example>
<example type="correct">Pinalakad <marker>ng
abogado</marker>si Maria.</example>
</rule>
- <rule id="KAY_NCOM" name="kay ncom (sa ncom)">
+ <rule id="KAY COMMON_NOUN" name="kay (sa)">
<pattern case_sensitive="no" mark_from="0">
<token>kay</token>
<token postag="NCOM.*" postag_regexp="yes"/>
@@ -292,7 +312,7 @@
</rule>
</category>
<category name="Word Repetition">
- <rule id="ANG_ANG" name="ang ang (ang mga)">
+ <rule id="ANG ANG" name="ang ang (ang mga)">
<pattern case_sensitive="no" mark_from="0">
<token>ang</token>
<token>ang</token>
@@ -302,7 +322,7 @@
<example correction="ang mga" type="incorrect">Maganda
<marker>ang ang</marker> tanawin.</example>
<example type="correct">Maganda <marker>ang
mga</marker> tanawin.</example>
</rule>
- <rule id="MGA_MGA" name="mga mga (ang mga)">
+ <rule id="MGA MGA" name="mga mga (ang mga)">
<pattern case_sensitive="no" mark_from="0">
<token>mga</token>
<token>mga</token>
@@ -312,7 +332,7 @@
<example correction="ang mga" type="incorrect">Maganda
<marker>mga mga</marker> tanawin.</example>
<example type="correct">Maganda <marker>ang
mga</marker> tanawin.</example>
</rule>
- <rule id="NG_NG" name="ng ng (ng mga)">
+ <rule id="NG NG" name="ng ng (ng mga)">
<pattern case_sensitive="no" mark_from="0">
<token>ng</token>
<token>ng</token>
@@ -323,13 +343,13 @@
<example type="correct">Pinalakad <marker>ng
mga</marker> abogado si Maria.</example>
</rule>
</category>
- <category name="Common Typo Errors">
+ <category name="False Friend">
<rule id="LAGGING" name="lagging (laging)">
<pattern case_sensitive="no" mark_from="0">
<token>lagging</token>
</pattern>
<message>Do you mean
<suggestion>laging</suggestion>?</message>
- <short>Common Typo Errors</short>
+ <short>Possible Typo</short>
<example correction="laging" type="incorrect">Kapag
<marker>lagging</marker> kapiling kita, sumasaya ako.</example>
<example type="correct">Kapag <marker>laging</marker>
kapiling kita, sumasaya ako.</example>
</rule>
@@ -338,7 +358,7 @@
<token>nagging</token>
</pattern>
<message>Do you mean
<suggestion>naging</suggestion>?</message>
- <short>Common Typo Errors</short>
+ <short>Possible Typo</short>
<example correction="naging" type="incorrect">Siya ay
<marker>nagging</marker> aso.</example>
<example type="correct">Siya ay <marker>naging</marker>
aso.</example>
</rule>
@@ -349,7 +369,7 @@
<token>cake</token>
</pattern>
<message>Do you mean
<suggestion>keyk</suggestion>?</message>
- <short>Loan Words</short>
+ <short>Loan Word</short>
<example correction="keyk" type="incorrect">Kumain kami
ng <marker>cake</marker> kagabi.</example>
<example type="correct">Kumain kami ng
<marker>keyk</marker> kagabi.</example>
</rule>
@@ -358,24 +378,69 @@
<token>score</token>
</pattern>
<message>Do you mean
<suggestion>iskor</suggestion>?</message>
- <short>Loan Words</short>
+ <short>Loan Word</short>
<example correction="iskor" type="incorrect">Ano na ang
<marker>score</marker>?</example>
<example type="correct">Ano na ang
<marker>iskor</marker>?</example>
</rule>
+ <rule id="LIQUID" name="liquid (likido)">
+ <pattern case_sensitive="no" mark_from="0">
+ <token>liquid</token>
+ </pattern>
+ <message>Do you mean
<suggestion>likido</suggestion>?</message>
+ <short>Loan Word</short>
+ <example correction="likido" type="incorrect">Bakit may
<marker>liquid</marker>?</example>
+ <example type="correct">Bakit may
<marker>likido</marker>?</example>
+ </rule>
+ <rule id="JEEP" name="jeep (dyip)">
+ <pattern case_sensitive="no" mark_from="0">
+ <token>jeep</token>
+ </pattern>
+ <message>Do you mean
<suggestion>dyip</suggestion>?</message>
+ <short>Loan Word</short>
+ <example correction="dyip" type="incorrect">Pumara ka
ng <marker>jeep</marker>.</example>
+ <example type="correct">Pumara ka ng
<marker>dyip</marker>.</example>
+ </rule>
+ <rule id="RESEARCH" name="research (riserts)">
+ <pattern case_sensitive="no" mark_from="0">
+ <token>research</token>
+ </pattern>
+ <message>Do you mean
<suggestion>riserts</suggestion>?</message>
+ <short>Loan Word</short>
+ <example correction="riserts" type="incorrect">Gumawa
tayo ng <marker>research</marker>.</example>
+ <example type="correct">Gumawa tayo ng
<marker>riserts</marker>.</example>
+ </rule>
+ <rule id="RAID" name="raid (reyd)">
+ <pattern case_sensitive="no" mark_from="0">
+ <token regexp="yes">(.*)raid</token>
+ </pattern>
+ <message>Do you mean <suggestion><match no="1"
regexp_match="(.*)raid" regexp_replace="$1reyd"></match></suggestion>?</message>
+ <short>Loan Word</short>
+ <example correction="nagreyd" type="incorrect">May
<marker>nagraid</marker> daw dito kagabi?</example>
+ <example type="correct">May <marker>nagreyd</marker>
daw dito kagabi?</example>
+ </rule>
</category>
- <category name="Conyo">
+ <category name="Code-switching">
<rule id="WHERE" name="where (nasaan)">
<pattern case_sensitive="no" mark_from="0">
<token>where</token>
</pattern>
<message>Do you mean
<suggestion>nasaan</suggestion>?</message>
- <short>Conyo</short>
+ <short>Code-switching</short>
<example correction="nasaan" type="incorrect">Ano ba,
<marker>where</marker> na kayo?</example>
<example type="correct">Ano ba, <marker>nasaan</marker>
na kayo?</example>
</rule>
+ <rule id="YOU" name="you (ikaw)">
+ <pattern case_sensitive="no" mark_from="0">
+ <token>you</token>
+ </pattern>
+ <message>Do you mean
<suggestion>ikaw</suggestion>?</message>
+ <short>Code-switching</short>
+ <example correction="ikaw" type="incorrect">Ano ba,
nasaan na <marker>you</marker>?</example>
+ <example type="correct">Ano ba, nasaan na
<marker>ikaw</marker>?</example>
+ </rule>
</category>
<category name="Missing Determiner">
- <rule id="ADJECTIVE_NPRO" name="adjective npro (adjective si
npro)">
+ <rule id="ADJECTIVE PROPER_NOUN" name="adjective (adjective
si)">
<pattern case_sensitive="no" mark_from="1" mark_to="-1">
<token regexp="yes" negate="yes">si|sina</token>
<token
postag="(ADMO|ADCO|ADSU|ADNU|ADUN|ADOT).*" postag_regexp="yes"/>
@@ -389,7 +454,7 @@
</rule>
</category>
<category name="Missing Lexical Marker">
- <rule id="SI_NPRO_ADJECTIVE" name="si npro adjective (si npro
ay adjective)">
+ <rule id="SI PROPER_NOUN ADJECTIVE" name="si... adjective
(si... ay adjective)">
<pattern case_sensitive="no" mark_from="2" mark_to="-1">
<token negate="yes">ay</token>
<token regexp="yes">si|sina|kay|kina</token>
@@ -402,7 +467,7 @@
<example correction="Maria ay maganda"
type="incorrect">Si <marker>Maria maganda</marker>.</example>
<example type="correct">Si <marker>Maria ay
maganda</marker>.</example>
</rule>
- <rule id="ANG_NCOM_ADJECTIVE" name="ang ncom adjective (ang
ncom ay adjective)">
+ <rule id="ANG COMMON_NOUN ADJECTIVE" name="ang... adjective
(ang... ay adjective)">
<pattern case_sensitive="no" mark_from="2" mark_to="-1">
<token negate="yes">ay</token>
<token>ang</token>
@@ -415,7 +480,7 @@
<example correction="ibon ay maganda"
type="incorrect">Ang <marker>ibon maganda</marker>.</example>
<example type="correct">Ang <marker>ibon ay
maganda</marker>.</example>
</rule>
- <rule id="MGA_NCOM_ADJECTIVE" name="mga ncom adjective (mga
ncom ay adjective)">
+ <rule id="MGA COMMON_NOUN ADJECTIVE" name="mga... adjective
(mga... ay adjective)">
<pattern case_sensitive="no" mark_from="3" mark_to="-1">
<token negate="yes">ay</token>
<token>ang</token>
@@ -429,7 +494,7 @@
<example correction="ibon ay maganda"
type="incorrect">Ang mga <marker>ibon maganda</marker>.</example>
<example type="correct">Ang mga <marker>ibon ay
maganda</marker>.</example>
</rule>
- <rule id="SI_NPRO_VERB" name="si npro verb (si npro ay verb)">
+ <rule id="SI PROPER_NOUN VERB" name="si... verb (si... ay
verb)">
<pattern case_sensitive="no" mark_from="2" mark_to="-1">
<token negate="yes">ay</token>
<token regexp="yes">si|sina|kay|kina</token>
@@ -444,7 +509,7 @@
</rule>
</category>
<category name="Missing Last Word">
- <rule id="SI-LAST_WORD_MISSING" name="si-last word (si-last
word noun)">
+ <rule id="SI LAST_WORD_MISSING" name="si is the last word">
<pattern case_sensitive="no" mark_from="1">
<token
postag="(MALM|VACF|VOBF|VBEF|VLOF|VINF|ADMO|ADCO|ADSU|ADNU|ADUN|ADOT).*"
postag_regexp="yes"/>
<token regexp="yes">si|sina</token>
@@ -455,7 +520,7 @@
<example type="incorrect">Maganda
<marker>si.</marker></example>
<example type="correct">Maganda si Maria.</example>
</rule>
- <rule id="ANG-LAST_WORD_MISSING" name="ang-last word (ang-last
word noun)">
+ <rule id="ANG LAST_WORD_MISSING" name="ang is the last word">
<pattern case_sensitive="no" mark_from="1">
<token
postag="(MALM|VACF|VOBF|VBEF|VLOF|VINF|ADMO|ADCO|ADSU|ADNU|ADUN|ADOT).*"
postag_regexp="yes"/>
<token>ang</token>
@@ -466,7 +531,7 @@
<example type="incorrect">Maganda
<marker>ang.</marker></example>
<example type="correct">Maganda ang tanawin.</example>
</rule>
- <rule id="MGA-LAST_WORD_MISSING" name="mga-last word (mga-last
word noun)">
+ <rule id="MGA LAST_WORD_MISSING" name="mga is the last word">
<pattern case_sensitive="no" mark_from="2">
<token
postag="(MALM|VACF|VOBF|VBEF|VLOF|VINF|ADMO|ADCO|ADSU|ADNU|ADUN|ADOT).*"
postag_regexp="yes"/>
<token>ang</token>
@@ -480,7 +545,7 @@
</rule>
</category>
<category name="Exchange Word Positions">
- <rule id="NOUN_SI_PUNCT" name="noun si punct (si noun punct)">
+ <rule id="PROPER_NOUN SI PUNCT" name="... si (si...)">
<pattern case_sensitive="no" mark_from="0" mark_to="-1">
<token postag="(NPRO|NCOM).*"
postag_regexp="yes"/>
<token regexp="yes">si|sina</token>
This was sent by the SourceForge.net collaborative development platform, the
world's largest Open Source development site.
------------------------------------------------------------------------------
Learn Windows Azure Live! Tuesday, Dec 13, 2011
Microsoft is holding a special Learn Windows Azure training event for
developers. It will provide a great way to learn Windows Azure and what it
provides. You can attend the event by watching it streamed LIVE online.
Learn more at http://p.sf.net/sfu/ms-windowsazure
_______________________________________________
Languagetool-cvs mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/languagetool-cvs