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.
Files changed (68) hide show
  1. lingotweaker_data_sk-0.1.5/MANIFEST.in +1 -0
  2. lingotweaker_data_sk-0.1.5/PKG-INFO +32 -0
  3. lingotweaker_data_sk-0.1.5/README.md +19 -0
  4. lingotweaker_data_sk-0.1.5/lingotweaker_data_sk/__init__.py +18 -0
  5. lingotweaker_data_sk-0.1.5/lingotweaker_data_sk/data/core/Roman.sor +38 -0
  6. lingotweaker_data_sk-0.1.5/lingotweaker_data_sk/data/core/disambiguation-global.xml +608 -0
  7. lingotweaker_data_sk-0.1.5/lingotweaker_data_sk/data/core/segment.srx +7272 -0
  8. lingotweaker_data_sk-0.1.5/lingotweaker_data_sk/data/core/spelling_global.txt +31411 -0
  9. lingotweaker_data_sk-0.1.5/lingotweaker_data_sk/data/messages/MessagesBundle.properties +322 -0
  10. lingotweaker_data_sk-0.1.5/lingotweaker_data_sk/data/messages/MessagesBundle_ar.properties +322 -0
  11. lingotweaker_data_sk-0.1.5/lingotweaker_data_sk/data/messages/MessagesBundle_ast.properties +322 -0
  12. lingotweaker_data_sk-0.1.5/lingotweaker_data_sk/data/messages/MessagesBundle_be.properties +322 -0
  13. lingotweaker_data_sk-0.1.5/lingotweaker_data_sk/data/messages/MessagesBundle_br.properties +322 -0
  14. lingotweaker_data_sk-0.1.5/lingotweaker_data_sk/data/messages/MessagesBundle_ca.properties +322 -0
  15. lingotweaker_data_sk-0.1.5/lingotweaker_data_sk/data/messages/MessagesBundle_da.properties +322 -0
  16. lingotweaker_data_sk-0.1.5/lingotweaker_data_sk/data/messages/MessagesBundle_de.properties +322 -0
  17. lingotweaker_data_sk-0.1.5/lingotweaker_data_sk/data/messages/MessagesBundle_el.properties +322 -0
  18. lingotweaker_data_sk-0.1.5/lingotweaker_data_sk/data/messages/MessagesBundle_en.properties +322 -0
  19. lingotweaker_data_sk-0.1.5/lingotweaker_data_sk/data/messages/MessagesBundle_eo.properties +322 -0
  20. lingotweaker_data_sk-0.1.5/lingotweaker_data_sk/data/messages/MessagesBundle_es.properties +322 -0
  21. lingotweaker_data_sk-0.1.5/lingotweaker_data_sk/data/messages/MessagesBundle_fa.properties +322 -0
  22. lingotweaker_data_sk-0.1.5/lingotweaker_data_sk/data/messages/MessagesBundle_fr.properties +322 -0
  23. lingotweaker_data_sk-0.1.5/lingotweaker_data_sk/data/messages/MessagesBundle_gl.properties +322 -0
  24. lingotweaker_data_sk-0.1.5/lingotweaker_data_sk/data/messages/MessagesBundle_is.properties +583 -0
  25. lingotweaker_data_sk-0.1.5/lingotweaker_data_sk/data/messages/MessagesBundle_it.properties +322 -0
  26. lingotweaker_data_sk-0.1.5/lingotweaker_data_sk/data/messages/MessagesBundle_km.properties +322 -0
  27. lingotweaker_data_sk-0.1.5/lingotweaker_data_sk/data/messages/MessagesBundle_lt.properties +322 -0
  28. lingotweaker_data_sk-0.1.5/lingotweaker_data_sk/data/messages/MessagesBundle_nl.properties +322 -0
  29. lingotweaker_data_sk-0.1.5/lingotweaker_data_sk/data/messages/MessagesBundle_pl.properties +322 -0
  30. lingotweaker_data_sk-0.1.5/lingotweaker_data_sk/data/messages/MessagesBundle_pt_BR.properties +322 -0
  31. lingotweaker_data_sk-0.1.5/lingotweaker_data_sk/data/messages/MessagesBundle_pt_PT.properties +322 -0
  32. lingotweaker_data_sk-0.1.5/lingotweaker_data_sk/data/messages/MessagesBundle_ro.properties +322 -0
  33. lingotweaker_data_sk-0.1.5/lingotweaker_data_sk/data/messages/MessagesBundle_ru.properties +322 -0
  34. lingotweaker_data_sk-0.1.5/lingotweaker_data_sk/data/messages/MessagesBundle_sk.properties +322 -0
  35. lingotweaker_data_sk-0.1.5/lingotweaker_data_sk/data/messages/MessagesBundle_sl.properties +322 -0
  36. lingotweaker_data_sk-0.1.5/lingotweaker_data_sk/data/messages/MessagesBundle_sr.properties +583 -0
  37. lingotweaker_data_sk-0.1.5/lingotweaker_data_sk/data/messages/MessagesBundle_sv.properties +322 -0
  38. lingotweaker_data_sk-0.1.5/lingotweaker_data_sk/data/messages/MessagesBundle_ta.properties +322 -0
  39. lingotweaker_data_sk-0.1.5/lingotweaker_data_sk/data/messages/MessagesBundle_tl.properties +322 -0
  40. lingotweaker_data_sk-0.1.5/lingotweaker_data_sk/data/messages/MessagesBundle_uk.properties +322 -0
  41. lingotweaker_data_sk-0.1.5/lingotweaker_data_sk/data/sk/dictionaries/slovak.dict +0 -0
  42. lingotweaker_data_sk-0.1.5/lingotweaker_data_sk/data/sk/dictionaries/slovak.info +8 -0
  43. lingotweaker_data_sk-0.1.5/lingotweaker_data_sk/data/sk/dictionaries/slovak_synth.dict +0 -0
  44. lingotweaker_data_sk-0.1.5/lingotweaker_data_sk/data/sk/dictionaries/slovak_synth.info +8 -0
  45. lingotweaker_data_sk-0.1.5/lingotweaker_data_sk/data/sk/dictionaries/slovak_tags.txt +1457 -0
  46. lingotweaker_data_sk-0.1.5/lingotweaker_data_sk/data/sk/hunspell/README_en.txt +16 -0
  47. lingotweaker_data_sk-0.1.5/lingotweaker_data_sk/data/sk/hunspell/README_sk.txt +16 -0
  48. lingotweaker_data_sk-0.1.5/lingotweaker_data_sk/data/sk/hunspell/ignore.txt +1 -0
  49. lingotweaker_data_sk-0.1.5/lingotweaker_data_sk/data/sk/hunspell/sk_SK.dict +0 -0
  50. lingotweaker_data_sk-0.1.5/lingotweaker_data_sk/data/sk/hunspell/sk_SK.info +9 -0
  51. lingotweaker_data_sk-0.1.5/lingotweaker_data_sk/data/sk/hunspell/spelling.txt +2 -0
  52. lingotweaker_data_sk-0.1.5/lingotweaker_data_sk/data/sk/rules/grammar-nezaradene.xml +748 -0
  53. lingotweaker_data_sk-0.1.5/lingotweaker_data_sk/data/sk/rules/grammar-typography.xml +310 -0
  54. lingotweaker_data_sk-0.1.5/lingotweaker_data_sk/data/sk/rules/grammar.xml +3088 -0
  55. lingotweaker_data_sk-0.1.5/lingotweaker_data_sk/data/sk/words/README.txt +3 -0
  56. lingotweaker_data_sk-0.1.5/lingotweaker_data_sk/data/sk/words/added.txt +4 -0
  57. lingotweaker_data_sk-0.1.5/lingotweaker_data_sk/data/sk/words/added_custom.txt +4 -0
  58. lingotweaker_data_sk-0.1.5/lingotweaker_data_sk/data/sk/words/common_words.txt +4914 -0
  59. lingotweaker_data_sk-0.1.5/lingotweaker_data_sk/data/sk/words/compounds.txt +1818 -0
  60. lingotweaker_data_sk-0.1.5/lingotweaker_data_sk/data/sk/words/removed.txt +4 -0
  61. lingotweaker_data_sk-0.1.5/lingotweaker_data_sk/data/sk/words/removed_custom.txt +4 -0
  62. lingotweaker_data_sk-0.1.5/lingotweaker_data_sk/data/sk/words/tagset.txt +358 -0
  63. lingotweaker_data_sk-0.1.5/lingotweaker_data_sk.egg-info/PKG-INFO +32 -0
  64. lingotweaker_data_sk-0.1.5/lingotweaker_data_sk.egg-info/SOURCES.txt +66 -0
  65. lingotweaker_data_sk-0.1.5/lingotweaker_data_sk.egg-info/dependency_links.txt +1 -0
  66. lingotweaker_data_sk-0.1.5/lingotweaker_data_sk.egg-info/top_level.txt +1 -0
  67. lingotweaker_data_sk-0.1.5/pyproject.toml +26 -0
  68. 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