Skip to content

Commit

Permalink
Add NO_LONGER_VISIBLE to grammar
Browse files Browse the repository at this point in the history
  • Loading branch information
ejimsan committed Sep 25, 2024
1 parent 6c2f505 commit 574e097
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -213,8 +213,8 @@ FLAG: (UNCERTAIN | CORRECTION | COLLATION | NO_LONGER_VISIBLE | DAMAGE)*
UNCERTAIN: "?"
CORRECTION: "!"
COLLATION: "*"
DAMAGE: "#"
NO_LONGER_VISIBLE: "°"
DAMAGE: "#"

modifiers: MODIFIER*
MODIFIER: ("@" (MODIFIER_CHARACTER | ("0".."9")+))
Expand Down
2 changes: 2 additions & 0 deletions ebl/transliteration/domain/atf.py
Original file line number Diff line number Diff line change
Expand Up @@ -93,6 +93,7 @@ class Flag(Enum):
UNCERTAIN = "?"
CORRECTION = "!"
COLLATION = "*"
NO_LONGER_VISIBLE = "°"


@unique
Expand Down Expand Up @@ -215,6 +216,7 @@ class Composite(Enum):
"uncertainty": re.escape(Flag.UNCERTAIN.value),
"collation": re.escape(Flag.COLLATION.value),
"damage": re.escape(Flag.DAMAGE.value),
"no longer visible": re.escape(Flag.NO_LONGER_VISIBLE.value),
"correction": re.escape(Flag.CORRECTION.value),
}

Expand Down

0 comments on commit 574e097

Please sign in to comment.