frappuccino
commited on
Upload 2 files
Browse filesupdated an onnx version of the model to mitigate the compatibility issues
- natasha.onnx +3 -0
- symbols.py +7 -0
natasha.onnx
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:95e975a44d361f3d9aa66ed62c9d80efc996c4c453dfb3771cc3e7d7aabdb3a6
|
3 |
+
size 156623502
|
symbols.py
ADDED
@@ -0,0 +1,7 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
_pad = '_'
|
2 |
+
_punctuation = ' !+,-.:;?«»—'
|
3 |
+
_letters = 'абвгдежзийклмнопрстуфхцчшщъыьэюяё'
|
4 |
+
_letters_ipa = "ɑɐɒæɓʙβɔɕçɗɖðʤəɘɚɛɜɝɞɟʄɡɠɢʛɦɧħɥʜɨɪʝɭɬɫɮʟɱɯɰŋɳɲɴøɵɸθœɶʘɹɺɾɻʀʁɽʂʃʈʧʉʊʋⱱʌɣɤʍχʎʏʑʐʒʔʡʕʢǀǁǂǃˈˌːˑʼʴʰʱʲʷˠˤ˞↓↑→↗↘'̩'ᵻ"
|
5 |
+
|
6 |
+
# Export all symbols:
|
7 |
+
symbols = [_pad] + list(_punctuation) + list(_letters) + list(_letters_ipa)
|