check parantheses at the end of sentences
Change-Id: Ifa051a59b8a7de88e031a850d11ca95432a0b32e
diff --git a/src/tokenizer.xfst b/src/tokenizer.xfst
index 74f7c52..5fe1aec 100644
--- a/src/tokenizer.xfst
+++ b/src/tokenizer.xfst
@@ -225,9 +225,9 @@
define NotSmallCaps [? - a - b - c - d - e - f - g - h - i - j - k - l - m - n - o - p - q - r - s - t - u - v - w - x - y - z - ü - ö - ä];
read regex Token .o. [
- SP NLout [DQuotes | "›" (NLout DQuotes) | %‹ (NLout DQuotes) | %’ (NLout DQuotes) | "'" (NLout DQuotes)] (NLout SP) @-> ... NLout \/ _ NLout \%,
+ SP NLout [DQuotes | "›" (NLout DQuotes) | %‹ (NLout DQuotes) | %’ (NLout DQuotes) | "'" (NLout DQuotes) | ")" ] (NLout SP) @-> ... NLout \/ _ NLout \%,
] .o. [
- SP @-> ... NLout \/ NLout _ NLout [? - "”" - %" - "»" - "«" - "›" - %‹ - %’ - "'" - NLout]
+ SP @-> ... NLout \/ NLout _ NLout [? - "”" - %" - "»" - "«" - "›" - %‹ - %’ - "'" - ")" - NLout]
] .o. [
[%. %. %.] @-> ... NLout \/ _ NLout WS+ NotSmallCaps
] .o. [