lingotweaker-data-pt 0.1.6__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 (163) hide show
  1. lingotweaker_data_pt-0.1.6/MANIFEST.in +1 -0
  2. lingotweaker_data_pt-0.1.6/PKG-INFO +32 -0
  3. lingotweaker_data_pt-0.1.6/README.md +19 -0
  4. lingotweaker_data_pt-0.1.6/lingotweaker_data_pt/__init__.py +18 -0
  5. lingotweaker_data_pt-0.1.6/lingotweaker_data_pt/data/core/Roman.sor +38 -0
  6. lingotweaker_data_pt-0.1.6/lingotweaker_data_pt/data/core/disambiguation-global.xml +608 -0
  7. lingotweaker_data_pt-0.1.6/lingotweaker_data_pt/data/core/segment.srx +7272 -0
  8. lingotweaker_data_pt-0.1.6/lingotweaker_data_pt/data/core/spelling_global.txt +31411 -0
  9. lingotweaker_data_pt-0.1.6/lingotweaker_data_pt/data/messages/MessagesBundle.properties +322 -0
  10. lingotweaker_data_pt-0.1.6/lingotweaker_data_pt/data/messages/MessagesBundle_ar.properties +322 -0
  11. lingotweaker_data_pt-0.1.6/lingotweaker_data_pt/data/messages/MessagesBundle_ast.properties +322 -0
  12. lingotweaker_data_pt-0.1.6/lingotweaker_data_pt/data/messages/MessagesBundle_be.properties +322 -0
  13. lingotweaker_data_pt-0.1.6/lingotweaker_data_pt/data/messages/MessagesBundle_br.properties +322 -0
  14. lingotweaker_data_pt-0.1.6/lingotweaker_data_pt/data/messages/MessagesBundle_ca.properties +322 -0
  15. lingotweaker_data_pt-0.1.6/lingotweaker_data_pt/data/messages/MessagesBundle_da.properties +322 -0
  16. lingotweaker_data_pt-0.1.6/lingotweaker_data_pt/data/messages/MessagesBundle_de.properties +322 -0
  17. lingotweaker_data_pt-0.1.6/lingotweaker_data_pt/data/messages/MessagesBundle_el.properties +322 -0
  18. lingotweaker_data_pt-0.1.6/lingotweaker_data_pt/data/messages/MessagesBundle_en.properties +322 -0
  19. lingotweaker_data_pt-0.1.6/lingotweaker_data_pt/data/messages/MessagesBundle_eo.properties +322 -0
  20. lingotweaker_data_pt-0.1.6/lingotweaker_data_pt/data/messages/MessagesBundle_es.properties +322 -0
  21. lingotweaker_data_pt-0.1.6/lingotweaker_data_pt/data/messages/MessagesBundle_fa.properties +322 -0
  22. lingotweaker_data_pt-0.1.6/lingotweaker_data_pt/data/messages/MessagesBundle_fr.properties +322 -0
  23. lingotweaker_data_pt-0.1.6/lingotweaker_data_pt/data/messages/MessagesBundle_gl.properties +322 -0
  24. lingotweaker_data_pt-0.1.6/lingotweaker_data_pt/data/messages/MessagesBundle_is.properties +583 -0
  25. lingotweaker_data_pt-0.1.6/lingotweaker_data_pt/data/messages/MessagesBundle_it.properties +322 -0
  26. lingotweaker_data_pt-0.1.6/lingotweaker_data_pt/data/messages/MessagesBundle_km.properties +322 -0
  27. lingotweaker_data_pt-0.1.6/lingotweaker_data_pt/data/messages/MessagesBundle_lt.properties +322 -0
  28. lingotweaker_data_pt-0.1.6/lingotweaker_data_pt/data/messages/MessagesBundle_nl.properties +322 -0
  29. lingotweaker_data_pt-0.1.6/lingotweaker_data_pt/data/messages/MessagesBundle_pl.properties +322 -0
  30. lingotweaker_data_pt-0.1.6/lingotweaker_data_pt/data/messages/MessagesBundle_pt_BR.properties +322 -0
  31. lingotweaker_data_pt-0.1.6/lingotweaker_data_pt/data/messages/MessagesBundle_pt_PT.properties +322 -0
  32. lingotweaker_data_pt-0.1.6/lingotweaker_data_pt/data/messages/MessagesBundle_ro.properties +322 -0
  33. lingotweaker_data_pt-0.1.6/lingotweaker_data_pt/data/messages/MessagesBundle_ru.properties +322 -0
  34. lingotweaker_data_pt-0.1.6/lingotweaker_data_pt/data/messages/MessagesBundle_sk.properties +322 -0
  35. lingotweaker_data_pt-0.1.6/lingotweaker_data_pt/data/messages/MessagesBundle_sl.properties +322 -0
  36. lingotweaker_data_pt-0.1.6/lingotweaker_data_pt/data/messages/MessagesBundle_sr.properties +583 -0
  37. lingotweaker_data_pt-0.1.6/lingotweaker_data_pt/data/messages/MessagesBundle_sv.properties +322 -0
  38. lingotweaker_data_pt-0.1.6/lingotweaker_data_pt/data/messages/MessagesBundle_ta.properties +322 -0
  39. lingotweaker_data_pt-0.1.6/lingotweaker_data_pt/data/messages/MessagesBundle_tl.properties +322 -0
  40. lingotweaker_data_pt-0.1.6/lingotweaker_data_pt/data/messages/MessagesBundle_uk.properties +322 -0
  41. lingotweaker_data_pt-0.1.6/lingotweaker_data_pt/data/pt/brazilian_municipalities/AC.tsv +22 -0
  42. lingotweaker_data_pt-0.1.6/lingotweaker_data_pt/data/pt/brazilian_municipalities/AL.tsv +102 -0
  43. lingotweaker_data_pt-0.1.6/lingotweaker_data_pt/data/pt/brazilian_municipalities/AM.tsv +62 -0
  44. lingotweaker_data_pt-0.1.6/lingotweaker_data_pt/data/pt/brazilian_municipalities/AP.tsv +16 -0
  45. lingotweaker_data_pt-0.1.6/lingotweaker_data_pt/data/pt/brazilian_municipalities/BA.tsv +417 -0
  46. lingotweaker_data_pt-0.1.6/lingotweaker_data_pt/data/pt/brazilian_municipalities/CE.tsv +184 -0
  47. lingotweaker_data_pt-0.1.6/lingotweaker_data_pt/data/pt/brazilian_municipalities/DF.tsv +35 -0
  48. lingotweaker_data_pt-0.1.6/lingotweaker_data_pt/data/pt/brazilian_municipalities/ES.tsv +78 -0
  49. lingotweaker_data_pt-0.1.6/lingotweaker_data_pt/data/pt/brazilian_municipalities/GO.tsv +246 -0
  50. lingotweaker_data_pt-0.1.6/lingotweaker_data_pt/data/pt/brazilian_municipalities/MA.tsv +217 -0
  51. lingotweaker_data_pt-0.1.6/lingotweaker_data_pt/data/pt/brazilian_municipalities/MG.tsv +853 -0
  52. lingotweaker_data_pt-0.1.6/lingotweaker_data_pt/data/pt/brazilian_municipalities/MS.tsv +79 -0
  53. lingotweaker_data_pt-0.1.6/lingotweaker_data_pt/data/pt/brazilian_municipalities/MT.tsv +142 -0
  54. lingotweaker_data_pt-0.1.6/lingotweaker_data_pt/data/pt/brazilian_municipalities/PA.tsv +144 -0
  55. lingotweaker_data_pt-0.1.6/lingotweaker_data_pt/data/pt/brazilian_municipalities/PB.tsv +225 -0
  56. lingotweaker_data_pt-0.1.6/lingotweaker_data_pt/data/pt/brazilian_municipalities/PE.tsv +184 -0
  57. lingotweaker_data_pt-0.1.6/lingotweaker_data_pt/data/pt/brazilian_municipalities/PI.tsv +224 -0
  58. lingotweaker_data_pt-0.1.6/lingotweaker_data_pt/data/pt/brazilian_municipalities/PR.tsv +399 -0
  59. lingotweaker_data_pt-0.1.6/lingotweaker_data_pt/data/pt/brazilian_municipalities/RJ.tsv +92 -0
  60. lingotweaker_data_pt-0.1.6/lingotweaker_data_pt/data/pt/brazilian_municipalities/RN.tsv +167 -0
  61. lingotweaker_data_pt-0.1.6/lingotweaker_data_pt/data/pt/brazilian_municipalities/RO.tsv +52 -0
  62. lingotweaker_data_pt-0.1.6/lingotweaker_data_pt/data/pt/brazilian_municipalities/RR.tsv +15 -0
  63. lingotweaker_data_pt-0.1.6/lingotweaker_data_pt/data/pt/brazilian_municipalities/RS.tsv +497 -0
  64. lingotweaker_data_pt-0.1.6/lingotweaker_data_pt/data/pt/brazilian_municipalities/SC.tsv +295 -0
  65. lingotweaker_data_pt-0.1.6/lingotweaker_data_pt/data/pt/brazilian_municipalities/SE.tsv +75 -0
  66. lingotweaker_data_pt-0.1.6/lingotweaker_data_pt/data/pt/brazilian_municipalities/SP.tsv +645 -0
  67. lingotweaker_data_pt-0.1.6/lingotweaker_data_pt/data/pt/brazilian_municipalities/TO.tsv +139 -0
  68. lingotweaker_data_pt-0.1.6/lingotweaker_data_pt/data/pt/dictionaries/portuguese.dict +0 -0
  69. lingotweaker_data_pt-0.1.6/lingotweaker_data_pt/data/pt/dictionaries/portuguese.info +8 -0
  70. lingotweaker_data_pt-0.1.6/lingotweaker_data_pt/data/pt/dictionaries/portuguese_synth.dict +0 -0
  71. lingotweaker_data_pt-0.1.6/lingotweaker_data_pt/data/pt/dictionaries/portuguese_synth.info +8 -0
  72. lingotweaker_data_pt-0.1.6/lingotweaker_data_pt/data/pt/dictionaries/portuguese_tags.txt +1386 -0
  73. lingotweaker_data_pt-0.1.6/lingotweaker_data_pt/data/pt/disambiguation.xml +7044 -0
  74. lingotweaker_data_pt-0.1.6/lingotweaker_data_pt/data/pt/entities/abbrev.ent +5 -0
  75. lingotweaker_data_pt-0.1.6/lingotweaker_data_pt/data/pt/entities/chars.ent +59 -0
  76. lingotweaker_data_pt-0.1.6/lingotweaker_data_pt/data/pt/entities/datetime.ent +78 -0
  77. lingotweaker_data_pt-0.1.6/lingotweaker_data_pt/data/pt/entities/english.ent +285 -0
  78. lingotweaker_data_pt-0.1.6/lingotweaker_data_pt/data/pt/entities/hyphenised.ent +2 -0
  79. lingotweaker_data_pt-0.1.6/lingotweaker_data_pt/data/pt/entities/languages.ent +4 -0
  80. lingotweaker_data_pt-0.1.6/lingotweaker_data_pt/data/pt/entities/messages.ent +32 -0
  81. lingotweaker_data_pt-0.1.6/lingotweaker_data_pt/data/pt/entities/misc.ent +218 -0
  82. lingotweaker_data_pt-0.1.6/lingotweaker_data_pt/data/pt/entities/paronyms.ent +74 -0
  83. lingotweaker_data_pt-0.1.6/lingotweaker_data_pt/data/pt/entities/postal.ent +2 -0
  84. lingotweaker_data_pt-0.1.6/lingotweaker_data_pt/data/pt/entities/verbs.ent +33 -0
  85. lingotweaker_data_pt-0.1.6/lingotweaker_data_pt/data/pt/pt.sor +194 -0
  86. lingotweaker_data_pt-0.1.6/lingotweaker_data_pt/data/pt/rules/AOreplace.txt +7580 -0
  87. lingotweaker_data_pt-0.1.6/lingotweaker_data_pt/data/pt/rules/archaisms.txt +1 -0
  88. lingotweaker_data_pt-0.1.6/lingotweaker_data_pt/data/pt/rules/barbarisms.txt +773 -0
  89. lingotweaker_data_pt-0.1.6/lingotweaker_data_pt/data/pt/rules/cliches.txt +338 -0
  90. lingotweaker_data_pt-0.1.6/lingotweaker_data_pt/data/pt/rules/coherency.txt +1527 -0
  91. lingotweaker_data_pt-0.1.6/lingotweaker_data_pt/data/pt/rules/confusion_pairs.txt +2084 -0
  92. lingotweaker_data_pt-0.1.6/lingotweaker_data_pt/data/pt/rules/diacritics.txt +789 -0
  93. lingotweaker_data_pt-0.1.6/lingotweaker_data_pt/data/pt/rules/english_contractions.txt +198 -0
  94. lingotweaker_data_pt-0.1.6/lingotweaker_data_pt/data/pt/rules/gentilicos.txt +1115 -0
  95. lingotweaker_data_pt-0.1.6/lingotweaker_data_pt/data/pt/rules/grammar.xml +45105 -0
  96. lingotweaker_data_pt-0.1.6/lingotweaker_data_pt/data/pt/rules/pt-AO/grammar.xml +261 -0
  97. lingotweaker_data_pt-0.1.6/lingotweaker_data_pt/data/pt/rules/pt-BR/archaisms.txt +2 -0
  98. lingotweaker_data_pt-0.1.6/lingotweaker_data_pt/data/pt/rules/pt-BR/barbarisms.txt +192 -0
  99. lingotweaker_data_pt-0.1.6/lingotweaker_data_pt/data/pt/rules/pt-BR/cliches.txt +4 -0
  100. lingotweaker_data_pt-0.1.6/lingotweaker_data_pt/data/pt/rules/pt-BR/confusion_pairs.txt +64 -0
  101. lingotweaker_data_pt-0.1.6/lingotweaker_data_pt/data/pt/rules/pt-BR/grammar.xml +1844 -0
  102. lingotweaker_data_pt-0.1.6/lingotweaker_data_pt/data/pt/rules/pt-BR/redundancies.txt +15 -0
  103. lingotweaker_data_pt-0.1.6/lingotweaker_data_pt/data/pt/rules/pt-BR/replace.txt +274 -0
  104. lingotweaker_data_pt-0.1.6/lingotweaker_data_pt/data/pt/rules/pt-BR/style.xml +877 -0
  105. lingotweaker_data_pt-0.1.6/lingotweaker_data_pt/data/pt/rules/pt-BR/wikipedia.txt +2 -0
  106. lingotweaker_data_pt-0.1.6/lingotweaker_data_pt/data/pt/rules/pt-BR/wordiness.txt +4 -0
  107. lingotweaker_data_pt-0.1.6/lingotweaker_data_pt/data/pt/rules/pt-MZ/grammar.xml +262 -0
  108. lingotweaker_data_pt-0.1.6/lingotweaker_data_pt/data/pt/rules/pt-PT/archaisms.txt +4 -0
  109. lingotweaker_data_pt-0.1.6/lingotweaker_data_pt/data/pt/rules/pt-PT/barbarisms.txt +507 -0
  110. lingotweaker_data_pt-0.1.6/lingotweaker_data_pt/data/pt/rules/pt-PT/cliches.txt +4 -0
  111. lingotweaker_data_pt-0.1.6/lingotweaker_data_pt/data/pt/rules/pt-PT/confusion_pairs.txt +64 -0
  112. lingotweaker_data_pt-0.1.6/lingotweaker_data_pt/data/pt/rules/pt-PT/grammar.xml +4759 -0
  113. lingotweaker_data_pt-0.1.6/lingotweaker_data_pt/data/pt/rules/pt-PT/redundancies.txt +17 -0
  114. lingotweaker_data_pt-0.1.6/lingotweaker_data_pt/data/pt/rules/pt-PT/replace.txt +360 -0
  115. lingotweaker_data_pt-0.1.6/lingotweaker_data_pt/data/pt/rules/pt-PT/style.xml +5619 -0
  116. lingotweaker_data_pt-0.1.6/lingotweaker_data_pt/data/pt/rules/pt-PT/wikipedia.txt +2 -0
  117. lingotweaker_data_pt-0.1.6/lingotweaker_data_pt/data/pt/rules/pt-PT/wordiness.txt +9 -0
  118. lingotweaker_data_pt-0.1.6/lingotweaker_data_pt/data/pt/rules/redundancies.txt +596 -0
  119. lingotweaker_data_pt-0.1.6/lingotweaker_data_pt/data/pt/rules/remote-rule-filters.xml +130 -0
  120. lingotweaker_data_pt-0.1.6/lingotweaker_data_pt/data/pt/rules/replace.txt +5 -0
  121. lingotweaker_data_pt-0.1.6/lingotweaker_data_pt/data/pt/rules/replace_orthography.txt +33 -0
  122. lingotweaker_data_pt-0.1.6/lingotweaker_data_pt/data/pt/rules/style.xml +20362 -0
  123. lingotweaker_data_pt-0.1.6/lingotweaker_data_pt/data/pt/rules/tagset_PT.txt +129 -0
  124. lingotweaker_data_pt-0.1.6/lingotweaker_data_pt/data/pt/rules/verbos_sem_acento_adj_com_acento.txt +358 -0
  125. lingotweaker_data_pt-0.1.6/lingotweaker_data_pt/data/pt/rules/verbos_sem_acento_nomes_com_acento.txt +666 -0
  126. lingotweaker_data_pt-0.1.6/lingotweaker_data_pt/data/pt/rules/weaselwords.txt +153 -0
  127. lingotweaker_data_pt-0.1.6/lingotweaker_data_pt/data/pt/rules/wikipedia.txt +23 -0
  128. lingotweaker_data_pt-0.1.6/lingotweaker_data_pt/data/pt/rules/wordiness.txt +978 -0
  129. lingotweaker_data_pt-0.1.6/lingotweaker_data_pt/data/pt/rules/wrongWordInContext.txt +149 -0
  130. lingotweaker_data_pt-0.1.6/lingotweaker_data_pt/data/pt/spelling/pt-BR.dict +0 -0
  131. lingotweaker_data_pt-0.1.6/lingotweaker_data_pt/data/pt/spelling/pt-BR.info +19 -0
  132. lingotweaker_data_pt-0.1.6/lingotweaker_data_pt/data/pt/spelling/pt-PT-45.dict +0 -0
  133. lingotweaker_data_pt-0.1.6/lingotweaker_data_pt/data/pt/spelling/pt-PT-45.info +19 -0
  134. lingotweaker_data_pt-0.1.6/lingotweaker_data_pt/data/pt/spelling/pt-PT-90.dict +0 -0
  135. lingotweaker_data_pt-0.1.6/lingotweaker_data_pt/data/pt/spelling/pt-PT-90.info +19 -0
  136. lingotweaker_data_pt-0.1.6/lingotweaker_data_pt/data/pt/words/abbreviations.txt +1948 -0
  137. lingotweaker_data_pt-0.1.6/lingotweaker_data_pt/data/pt/words/added.txt +686 -0
  138. lingotweaker_data_pt-0.1.6/lingotweaker_data_pt/data/pt/words/added_custom.txt +4 -0
  139. lingotweaker_data_pt-0.1.6/lingotweaker_data_pt/data/pt/words/blacklist.txt +62 -0
  140. lingotweaker_data_pt-0.1.6/lingotweaker_data_pt/data/pt/words/common_words.txt +9977 -0
  141. lingotweaker_data_pt-0.1.6/lingotweaker_data_pt/data/pt/words/compound_colours.txt +475 -0
  142. lingotweaker_data_pt-0.1.6/lingotweaker_data_pt/data/pt/words/confusion_set_candidates.txt +2879 -0
  143. lingotweaker_data_pt-0.1.6/lingotweaker_data_pt/data/pt/words/confusion_sets.txt +18 -0
  144. lingotweaker_data_pt-0.1.6/lingotweaker_data_pt/data/pt/words/dialect_alternations.txt +7562 -0
  145. lingotweaker_data_pt-0.1.6/lingotweaker_data_pt/data/pt/words/do_not_suggest.txt +505 -0
  146. lingotweaker_data_pt-0.1.6/lingotweaker_data_pt/data/pt/words/hyphenated_words.txt +11444 -0
  147. lingotweaker_data_pt-0.1.6/lingotweaker_data_pt/data/pt/words/ignore.txt +15704 -0
  148. lingotweaker_data_pt-0.1.6/lingotweaker_data_pt/data/pt/words/multiwords.txt +12119 -0
  149. lingotweaker_data_pt-0.1.6/lingotweaker_data_pt/data/pt/words/post-reform-compounds-inactive.txt +120567 -0
  150. lingotweaker_data_pt-0.1.6/lingotweaker_data_pt/data/pt/words/post-reform-compounds.txt +37173 -0
  151. lingotweaker_data_pt-0.1.6/lingotweaker_data_pt/data/pt/words/pre-reform-compounds.txt +3954 -0
  152. lingotweaker_data_pt-0.1.6/lingotweaker_data_pt/data/pt/words/prohibit.txt +23 -0
  153. lingotweaker_data_pt-0.1.6/lingotweaker_data_pt/data/pt/words/removed.txt +227 -0
  154. lingotweaker_data_pt-0.1.6/lingotweaker_data_pt/data/pt/words/removed_custom.txt +4 -0
  155. lingotweaker_data_pt-0.1.6/lingotweaker_data_pt/data/pt/words/spelling.txt +1132 -0
  156. lingotweaker_data_pt-0.1.6/lingotweaker_data_pt/data/pt/words/state_name_mapping.txt +29 -0
  157. lingotweaker_data_pt-0.1.6/lingotweaker_data_pt/data/pt/words/tagset.txt +129 -0
  158. lingotweaker_data_pt-0.1.6/lingotweaker_data_pt.egg-info/PKG-INFO +32 -0
  159. lingotweaker_data_pt-0.1.6/lingotweaker_data_pt.egg-info/SOURCES.txt +161 -0
  160. lingotweaker_data_pt-0.1.6/lingotweaker_data_pt.egg-info/dependency_links.txt +1 -0
  161. lingotweaker_data_pt-0.1.6/lingotweaker_data_pt.egg-info/top_level.txt +1 -0
  162. lingotweaker_data_pt-0.1.6/pyproject.toml +26 -0
  163. lingotweaker_data_pt-0.1.6/setup.cfg +4 -0
@@ -0,0 +1 @@
1
+ recursive-include lingotweaker_data_pt/data *
@@ -0,0 +1,32 @@
1
+ Metadata-Version: 2.4
2
+ Name: lingotweaker-data-pt
3
+ Version: 0.1.6
4
+ Summary: LingoTweaker runtime data for language 'pt'
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 (pt)
15
+
16
+ Runtime data for the LingoTweaker proofreading engine, language `pt`.
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("pt-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 (pt)
2
+
3
+ Runtime data for the LingoTweaker proofreading engine, language `pt`.
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("pt-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 `pt`.
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