Skip to content

Commit

Permalink
Improving punctuation marks.
Browse files Browse the repository at this point in the history
  • Loading branch information
rcastromamani committed Oct 19, 2016
1 parent f697713 commit 2762e5c
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 2 deletions.
10 changes: 9 additions & 1 deletion asheninka.script
Expand Up @@ -302,7 +302,15 @@
define InterjPRQ InterjPRQin;
define Interjection [ [InterjPRQ] ];

read regex Cleanup .o. [ [Other|Adverb|Noun|Verb|Negator|Interrogative|Personal|Possessive|Demonstrative|Interjection] ] .o. Cleanup1 .o. Orthography .o. UpperCase;
##########################
# #
# Punctuation #
# #
##########################
source punctuation.foma
define PunctuationMarks Punctuation;

read regex Cleanup .o. [ [Other|Adverb|Noun|Verb|Negator|Interrogative|Personal|Possessive|Demonstrative|Interjection|PunctuationMarks] ] .o. Cleanup1 .o. Orthography .o. UpperCase;

save stack asheninka.bin

3 changes: 2 additions & 1 deletion punctuation.foma
Expand Up @@ -25,6 +25,7 @@ define Punctuation [
| [ {§} "[" "$." "]" ]: {§}
| [ {¿} "[" "$." "]" ]: {¿}
| [ {¡} "[" "$." "]" ]: {¡}
| [ {-} "[" "$." "]" ]: {–}
| [ {–} "[" "$." "]" ]: {–}
| [ {-} "[" "$." "]" ]: {-}
| [ {·} "[" "$." "]" ]: {·}
];

0 comments on commit 2762e5c

Please sign in to comment.