Skip to content

Commit

Permalink
feat(tn): [cr_id_skip] Support english tn, cardinal and word, no_3rd_…
Browse files Browse the repository at this point in the history
…skip (#203)
  • Loading branch information
xingchensong authored May 31, 2024
1 parent 685acf6 commit f4554ef
Show file tree
Hide file tree
Showing 23 changed files with 1,085 additions and 12 deletions.
Empty file added tn/english/__init__.py
Empty file.
Empty file added tn/english/data/__init__.py
Empty file.
13 changes: 13 additions & 0 deletions tn/english/data/number/__init__.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
# Copyright (c) 2021, NVIDIA CORPORATION. All rights reserved.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
Binary file added tn/english/data/number/cardinal_number_name.far
Binary file not shown.
Binary file not shown.
9 changes: 9 additions & 0 deletions tn/english/data/number/digit.tsv
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
one 1
two 2
three 3
four 4
five 5
six 6
seven 7
eight 8
nine 9
1 change: 1 addition & 0 deletions tn/english/data/number/zero.tsv
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
zero 0
13 changes: 13 additions & 0 deletions tn/english/data/whitelist/__init__.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
# Copyright (c) 2021, NVIDIA CORPORATION. All rights reserved.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
Loading

0 comments on commit f4554ef

Please sign in to comment.