Skip to content

feat: add allowCount option to configure allowed repeated particles - #81

Open
misogihagi wants to merge 5 commits into
textlint-ja:masterfrom
misogihagi:master
Open

feat: add allowCount option to configure allowed repeated particles#81
misogihagi wants to merge 5 commits into
textlint-ja:masterfrom
misogihagi:master

Conversation

@misogihagi

Copy link
Copy Markdown

ref: #18

Description

In textlint, sentences where the particle "が" (ga) appears repeatedly can trigger errors. However, this pattern is quite common in natural Japanese sentences, and these errors can sometimes be caused by implementation issues (e.g., parsing limitations).

To avoid these false positives and handle such common sentence structures flexibly, this PR adds a new option to customize the maximum allowed number of identical particles.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant