Back to LanguageTool Homepage - Privacy - Imprint

[ZH] Chinese Collective Noun 中文量词 Problem

I found some problems about the Chinese collective nouns having the same pronunciation. There are the XML codes that may fix the problem about distinguish 颗 and 棵 (ke),只 and 支 (zhi)

<!-- Chinese rule, 2020-06-24 -->
<rule id="" name="颗与棵">
 <pattern>
  <marker>
  <token>棵</token>
  <token>糖</token>
  </marker>
 </pattern>
 <message>量词<suggestion>棵</suggestion>不能修饰<suggestion>糖</suggestion></message>
 <example correction=''>一<marker>棵糖</marker></example>
 <example>一颗糖</example>
</rule>

<!-- Chinese rule, 2020-06-24 -->
<rule id="" name="只与支">
 <pattern>
  <token>只</token>
  <token regexp='yes'>笔|铅笔|钢笔|水笔|毛笔|蜡笔|水彩笔</token>
 </pattern>
 <message>量词“只”不能修饰“笔”</message>
 <example correction=''>一<marker>只笔</marker></example>
 <example>一支笔</example>
</rule>