@lunarisapp/hyphen 0.0.2 → 0.0.4

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 (66) hide show
  1. package/CHANGELOG.md +14 -0
  2. package/eslint.config.js +2 -2
  3. package/jest.config.js +6 -0
  4. package/package.json +13 -11
  5. package/src/dicts.ts +201 -0
  6. package/src/index.ts +17 -63
  7. package/src/types.d.ts +4 -0
  8. package/tests/__mocks__/dic.js +7 -0
  9. package/tests/hyphen.test.ts +8 -42
  10. package/tsup.config.ts +12 -0
  11. package/.turbo/turbo-build.log +0 -23
  12. package/.turbo/turbo-lint.log +0 -12
  13. package/.turbo/turbo-test.log +0 -372
  14. package/dist/dictionaries/hyph_af_ZA.dic +0 -5332
  15. package/dist/dictionaries/hyph_as_IN.dic +0 -100
  16. package/dist/dictionaries/hyph_be_BY.dic +0 -3385
  17. package/dist/dictionaries/hyph_bg_BG.dic +0 -6625
  18. package/dist/dictionaries/hyph_ca.dic +0 -3234
  19. package/dist/dictionaries/hyph_cs_CZ.dic +0 -3637
  20. package/dist/dictionaries/hyph_da_DK.dic +0 -1146
  21. package/dist/dictionaries/hyph_de_AT.dic +0 -77902
  22. package/dist/dictionaries/hyph_de_CH.dic +0 -77902
  23. package/dist/dictionaries/hyph_de_DE.dic +0 -77902
  24. package/dist/dictionaries/hyph_el_GR.dic +0 -579
  25. package/dist/dictionaries/hyph_en_GB.dic +0 -14062
  26. package/dist/dictionaries/hyph_en_US.dic +0 -11130
  27. package/dist/dictionaries/hyph_eo.dic +0 -3407
  28. package/dist/dictionaries/hyph_es.dic +0 -862
  29. package/dist/dictionaries/hyph_et_EE.dic +0 -3692
  30. package/dist/dictionaries/hyph_fr.dic +0 -2914
  31. package/dist/dictionaries/hyph_gl.dic +0 -290
  32. package/dist/dictionaries/hyph_hr_HR.dic +0 -1597
  33. package/dist/dictionaries/hyph_hu_HU.dic +0 -102260
  34. package/dist/dictionaries/hyph_id_ID.dic +0 -12033
  35. package/dist/dictionaries/hyph_is.dic +0 -7695
  36. package/dist/dictionaries/hyph_it_IT.dic +0 -421
  37. package/dist/dictionaries/hyph_kn_IN.dic +0 -100
  38. package/dist/dictionaries/hyph_lt.dic +0 -1547
  39. package/dist/dictionaries/hyph_lv_LV.dic +0 -11900
  40. package/dist/dictionaries/hyph_mn_MN.dic +0 -1004
  41. package/dist/dictionaries/hyph_mr_IN.dic +0 -199
  42. package/dist/dictionaries/hyph_nb_NO.dic +0 -27142
  43. package/dist/dictionaries/hyph_nl_NL.dic +0 -16257
  44. package/dist/dictionaries/hyph_nn_NO.dic +0 -27142
  45. package/dist/dictionaries/hyph_pa_IN.dic +0 -87
  46. package/dist/dictionaries/hyph_pl_PL.dic +0 -4824
  47. package/dist/dictionaries/hyph_pt_BR.dic +0 -1247
  48. package/dist/dictionaries/hyph_pt_PT.dic +0 -308
  49. package/dist/dictionaries/hyph_ro_RO.dic +0 -5220
  50. package/dist/dictionaries/hyph_ru_RU.dic +0 -3875
  51. package/dist/dictionaries/hyph_sa_IN.dic +0 -116
  52. package/dist/dictionaries/hyph_sk_SK.dic +0 -2468
  53. package/dist/dictionaries/hyph_sl_SI.dic +0 -1413
  54. package/dist/dictionaries/hyph_sq_AL.dic +0 -14020
  55. package/dist/dictionaries/hyph_sr-Latn.dic +0 -3412
  56. package/dist/dictionaries/hyph_sr.dic +0 -3365
  57. package/dist/dictionaries/hyph_sv.dic +0 -14954
  58. package/dist/dictionaries/hyph_te_IN.dic +0 -99
  59. package/dist/dictionaries/hyph_th_TH.dic +0 -5245
  60. package/dist/dictionaries/hyph_uk_UA.dic +0 -1654
  61. package/dist/dictionaries/hyph_zu_ZA.dic +0 -171
  62. package/dist/index.d.mts +0 -48
  63. package/dist/index.d.ts +0 -48
  64. package/dist/index.js +0 -236
  65. package/dist/index.mjs +0 -201
  66. package/tsconfig.pkg.json +0 -10
@@ -1,116 +0,0 @@
1
- UTF-8
2
- LEFTHYPHENMIN 3
3
- RIGHTHYPHENMIN 4
4
- COMPOUNDLEFTHYPHENMIN 2
5
- COMPOUNDRIGHTHYPHENMIN 3
6
-
7
- % GENERAL RULE
8
- % Do not break either side of ZERO-WIDTH JOINER (U+200D)
9
- 2‍2
10
- % Break after ZERO-WIDTH NON JOINER (U+200C)
11
- ‌1
12
- % Break before or after any independent vowel.
13
- 1अ1
14
- 1आ1
15
- 1इ1
16
- 1ई1
17
- 1उ1
18
- 1ऊ1
19
- 1ऋ1
20
- 1ॠ1
21
- 1ऌ1
22
- 1ॡ1
23
- 1ए1
24
- 1ऐ1
25
- 1ओ1
26
- 1औ1
27
- % Break after any dependent vowel but not before.
28
- ा1
29
- ि1
30
- ी1
31
- ु1
32
- ू1
33
- ृ1
34
- ॄ1
35
- ॢ1
36
- ॣ1
37
- े1
38
- ै1
39
- ो1
40
- ौ1
41
- % Break before or after any consonant.
42
- 1क
43
- 1ख
44
- 1ग
45
- 1घ
46
- 1ङ
47
- 1च
48
- 1छ
49
- 1ज
50
- 1झ
51
- 1ञ
52
- 1ट
53
- 1ठ
54
- 1ड
55
- 1ढ
56
- 1ण
57
- 1त
58
- 1थ
59
- 1द
60
- 1ध
61
- 1न
62
- 1प
63
- 1फ
64
- 1ब
65
- 1भ
66
- 1म
67
- 1य
68
- 1र
69
- 1ल
70
- 1ळ
71
- 1व
72
- 1श
73
- 1ष
74
- 1स
75
- 1ह
76
- % Do not break before chandrabindu, anusvara, visarga, avagraha
77
- % and accents.
78
- 2ँ
79
- 2ं
80
- 2ः
81
- 2ऽ
82
- 2॑
83
- 2॒
84
- % Do not break either side of virama (may be within conjunct).
85
- 2्2
86
- अति1
87
- अधि1
88
- अन1
89
- अनु1
90
- अन्1
91
- अप1
92
- अपि1
93
- अभि1
94
- अव1
95
- 1इय
96
- उद्1
97
- उप1
98
- 1का
99
- चिर्1
100
- 1त्र
101
- 1त्व
102
- दुर्1
103
- दुस्1
104
- नि1
105
- निर्1
106
- निस्1
107
- पर1
108
- परि1
109
- प्र1
110
- प्रति1
111
- 1ली
112
- 1वत्
113
- वि1
114
- सम्1
115
- सु1
116
-