Created
August 7, 2014 23:04
-
-
Save kyu999/5345c6dd8c59fd00df76 to your computer and use it in GitHub Desktop.
品詞使った改行ルール
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
〜くっつける〜 | |
1. * + 助詞 | |
2. 形容詞 + 名詞 | |
3. * + 助動詞 | |
つまり切る位置は | |
1. 助詞の後 | |
2. 形容詞 + 名詞 の後 | |
3. 助動詞の後 | |
まずは1と3だけで検証してみて、その後2についても考えてみる |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
“ | 諦めない | ” :クオーテーションをくっつけたい。優先順位はそこまで高くない。
助詞+助詞は切らない
括弧開は切らない
助動詞の後は切らない
飛び込んで | 」 :とりあえず助詞の後ということで切ってしまっている
elif pre_feature[1] == u"括弧開":
breakable = True
括弧は中身とくっつける