-
Notifications
You must be signed in to change notification settings - Fork 119
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #1337 from ampli/amy
More amy/anysplit modifications
- Loading branch information
Showing
5 changed files
with
314 additions
and
151 deletions.
There are no files selected for viewing
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
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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,13 +1,13 @@ | ||
")" "}" "]" ">" » 〉 ) 〕 》 】 ] 』」 """ "’’" "’" ''.y '.y | ||
"%" "," "." 。 ":" ";" "?" "!" ‽ ؟ ?! ….y ....y "”" | ||
_ - ‐ ‑ ‒ – — ― ~ ━ ー 、 | ||
¢ ₵ ™ ℠ : RPUNC+; | ||
|
||
"(" "{" "[" "<" « 〈 ( 〔 《 【 [ 『 「 """ `` „ “ ‘ ''.x '.x ….x ....x | ||
¿ ¡ "$" | ||
_ - ‐ ‑ ‒ – — ― ━ ー ~ | ||
£ ₤ € ¤ ₳ ฿ ₡ ₢ ₠ ₫ ৳ ƒ ₣ ₲ ₴ ₭ ₺ ℳ ₥ ₦ ₧ ₱ ₰ ₹ ₨ ₪ ﷼ ₸ ₮ ₩ ¥ ៛ 호점 | ||
† †† ‡ § ¶ © ® ℗ № "#": LPUNC+; | ||
|
||
-- ‒ – — ― - _ "(" ")" "[" "]" ... … "," ";" ":" | ||
': MPUNC+; | ||
% Affixes get stripped off the left and right side of words | ||
% i.e. spaces are inserted between the affix and the word itself. | ||
|
||
% An LPUNC/RPUNC/MPUNC token can be specified as "/regex/.\N", when \N is | ||
% the capture group that should match the affix (the whole pattern is | ||
% capture group 0). Disregarding the position in which they appear, they | ||
% are checked last - but in the same order. (Experimental.) | ||
|
||
"’’" ''.y ….y ....y "/[[:punct:]]$/.\0": RPUNC+; | ||
|
||
`` ''.x ….x ....x †† "/^[[:punct:]]/.\0": LPUNC+; | ||
|
||
-- ... … "/[[:punct:]]/.\0" ': MPUNC+; |
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
Oops, something went wrong.