Skip to content

Commit

Permalink
Fix to swap Sinhala Diga Is-pilla and Rakaaraansaya.
Browse files Browse the repository at this point in the history
PiperOrigin-RevId: 578932892
  • Loading branch information
cibu authored and copybara-github committed Nov 2, 2023
1 parent 61df30a commit 4f0fc1e
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 0 deletions.
5 changes: 5 additions & 0 deletions nisaba/scripts/brahmic/data/Sinh/visual_rewrite.textproto
Original file line number Diff line number Diff line change
Expand Up @@ -93,6 +93,11 @@ item {
to_uname: ["AL-LAKUNA", "ZERO WIDTH JOINER", "RAYANNA", "KETTI IS-PILLA"] to_raw: "්‍රි"
}

item {
uname: ["DIGA IS-PILLA", "ZERO WIDTH JOINER", "AL-LAKUNA", "ZERO WIDTH JOINER", "RAYANNA"] raw: "ී‍්‍ර"
to_uname: ["AL-LAKUNA", "ZERO WIDTH JOINER", "RAYANNA", "DIGA IS-PILLA"] to_raw: "්‍රී"
}

item {
uname: ["DIGA KOMBUVA", "ZERO WIDTH JOINER", "AL-LAKUNA", "ZERO WIDTH JOINER", "RAYANNA"] raw: "ේ‍්‍ර"
to_uname: ["AL-LAKUNA", "ZERO WIDTH JOINER", "RAYANNA", "DIGA KOMBUVA"] to_raw: "්‍රේ"
Expand Down
1 change: 1 addition & 0 deletions nisaba/scripts/brahmic/testdata/visual_norm.textproto
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,7 @@ rewrite { rule: "SINH" input: "ශ්‍රී​ලං‌කා‍" output: "

rewrite { rule: "SINH" input: "ඊශ‍්‍රායල" output: "ඊශ්‍රායල" }
rewrite { rule: "SINH" input: "බි‍්‍රතාන්‍යයේ" output: "බ්‍රිතාන්‍යයේ" }
rewrite { rule: "SINH" input: "මන්තී‍්‍ර" output: "මන්ත්‍රී" }
rewrite { rule: "SINH" input: "අපේ‍්‍රල්" output: "අප්‍රේල්" }

# TODO: Currently, ‘preserve’ is only available when the listed sequence
Expand Down

0 comments on commit 4f0fc1e

Please sign in to comment.