-
Notifications
You must be signed in to change notification settings - Fork 1
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
文の状態によってマッチしたりしなかったりする #13
Comments
対象となるテキストを書いているファイル形式はMarkdown or Text どちらでしょうか? textlint 12.0.0でMarkdownパーサのアップデートして、先頭の空白は あと、これは
と書いた場合に一行目のみにしかマッチしない?
と
両方別々のパラグラフとして書いた場合に、後者にはマッチしない? のどちらでしょうか? |
Textファイルに以下の連続した行を書いてtextlintをかけた場合に、一行目のみにマッチして、二行目にマッチしないという意味です。
|
このルールはセンテンス分解していないので、形態素解析結果が1行目と2行目で異なるのかと思いましたが、 morpheme-match-allの方が、一度マッチすると繰り返しマッチが上手く出来ていないのかもしれません。 |
ttrace/morpheme-match-textlint/ azu/morpheme-match@master...ttrace:debug-match-rule#diff-392fe26183bb619e42e27aa51f37fc1d1fcc99940a70ff2a9ce1345053672de1 マージできる状態かと思います。
の両方でマッチする辞書を用いても、上のtextがマッチしません。
|
行頭の空白があるかどうかによってマッチ結果が異なります(現状のバージョンの場合は、一行目だけマッチする)。
辞書:
例文:
The text was updated successfully, but these errors were encountered: