summaryrefslogtreecommitdiff
path: root/src/features
diff options
context:
space:
mode:
authorRasmus Andersson <rasmus@notion.se>2020-08-18 03:13:22 +0300
committerRasmus Andersson <rasmus@notion.se>2020-08-18 03:13:22 +0300
commitebdfaf21cf499b685774e6be776e6596d81cc272 (patch)
treebd921a71e35c702069e891a07f59d96182368073 /src/features
parentded07d03b692475c2bfff1a652c106b4fb18cbda (diff)
downloadinter-ebdfaf21cf499b685774e6be776e6596d81cc272.tar.xz
improvements (tuning) to calt case substitutions. See issue #251
Diffstat (limited to 'src/features')
-rw-r--r--src/features/calt.fea38
1 files changed, 20 insertions, 18 deletions
diff --git a/src/features/calt.fea b/src/features/calt.fea
index 63d73f8dc..404f8c988 100644
--- a/src/features/calt.fea
+++ b/src/features/calt.fea
@@ -256,32 +256,34 @@ ignore sub @CASE_DELIM_L @LC @UC @CASE_DELIM_L; # (xX)
ignore sub @CASE_DELIM_L @LC @All @UC @CASE_DELIM_L; # (x.X)
#
-# e.g. "x-"
+# e.g. "x-M"
ignore sub @LC @CASE_L'; # x-
-ignore sub @LC [@CASE_L @Whitespace] @CASE_L'; # x--, x -
-ignore sub @LC [@CASE_L @Whitespace] [@CASE_L @Whitespace] @CASE_L'; # x---, x --, x -, x- -
-ignore sub @LC
- [@CASE_L @Whitespace]
- [@CASE_L @Whitespace]
- [@CASE_L @Whitespace]
- @CASE_L'; # x----, x ---, x --, x -, x- --, x- -, x-- -
-ignore sub @LC
- [@CASE_L @Whitespace]
- [@CASE_L @Whitespace]
- [@CASE_L @Whitespace]
- [@CASE_L @Whitespace]
- @CASE_L'; # x----- ...
+ignore sub @LC @CASE_L @CASE_L'; # x--
+ignore sub @LC @CASE_L @CASE_L @CASE_L'; # x---
+# ignore sub @LC [@CASE_L @Whitespace] @CASE_L'; # x--, x -
+# ignore sub @LC [@CASE_L @Whitespace] [@CASE_L @Whitespace] @CASE_L'; # x---, x --, x -, x- -
+# ignore sub @LC
+# [@CASE_L @Whitespace]
+# [@CASE_L @Whitespace]
+# [@CASE_L @Whitespace]
+# @CASE_L'; # x----, x ---, x --, x -, x- --, x- -, x-- -
+# ignore sub @LC
+# [@CASE_L @Whitespace]
+# [@CASE_L @Whitespace]
+# [@CASE_L @Whitespace]
+# [@CASE_L @Whitespace]
+# @CASE_L'; # x----- ...
#
# e.g. "x- "
-ignore sub @LC @CASE_L' @Whitespace; # "x- "
-ignore sub @LC @CASE_L' @Whitespace @Whitespace; # "x- "
+# ignore sub @LC @CASE_L' @Whitespace; # "x- "
+# ignore sub @LC @CASE_L' @Whitespace @Whitespace; # "x- "
#
# e.g. "-x"
ignore sub @CASE_L @LC; # -x
ignore sub @CASE_L @CASE_L @LC; # --x
ignore sub @CASE_L @CASE_L @CASE_L @LC; # ---x
-ignore sub @CASE_L @CASE_L @CASE_L @CASE_L @LC; # ----x
-ignore sub @CASE_L @CASE_L @CASE_L @CASE_L @CASE_L @LC; # -----x
+# ignore sub @CASE_L @CASE_L @CASE_L @CASE_L @LC; # ----x
+# ignore sub @CASE_L @CASE_L @CASE_L @CASE_L @CASE_L @LC; # -----x
#
# pairs with space, e.g. "( ) M" since we don't support subbing