Skip to content
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

"、"を間隔値としてカウントするように #3

Merged
merged 4 commits into from
Feb 18, 2016
Merged

"、"を間隔値としてカウントするように #3

merged 4 commits into from
Feb 18, 2016

Conversation

azu
Copy link
Member

@azu azu commented Feb 18, 2016

デフォルトで、"、"を距離+1としてカウントするするように変更

    "右がiPhone、左がAndroidです。",
    "ナイフで切断した後、ハンマーで破砕した。"

のような文章をデフォルトでは許容するようにするため。 fix #2

逆に以下のような文章も副作用的に許容されてしまっている。

     "彼女は困り切った表情で、小声で尋ねた。"

strict: trueの場合は、もともとの挙動を残すことで上記の文章もチェックできる。

azu and others added 3 commits February 16, 2016 20:39
        "右がiPhone、左がAndroidです。",
        "ナイフで切断した後、ハンマーで破砕した。"

のような"、"を使うパターンに対応するため。
"、"に+1の距離を増やす仕組みを追加する。
azu added a commit that referenced this pull request Feb 18, 2016
"、"を間隔値としてカウントするように
@azu azu merged commit 1b94014 into master Feb 18, 2016
@azu azu deleted the fix-2 branch February 18, 2016 03:28
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.

allow doubling particles separated with punctuation
1 participant