Skip to content

Commit

Permalink
[natural_translit] Add Symbol child class Phon. Add vowels and pulmon…
Browse files Browse the repository at this point in the history
…ic consonants with dedicated IPA symbols to the multilingual phon inventory.

PiperOrigin-RevId: 718116084
  • Loading branch information
isingoo authored and copybara-github committed Jan 22, 2025
1 parent 016b469 commit 7b16a09
Show file tree
Hide file tree
Showing 7 changed files with 3,343 additions and 3 deletions.
24 changes: 24 additions & 0 deletions nisaba/scripts/natural_translit/phonology/BUILD.bazel
Original file line number Diff line number Diff line change
Expand Up @@ -83,6 +83,30 @@ py_library(
],
)

py_library(
name = "phonological_object",
srcs = ["phonological_object.py"],
deps = [
":descriptive_features",
"//nisaba/scripts/natural_translit/utils:expression",
"//nisaba/scripts/natural_translit/utils:feature",
"//nisaba/scripts/natural_translit/utils:inventory",
"//nisaba/scripts/natural_translit/utils:symbol",
"//nisaba/scripts/natural_translit/utils:type_op",
],
)

py_test(
name = "phonological_object_test",
srcs = ["phonological_object_test.py"],
main = "phonological_object_test.py",
deps = [
":phonological_object",
"//nisaba/scripts/natural_translit/utils:test_op",
"@io_abseil_py//absl/testing:absltest",
],
)

py_library(
name = "romanizer",
srcs = ["romanizer.py"],
Expand Down
Loading

0 comments on commit 7b16a09

Please sign in to comment.