lingotweaker-data-sk 0.1.5__tar.gz
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.
- lingotweaker_data_sk-0.1.5/MANIFEST.in +1 -0
- lingotweaker_data_sk-0.1.5/PKG-INFO +32 -0
- lingotweaker_data_sk-0.1.5/README.md +19 -0
- lingotweaker_data_sk-0.1.5/lingotweaker_data_sk/__init__.py +18 -0
- lingotweaker_data_sk-0.1.5/lingotweaker_data_sk/data/core/Roman.sor +38 -0
- lingotweaker_data_sk-0.1.5/lingotweaker_data_sk/data/core/disambiguation-global.xml +608 -0
- lingotweaker_data_sk-0.1.5/lingotweaker_data_sk/data/core/segment.srx +7272 -0
- lingotweaker_data_sk-0.1.5/lingotweaker_data_sk/data/core/spelling_global.txt +31411 -0
- lingotweaker_data_sk-0.1.5/lingotweaker_data_sk/data/messages/MessagesBundle.properties +322 -0
- lingotweaker_data_sk-0.1.5/lingotweaker_data_sk/data/messages/MessagesBundle_ar.properties +322 -0
- lingotweaker_data_sk-0.1.5/lingotweaker_data_sk/data/messages/MessagesBundle_ast.properties +322 -0
- lingotweaker_data_sk-0.1.5/lingotweaker_data_sk/data/messages/MessagesBundle_be.properties +322 -0
- lingotweaker_data_sk-0.1.5/lingotweaker_data_sk/data/messages/MessagesBundle_br.properties +322 -0
- lingotweaker_data_sk-0.1.5/lingotweaker_data_sk/data/messages/MessagesBundle_ca.properties +322 -0
- lingotweaker_data_sk-0.1.5/lingotweaker_data_sk/data/messages/MessagesBundle_da.properties +322 -0
- lingotweaker_data_sk-0.1.5/lingotweaker_data_sk/data/messages/MessagesBundle_de.properties +322 -0
- lingotweaker_data_sk-0.1.5/lingotweaker_data_sk/data/messages/MessagesBundle_el.properties +322 -0
- lingotweaker_data_sk-0.1.5/lingotweaker_data_sk/data/messages/MessagesBundle_en.properties +322 -0
- lingotweaker_data_sk-0.1.5/lingotweaker_data_sk/data/messages/MessagesBundle_eo.properties +322 -0
- lingotweaker_data_sk-0.1.5/lingotweaker_data_sk/data/messages/MessagesBundle_es.properties +322 -0
- lingotweaker_data_sk-0.1.5/lingotweaker_data_sk/data/messages/MessagesBundle_fa.properties +322 -0
- lingotweaker_data_sk-0.1.5/lingotweaker_data_sk/data/messages/MessagesBundle_fr.properties +322 -0
- lingotweaker_data_sk-0.1.5/lingotweaker_data_sk/data/messages/MessagesBundle_gl.properties +322 -0
- lingotweaker_data_sk-0.1.5/lingotweaker_data_sk/data/messages/MessagesBundle_is.properties +583 -0
- lingotweaker_data_sk-0.1.5/lingotweaker_data_sk/data/messages/MessagesBundle_it.properties +322 -0
- lingotweaker_data_sk-0.1.5/lingotweaker_data_sk/data/messages/MessagesBundle_km.properties +322 -0
- lingotweaker_data_sk-0.1.5/lingotweaker_data_sk/data/messages/MessagesBundle_lt.properties +322 -0
- lingotweaker_data_sk-0.1.5/lingotweaker_data_sk/data/messages/MessagesBundle_nl.properties +322 -0
- lingotweaker_data_sk-0.1.5/lingotweaker_data_sk/data/messages/MessagesBundle_pl.properties +322 -0
- lingotweaker_data_sk-0.1.5/lingotweaker_data_sk/data/messages/MessagesBundle_pt_BR.properties +322 -0
- lingotweaker_data_sk-0.1.5/lingotweaker_data_sk/data/messages/MessagesBundle_pt_PT.properties +322 -0
- lingotweaker_data_sk-0.1.5/lingotweaker_data_sk/data/messages/MessagesBundle_ro.properties +322 -0
- lingotweaker_data_sk-0.1.5/lingotweaker_data_sk/data/messages/MessagesBundle_ru.properties +322 -0
- lingotweaker_data_sk-0.1.5/lingotweaker_data_sk/data/messages/MessagesBundle_sk.properties +322 -0
- lingotweaker_data_sk-0.1.5/lingotweaker_data_sk/data/messages/MessagesBundle_sl.properties +322 -0
- lingotweaker_data_sk-0.1.5/lingotweaker_data_sk/data/messages/MessagesBundle_sr.properties +583 -0
- lingotweaker_data_sk-0.1.5/lingotweaker_data_sk/data/messages/MessagesBundle_sv.properties +322 -0
- lingotweaker_data_sk-0.1.5/lingotweaker_data_sk/data/messages/MessagesBundle_ta.properties +322 -0
- lingotweaker_data_sk-0.1.5/lingotweaker_data_sk/data/messages/MessagesBundle_tl.properties +322 -0
- lingotweaker_data_sk-0.1.5/lingotweaker_data_sk/data/messages/MessagesBundle_uk.properties +322 -0
- lingotweaker_data_sk-0.1.5/lingotweaker_data_sk/data/sk/dictionaries/slovak.dict +0 -0
- lingotweaker_data_sk-0.1.5/lingotweaker_data_sk/data/sk/dictionaries/slovak.info +8 -0
- lingotweaker_data_sk-0.1.5/lingotweaker_data_sk/data/sk/dictionaries/slovak_synth.dict +0 -0
- lingotweaker_data_sk-0.1.5/lingotweaker_data_sk/data/sk/dictionaries/slovak_synth.info +8 -0
- lingotweaker_data_sk-0.1.5/lingotweaker_data_sk/data/sk/dictionaries/slovak_tags.txt +1457 -0
- lingotweaker_data_sk-0.1.5/lingotweaker_data_sk/data/sk/hunspell/README_en.txt +16 -0
- lingotweaker_data_sk-0.1.5/lingotweaker_data_sk/data/sk/hunspell/README_sk.txt +16 -0
- lingotweaker_data_sk-0.1.5/lingotweaker_data_sk/data/sk/hunspell/ignore.txt +1 -0
- lingotweaker_data_sk-0.1.5/lingotweaker_data_sk/data/sk/hunspell/sk_SK.dict +0 -0
- lingotweaker_data_sk-0.1.5/lingotweaker_data_sk/data/sk/hunspell/sk_SK.info +9 -0
- lingotweaker_data_sk-0.1.5/lingotweaker_data_sk/data/sk/hunspell/spelling.txt +2 -0
- lingotweaker_data_sk-0.1.5/lingotweaker_data_sk/data/sk/rules/grammar-nezaradene.xml +748 -0
- lingotweaker_data_sk-0.1.5/lingotweaker_data_sk/data/sk/rules/grammar-typography.xml +310 -0
- lingotweaker_data_sk-0.1.5/lingotweaker_data_sk/data/sk/rules/grammar.xml +3088 -0
- lingotweaker_data_sk-0.1.5/lingotweaker_data_sk/data/sk/words/README.txt +3 -0
- lingotweaker_data_sk-0.1.5/lingotweaker_data_sk/data/sk/words/added.txt +4 -0
- lingotweaker_data_sk-0.1.5/lingotweaker_data_sk/data/sk/words/added_custom.txt +4 -0
- lingotweaker_data_sk-0.1.5/lingotweaker_data_sk/data/sk/words/common_words.txt +4914 -0
- lingotweaker_data_sk-0.1.5/lingotweaker_data_sk/data/sk/words/compounds.txt +1818 -0
- lingotweaker_data_sk-0.1.5/lingotweaker_data_sk/data/sk/words/removed.txt +4 -0
- lingotweaker_data_sk-0.1.5/lingotweaker_data_sk/data/sk/words/removed_custom.txt +4 -0
- lingotweaker_data_sk-0.1.5/lingotweaker_data_sk/data/sk/words/tagset.txt +358 -0
- lingotweaker_data_sk-0.1.5/lingotweaker_data_sk.egg-info/PKG-INFO +32 -0
- lingotweaker_data_sk-0.1.5/lingotweaker_data_sk.egg-info/SOURCES.txt +66 -0
- lingotweaker_data_sk-0.1.5/lingotweaker_data_sk.egg-info/dependency_links.txt +1 -0
- lingotweaker_data_sk-0.1.5/lingotweaker_data_sk.egg-info/top_level.txt +1 -0
- lingotweaker_data_sk-0.1.5/pyproject.toml +26 -0
- lingotweaker_data_sk-0.1.5/setup.cfg +4 -0
|
@@ -0,0 +1 @@
|
|
|
1
|
+
recursive-include lingotweaker_data_sk/data *
|
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
Metadata-Version: 2.4
|
|
2
|
+
Name: lingotweaker-data-sk
|
|
3
|
+
Version: 0.1.5
|
|
4
|
+
Summary: LingoTweaker runtime data for language 'sk'
|
|
5
|
+
License-Expression: LGPL-2.1-or-later
|
|
6
|
+
Project-URL: Homepage, https://fiduswriter.github.io/LingoTweaker/
|
|
7
|
+
Project-URL: Repository, https://github.com/fiduswriter/LingoTweaker
|
|
8
|
+
Keywords: proofreading,grammar,spellcheck,nlp,language,data
|
|
9
|
+
Classifier: Programming Language :: Python :: 3
|
|
10
|
+
Classifier: Topic :: Text Processing :: Linguistic
|
|
11
|
+
Requires-Python: >=3.9
|
|
12
|
+
Description-Content-Type: text/markdown
|
|
13
|
+
|
|
14
|
+
# LingoTweaker data (sk)
|
|
15
|
+
|
|
16
|
+
Runtime data for the LingoTweaker proofreading engine, language `sk`.
|
|
17
|
+
Installing this package is enough for `lt_py` to find the data:
|
|
18
|
+
|
|
19
|
+
```python
|
|
20
|
+
import lt_py
|
|
21
|
+
|
|
22
|
+
engine = lt_py.Engine("sk-US") # or the appropriate long code
|
|
23
|
+
```
|
|
24
|
+
|
|
25
|
+
`data_dir()` exposes the absolute data path if you prefer to pass it
|
|
26
|
+
explicitly (`lt_py.Engine(..., data_dir=data_dir())`) or to set `LT_DATA_DIR`.
|
|
27
|
+
|
|
28
|
+
This is the same per-language data attached to each LingoTweaker GitHub
|
|
29
|
+
Release. Vendored rule data, dictionaries and models keep their upstream
|
|
30
|
+
licenses; see `THIRD_PARTY_NOTICES.md` in the repository.
|
|
31
|
+
|
|
32
|
+
License (packaging code): LGPL-2.1-or-later.
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
# LingoTweaker data (sk)
|
|
2
|
+
|
|
3
|
+
Runtime data for the LingoTweaker proofreading engine, language `sk`.
|
|
4
|
+
Installing this package is enough for `lt_py` to find the data:
|
|
5
|
+
|
|
6
|
+
```python
|
|
7
|
+
import lt_py
|
|
8
|
+
|
|
9
|
+
engine = lt_py.Engine("sk-US") # or the appropriate long code
|
|
10
|
+
```
|
|
11
|
+
|
|
12
|
+
`data_dir()` exposes the absolute data path if you prefer to pass it
|
|
13
|
+
explicitly (`lt_py.Engine(..., data_dir=data_dir())`) or to set `LT_DATA_DIR`.
|
|
14
|
+
|
|
15
|
+
This is the same per-language data attached to each LingoTweaker GitHub
|
|
16
|
+
Release. Vendored rule data, dictionaries and models keep their upstream
|
|
17
|
+
licenses; see `THIRD_PARTY_NOTICES.md` in the repository.
|
|
18
|
+
|
|
19
|
+
License (packaging code): LGPL-2.1-or-later.
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
"""Runtime data for the LingoTweaker engine, language `sk`.
|
|
2
|
+
|
|
3
|
+
`data_dir()` returns the absolute path of the data directory; pass it to the
|
|
4
|
+
binding (`lt_py.Engine("...", data_dir=...)`) or set `LT_DATA_DIR`. `lt_py`
|
|
5
|
+
discovers this package automatically for a matching language.
|
|
6
|
+
"""
|
|
7
|
+
|
|
8
|
+
from pathlib import Path
|
|
9
|
+
|
|
10
|
+
DATA_DIR = Path(__file__).resolve().parent / "data"
|
|
11
|
+
|
|
12
|
+
|
|
13
|
+
def data_dir() -> str:
|
|
14
|
+
"""Absolute path of the runtime data directory."""
|
|
15
|
+
return str(DATA_DIR)
|
|
16
|
+
|
|
17
|
+
|
|
18
|
+
__all__ = ["DATA_DIR", "data_dir"]
|
|
@@ -0,0 +1,38 @@
|
|
|
1
|
+
# Roman numbers
|
|
2
|
+
1:(.)(.)(.) \1
|
|
3
|
+
2:(.)(.)(.) \1\1
|
|
4
|
+
3:(.)(.)(.) \1\1\1
|
|
5
|
+
4:(.)(.)(.) \1\2
|
|
6
|
+
5:(.)(.)(.) \2
|
|
7
|
+
6:(.)(.)(.) \2\1
|
|
8
|
+
7:(.)(.)(.) \2\1\1
|
|
9
|
+
8:(.)(.)(.) \2\1\1\1
|
|
10
|
+
9:(.)(.)(.) \1\3
|
|
11
|
+
|
|
12
|
+
(\d) $(\1:IVX)
|
|
13
|
+
(\d)(\d) $(\1:XLC)$2
|
|
14
|
+
(\d)(\d\d) $(\1:CDM)$2
|
|
15
|
+
|
|
16
|
+
([123])(\d\d\d) $(\1:Mxx)$2 # [:Roman-large:]
|
|
17
|
+
(\d+)(\d\d\d) \($1\)$2 # [:Roman-large:]
|
|
18
|
+
|
|
19
|
+
([123])(\d\d\d) $(\1:M--)$2
|
|
20
|
+
([123]\d{3})(\d\d\d) $(overline $1)$2 # overline: ×1000
|
|
21
|
+
(\d{1,3})(\d\d\d) $(overline $1)$2 # overline: ×1000
|
|
22
|
+
([123]\d{3})(\d{5}) \|$(overline $1)\|$2 # bar: ×100
|
|
23
|
+
(\d{1,3})(\d{5}) \|$(overline $1)\|$2
|
|
24
|
+
(\d+) \1
|
|
25
|
+
|
|
26
|
+
== overline ==
|
|
27
|
+
|
|
28
|
+
(.*)(.) $(overline \1)\2̅ # recursive overline
|
|
29
|
+
|
|
30
|
+
== historical ==
|
|
31
|
+
|
|
32
|
+
(\d)(\d\d\d) $(\1:ↀↁↂ)$2
|
|
33
|
+
([123])(\d\d\d\d) $(\1:ↂ--)$(historical \2)
|
|
34
|
+
(.*) $1
|
|
35
|
+
|
|
36
|
+
== help ==
|
|
37
|
+
|
|
38
|
+
help Modules\nRoman-large (language code): multiple parenthesized form\nRoman: overline (×1000) with bar (×100)\nFunctions: historical – with special Unicode characters for 1000, 5000 and 10000
|