streamlit-octostar-utils 2.11a8__py3-none-any.whl → 2.11a9__py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- streamlit_octostar_utils/nlp/language.py +3 -2
- {streamlit_octostar_utils-2.11a8.dist-info → streamlit_octostar_utils-2.11a9.dist-info}/METADATA +1 -1
- {streamlit_octostar_utils-2.11a8.dist-info → streamlit_octostar_utils-2.11a9.dist-info}/RECORD +5 -5
- {streamlit_octostar_utils-2.11a8.dist-info → streamlit_octostar_utils-2.11a9.dist-info}/WHEEL +0 -0
- {streamlit_octostar_utils-2.11a8.dist-info → streamlit_octostar_utils-2.11a9.dist-info}/licenses/LICENSE +0 -0
@@ -3,7 +3,8 @@ from typing import Optional
|
|
3
3
|
|
4
4
|
import py3langid as langid
|
5
5
|
|
6
|
-
from iso639 import Lang
|
6
|
+
from iso639 import Lang
|
7
|
+
from iso639.exceptions import InvalidLanguageValue
|
7
8
|
|
8
9
|
FLAIR_MODELS = {
|
9
10
|
"en": "flair/ner-english-large",
|
@@ -55,7 +56,7 @@ def is_language_available(language: Optional[str], type: str) -> bool:
|
|
55
56
|
try:
|
56
57
|
lang_code = language_to_alpha2(language)
|
57
58
|
|
58
|
-
except
|
59
|
+
except InvalidLanguageValue:
|
59
60
|
lang_code = language
|
60
61
|
|
61
62
|
match type:
|
{streamlit_octostar_utils-2.11a8.dist-info → streamlit_octostar_utils-2.11a9.dist-info}/RECORD
RENAMED
@@ -20,7 +20,7 @@ streamlit_octostar_utils/core/threading/__init__.py,sha256=AbpHGcgLb-kRsJGnwFEkt
|
|
20
20
|
streamlit_octostar_utils/core/threading/key_queue.py,sha256=7CJpj0gvZMQd8eC5wKQi3Ak5SQQ4zQ1OPTs_OP_kD20,2255
|
21
21
|
streamlit_octostar_utils/core/timestamp.py,sha256=a3s4xfm1nctLzYsHOJxqoWIDTdbNY_yN1OByl8ahLc8,383
|
22
22
|
streamlit_octostar_utils/nlp/__init__.py,sha256=BtlYDZK_xaEbc7Ju_7MznXbCVPZcdLn26xwR9qf_UhM,336
|
23
|
-
streamlit_octostar_utils/nlp/language.py,sha256=
|
23
|
+
streamlit_octostar_utils/nlp/language.py,sha256=qskRYHt1h8PMcTUHO4fgqrN4cEgWvu0mBYjZCxUnneI,2740
|
24
24
|
streamlit_octostar_utils/nlp/ner.py,sha256=5swAuH7r9xZ7c48ApqZfLqidjdf6f2qxK52KLk7-9Cc,20406
|
25
25
|
streamlit_octostar_utils/octostar/__init__.py,sha256=AbpHGcgLb-kRsJGnwFEktk7uzpZOCcBY74-YBdrKVGs,1
|
26
26
|
streamlit_octostar_utils/octostar/client.py,sha256=NUvHe9asd65g4-hJ4CuUvUns-9dNWes1XZRJlO9eAAc,1690
|
@@ -36,7 +36,7 @@ streamlit_octostar_utils/threading/__init__.py,sha256=AbpHGcgLb-kRsJGnwFEktk7uzp
|
|
36
36
|
streamlit_octostar_utils/threading/async_task_manager.py,sha256=q7N6YZwUvIYMzkSHmsJNheNVCv93c03H6Hyg9uH8pvk,4747
|
37
37
|
streamlit_octostar_utils/threading/session_callback_manager.py,sha256=LvZVP4g6tvKtYmI13f2j1sX_7hm61Groqp5xJine9_k,3973
|
38
38
|
streamlit_octostar_utils/threading/session_state_hot_swapper.py,sha256=6eeCQI6A42hp4DmW2NQw2rbeR-k9N8DhfBKQdN_fbLU,811
|
39
|
-
streamlit_octostar_utils-2.
|
40
|
-
streamlit_octostar_utils-2.
|
41
|
-
streamlit_octostar_utils-2.
|
42
|
-
streamlit_octostar_utils-2.
|
39
|
+
streamlit_octostar_utils-2.11a9.dist-info/METADATA,sha256=l3pwnQ_DFt673qi1CH5IH-uNYUnMkvxYuZh8sBIn0z4,2330
|
40
|
+
streamlit_octostar_utils-2.11a9.dist-info/WHEEL,sha256=zp0Cn7JsFoX2ATtOhtaFYIiE2rmFAD4OcMhtUki8W3U,88
|
41
|
+
streamlit_octostar_utils-2.11a9.dist-info/licenses/LICENSE,sha256=dkwVPyV03fPHHtERnF6RnvRXcll__tud9gWca1RcgnQ,1073
|
42
|
+
streamlit_octostar_utils-2.11a9.dist-info/RECORD,,
|
{streamlit_octostar_utils-2.11a8.dist-info → streamlit_octostar_utils-2.11a9.dist-info}/WHEEL
RENAMED
File without changes
|
File without changes
|