srx-languagetool 0.9.0 → 0.11.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.github/workflows/main.yml +1 -1
- data/CHANGELOG.md +8 -0
- data/Gemfile +7 -0
- data/Gemfile.lock +16 -16
- data/lib/srx/languagetool/version.rb +1 -1
- data/lib/srx/segment.srx +68 -13
- data/srx-languagetool.gemspec +0 -7
- metadata +2 -86
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: e0a06f5751cf7cff07ccd1325c123c311e24d067e63a15cca3e0ee4e1c9fe9a4
|
4
|
+
data.tar.gz: c019c0245332deca27f493f0e8e5482cb60e5bd6e81783e594e7629a0b3e7edd
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 2e45b12a8d3c92acea434dec2cef44eb3c94020612c159db520147cd1b47a987b5a79742cc55fad93fbcdffde6c2594130ab75a4910cd8c2a17e2f99d45fe8d1
|
7
|
+
data.tar.gz: 87c2ed74cda5f578b79cc649f62c04e3c6b63ebeca07b6451cfb94ebe45ab16398c719828ca76d4258f92140ad8eb43c7f9ebd299e07f12b8839bb81fe34efe5
|
data/.github/workflows/main.yml
CHANGED
data/CHANGELOG.md
CHANGED
data/Gemfile
CHANGED
data/Gemfile.lock
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
PATH
|
2
2
|
remote: .
|
3
3
|
specs:
|
4
|
-
srx-languagetool (0.
|
4
|
+
srx-languagetool (0.11.0)
|
5
5
|
srx (< 1.0)
|
6
6
|
|
7
7
|
GEM
|
@@ -19,36 +19,36 @@ GEM
|
|
19
19
|
rexml
|
20
20
|
kramdown-parser-gfm (1.1.0)
|
21
21
|
kramdown (~> 2.0)
|
22
|
-
minitest (5.
|
23
|
-
nokogiri (1.
|
22
|
+
minitest (5.18.0)
|
23
|
+
nokogiri (1.14.2-x86_64-darwin)
|
24
24
|
racc (~> 1.4)
|
25
25
|
parallel (1.22.1)
|
26
|
-
parser (3.1.
|
26
|
+
parser (3.2.1.1)
|
27
27
|
ast (~> 2.4.1)
|
28
28
|
racc (1.6.2)
|
29
29
|
rainbow (3.1.1)
|
30
30
|
rake (13.0.6)
|
31
|
-
regexp_parser (2.
|
31
|
+
regexp_parser (2.7.0)
|
32
32
|
reverse_markdown (2.1.1)
|
33
33
|
nokogiri
|
34
34
|
rexml (3.2.5)
|
35
|
-
rspec-expectations (3.12.
|
35
|
+
rspec-expectations (3.12.2)
|
36
36
|
diff-lcs (>= 1.2.0, < 2.0)
|
37
37
|
rspec-support (~> 3.12.0)
|
38
38
|
rspec-support (3.12.0)
|
39
|
-
rubocop (1.
|
39
|
+
rubocop (1.48.1)
|
40
40
|
json (~> 2.3)
|
41
41
|
parallel (~> 1.10)
|
42
|
-
parser (>= 3.
|
42
|
+
parser (>= 3.2.0.0)
|
43
43
|
rainbow (>= 2.2.2, < 4.0)
|
44
44
|
regexp_parser (>= 1.8, < 3.0)
|
45
45
|
rexml (>= 3.2.5, < 4.0)
|
46
|
-
rubocop-ast (>= 1.
|
46
|
+
rubocop-ast (>= 1.26.0, < 2.0)
|
47
47
|
ruby-progressbar (~> 1.7)
|
48
|
-
unicode-display_width (>=
|
49
|
-
rubocop-ast (1.
|
50
|
-
parser (>= 3.
|
51
|
-
ruby-progressbar (1.
|
48
|
+
unicode-display_width (>= 2.4.0, < 3.0)
|
49
|
+
rubocop-ast (1.28.0)
|
50
|
+
parser (>= 3.2.1.0)
|
51
|
+
ruby-progressbar (1.13.0)
|
52
52
|
solargraph (0.48.0)
|
53
53
|
backport (~> 1.2)
|
54
54
|
benchmark
|
@@ -67,8 +67,8 @@ GEM
|
|
67
67
|
srx (0.6.0)
|
68
68
|
nokogiri (~> 1.11)
|
69
69
|
thor (1.2.1)
|
70
|
-
tilt (2.0
|
71
|
-
unicode-display_width (2.
|
70
|
+
tilt (2.1.0)
|
71
|
+
unicode-display_width (2.4.2)
|
72
72
|
webrick (1.7.0)
|
73
73
|
yard (0.9.28)
|
74
74
|
webrick (~> 1.7.0)
|
@@ -88,4 +88,4 @@ DEPENDENCIES
|
|
88
88
|
srx-languagetool!
|
89
89
|
|
90
90
|
BUNDLED WITH
|
91
|
-
2.4.
|
91
|
+
2.4.10
|
data/lib/srx/segment.srx
CHANGED
@@ -4,10 +4,8 @@
|
|
4
4
|
<formathandle type="start" include="no"></formathandle>
|
5
5
|
<formathandle type="end" include="yes"></formathandle>
|
6
6
|
<formathandle type="isolated" include="no"></formathandle>
|
7
|
-
<okpsrx:options oneSegmentIncludesAll="no" trimLeadingWhitespaces="no" trimTrailingWhitespaces="no" useJavaRegex="yes"></okpsrx:options>
|
8
|
-
<okpsrx:sample language="
|
9
|
-
Tussen de twee wereldoorlogen vestigde prof. ir. Messerschmitt zich in Augsburg waar hij met behulp van een oudere, rijke vriendin (met wie hij later trouwde) zijn eerste vliegtuigen bouwde, het waren passagierstoestellen.
|
10
|
-
250 p. n.e.</okpsrx:sample>
|
7
|
+
<okpsrx:options oneSegmentIncludesAll="no" trimLeadingWhitespaces="no" trimTrailingWhitespaces="no" useJavaRegex="yes" useIcu4JBreakRules="no" treatIsolatedCodesAsWhitespace="no"></okpsrx:options>
|
8
|
+
<okpsrx:sample language="nl" useMappedRules="yes">De les is in jul. en aug. op maandagavond.</okpsrx:sample>
|
11
9
|
<okpsrx:rangeRule></okpsrx:rangeRule>
|
12
10
|
</header>
|
13
11
|
<body>
|
@@ -1186,6 +1184,10 @@ Tussen de twee wereldoorlogen vestigde prof. ir. Messerschmitt zich in Augsburg
|
|
1186
1184
|
<afterbreak>[^\p{P}]</afterbreak>
|
1187
1185
|
</rule>
|
1188
1186
|
<rule break="no">
|
1187
|
+
<beforebreak>[?!.…]["”]\)[\s\u00A0]</beforebreak>
|
1188
|
+
<afterbreak>[a-z].*</afterbreak>
|
1189
|
+
</rule>
|
1190
|
+
<rule break="no">
|
1189
1191
|
<beforebreak>(…|\.\.\.)[\s\u00A0]?\?\)[\s\u00A0]</beforebreak>
|
1190
1192
|
<afterbreak>[^\p{P}]</afterbreak>
|
1191
1193
|
</rule>
|
@@ -1538,6 +1540,14 @@ Tussen de twee wereldoorlogen vestigde prof. ir. Messerschmitt zich in Augsburg
|
|
1538
1540
|
</rule>
|
1539
1541
|
</languagerule>
|
1540
1542
|
<languagerule languagerulename="Dutch">
|
1543
|
+
<rule break="yes">
|
1544
|
+
<beforebreak>(^| )O\.\s</beforebreak>
|
1545
|
+
<afterbreak>([A-Z][a-z]{1,3}[ ,:;.!?]|Indië|Wanneer|Kunnen|Sorry)</afterbreak>
|
1546
|
+
</rule>
|
1547
|
+
<rule break="yes">
|
1548
|
+
<beforebreak>\sEd[.]\s</beforebreak>
|
1549
|
+
<afterbreak>([A-Z][a-z]{1,3}|Wanneer|Misschien|Daarna|Zoals|Zelfs|Bedankt|Zullen|Vooral|Volgens|Vervolgens)(\s|[,:;])</afterbreak>
|
1550
|
+
</rule>
|
1541
1551
|
<rule break="no">
|
1542
1552
|
<beforebreak>\b(sp|SP)</beforebreak>
|
1543
1553
|
<afterbreak>\.[aA]\b</afterbreak>
|
@@ -1567,6 +1577,10 @@ Tussen de twee wereldoorlogen vestigde prof. ir. Messerschmitt zich in Augsburg
|
|
1567
1577
|
<beforebreak>\b(enz|etc|zat|ambt|al|ver|art|wed|lab|bv|Bros)\.\s</beforebreak>
|
1568
1578
|
<afterbreak>\p{Ll}</afterbreak>
|
1569
1579
|
</rule>
|
1580
|
+
<rule break="yes">
|
1581
|
+
<beforebreak>\s(la|do|del)\sMar\.\s</beforebreak>
|
1582
|
+
<afterbreak></afterbreak>
|
1583
|
+
</rule>
|
1570
1584
|
<rule break="no">
|
1571
1585
|
<beforebreak>\b(Ge?n|Ex|Le?v|Nu?m|D(eu)?t|Jo?z|Ri|R[ei]cht|Sa?m|Ko?n|Kr[on]{0,2}|Neh?|Est?|Jb|Ps|Spr?|Pr[ed]{0,2}|H(oog)?l|Je?s|Je?r|Kl(aagl)?|Ez(ech)?|Da?n|Ho?s|Jl|Am|Ob|Mc|Mi[ch]{0,2}|Nah?|Hk|Hab|Zf|[SZ]ef|Ha?g|Zc|Zach|Ma?l|Ma?t|Mk|Mar|Lk|Jh|H(an)?d|Ro?m|Kor|Ga?l|Ef|Fp|Fil|Ko|[CK]ol|Th|Th?e[s]{1,2}|Tm|Ti?t|Fm|Fil(em)?|Hb|Hebr?|Jk|Ja[ck]|Pe?tr?|Joh|Jud|Op(enb)?|Wijsh|Tob|Sir|Bar|Makk)\.\s</beforebreak>
|
1572
1586
|
<afterbreak></afterbreak>
|
@@ -1576,7 +1590,11 @@ Tussen de twee wereldoorlogen vestigde prof. ir. Messerschmitt zich in Augsburg
|
|
1576
1590
|
<afterbreak>\p{Lu}</afterbreak>
|
1577
1591
|
</rule>
|
1578
1592
|
<rule break="no">
|
1579
|
-
<beforebreak>\b(
|
1593
|
+
<beforebreak>\b(Stb)\.\s</beforebreak>
|
1594
|
+
<afterbreak>[0-9]</afterbreak>
|
1595
|
+
</rule>
|
1596
|
+
<rule break="no">
|
1597
|
+
<beforebreak>\b([Mm]ej|[Mm]evr|[Mm]rs|[Mm]s|[Mm]gr|[Mm]w|Ndl|Ned|Nl|No|Prof|[Ss]ecr|Chr|Jac|[Ww]ed|Zr)\.\s</beforebreak>
|
1580
1598
|
<afterbreak></afterbreak>
|
1581
1599
|
</rule>
|
1582
1600
|
<rule break="no">
|
@@ -1616,7 +1634,7 @@ Tussen de twee wereldoorlogen vestigde prof. ir. Messerschmitt zich in Augsburg
|
|
1616
1634
|
<afterbreak></afterbreak>
|
1617
1635
|
</rule>
|
1618
1636
|
<rule break="no">
|
1619
|
-
<beforebreak>\b(geb|[Gg]em|get|gld|id|[Ii]ncl|ind|inf|ing|intern|inz|ir|jhr|jkvr)\.\s</beforebreak>
|
1637
|
+
<beforebreak>\b(geb|[Gg]em|get|gld|id|[Ii]ncl|ind|inf|ing|intern|[Ss]ec|inz|ir|jhr|jkvr)\.\s</beforebreak>
|
1620
1638
|
<afterbreak></afterbreak>
|
1621
1639
|
</rule>
|
1622
1640
|
<rule break="no">
|
@@ -1635,6 +1653,14 @@ Tussen de twee wereldoorlogen vestigde prof. ir. Messerschmitt zich in Augsburg
|
|
1635
1653
|
<beforebreak>\b(prov|pseud|psych|qty|red|ref|resp|soc|st|tab|tel|temp|prof|tk)\.\s</beforebreak>
|
1636
1654
|
<afterbreak></afterbreak>
|
1637
1655
|
</rule>
|
1656
|
+
<rule break="yes">
|
1657
|
+
<beforebreak>\sgraden C\.\s</beforebreak>
|
1658
|
+
<afterbreak>[A-Z]</afterbreak>
|
1659
|
+
</rule>
|
1660
|
+
<rule break="yes">
|
1661
|
+
<beforebreak>°C\.\s</beforebreak>
|
1662
|
+
<afterbreak>[A-Z][a-z]</afterbreak>
|
1663
|
+
</rule>
|
1638
1664
|
<rule break="no">
|
1639
1665
|
<beforebreak>\b([A-Z]|Adr|Chr|Fr|Fred|IJ|Jac|Joh|Ph|St|Th|Tj|v|v\.(\s)?d)\.(\s)?</beforebreak>
|
1640
1666
|
<afterbreak>\p{Lu}</afterbreak>
|
@@ -1683,6 +1709,10 @@ Tussen de twee wereldoorlogen vestigde prof. ir. Messerschmitt zich in Augsburg
|
|
1683
1709
|
<beforebreak>\b\p{L}\.</beforebreak>
|
1684
1710
|
<afterbreak>\p{L}\.</afterbreak>
|
1685
1711
|
</rule>
|
1712
|
+
<rule break="yes">
|
1713
|
+
<beforebreak>\sik\.\s</beforebreak>
|
1714
|
+
<afterbreak>ik\s</afterbreak>
|
1715
|
+
</rule>
|
1686
1716
|
<rule break="no">
|
1687
1717
|
<beforebreak>[\.\s]\p{L}{1,2}\.\s</beforebreak>
|
1688
1718
|
<afterbreak>[\p{N}\p{Ll}]</afterbreak>
|
@@ -1729,6 +1759,22 @@ Tussen de twee wereldoorlogen vestigde prof. ir. Messerschmitt zich in Augsburg
|
|
1729
1759
|
<afterbreak>[a-z]</afterbreak>
|
1730
1760
|
</rule>
|
1731
1761
|
<rule break="yes">
|
1762
|
+
<beforebreak>\s'[2-9][.]\s</beforebreak>
|
1763
|
+
<afterbreak></afterbreak>
|
1764
|
+
</rule>
|
1765
|
+
<rule break="no">
|
1766
|
+
<beforebreak>\s[A-Z].+!\s</beforebreak>
|
1767
|
+
<afterbreak>[a-z]</afterbreak>
|
1768
|
+
</rule>
|
1769
|
+
<rule break="no">
|
1770
|
+
<beforebreak>\b(jan|mrt|mar|jun|jul|aug|sept|okt|sep|spt|nov|dec|.*opp)\.\s</beforebreak>
|
1771
|
+
<afterbreak>[a-z]</afterbreak>
|
1772
|
+
</rule>
|
1773
|
+
<rule break="no">
|
1774
|
+
<beforebreak>Groen!\s</beforebreak>
|
1775
|
+
<afterbreak>[a-z]</afterbreak>
|
1776
|
+
</rule>
|
1777
|
+
<rule break="yes">
|
1732
1778
|
<beforebreak>[.!?…][’'"\u00BB\u2019\u201D\u203A\u00AB\p{Pe}\u0002¹²³]*\s</beforebreak>
|
1733
1779
|
<afterbreak></afterbreak>
|
1734
1780
|
</rule>
|
@@ -4972,7 +5018,7 @@ Tussen de twee wereldoorlogen vestigde prof. ir. Messerschmitt zich in Augsburg
|
|
4972
5018
|
</rule>
|
4973
5019
|
<!-- don't split at cases like "Friedrich II. wird auch..." -->
|
4974
5020
|
<rule break="no">
|
4975
|
-
<beforebreak>[\u00A0\s
|
5021
|
+
<beforebreak>[\u00A0\s ][IVX]+\.[\u00A0\s]{1,2}</beforebreak>
|
4976
5022
|
<afterbreak>[^\p{Lu}]+</afterbreak>
|
4977
5023
|
</rule>
|
4978
5024
|
<!-- don't split at cases like "im 13. oder 14. Jahrhundert" -->
|
@@ -5012,7 +5058,7 @@ Tussen de twee wereldoorlogen vestigde prof. ir. Messerschmitt zich in Augsburg
|
|
5012
5058
|
</rule>
|
5013
5059
|
<!-- German abbreviations -->
|
5014
5060
|
<rule break="no">
|
5015
|
-
<beforebreak>\b(betr|Geb|Stk|ggü|Mag|mtl|[Pp]arl|versch|[Ss]tellv|d|Übers|usw|[Bb]zw|Ab[hkst]|[Aa]bzü?gl|[Ll]tda|[Ee]inschl|[Vv]mtl|Ev|bezgl|Abzw|[Vv]sl|ahd|Akk|aktual|allg|alltagsspr|altdt|alttest|amerikan|Anh|Ank|Anm|Art|[Aa]utom|Auftragsnr|Az|Bat|bayr|Bde?|bearb|Bed|Bem|bes|bez|Bez|Bhf|bspw|btto|bw|Dtl|Dez)\.[\u00A0\s]{1,2}</beforebreak>
|
5061
|
+
<beforebreak>\b(betr|Geb|Stk|ggü|Mag|mtl|[Pp]arl|Bsp|versch|[Dd]iesbzgl|[Dd]bzgl[Ss]tellv|d|Übers|usw|[Bb]zw|Ab[hkst]|[Aa]bzü?gl|\d+-tlg|tlg|ggfls|[Ll]tda|[Ee]inschl|[Vv]mtl|Ev|bezgl|lit|Abzw|[Vv]sl|ahd|Akk|aktual|[Öö]ffentl|prof|allg|alltagsspr|altdt|alttest|amerikan|Anh|Ank|Anm|Art|[Aa]utom|Auftragsnr|Az|Bat|bayr|Bde?|bearb|Bed|Bem|bes|bez|Bez|Bhf|Blvd|bspw|btto|bw|Dtl|Dez|[Jj]gdfr|[Ee]ff)\.[\u00A0\s]{1,2}</beforebreak>
|
5016
5062
|
<afterbreak></afterbreak>
|
5017
5063
|
</rule>
|
5018
5064
|
<rule break="no">
|
@@ -5052,7 +5098,7 @@ Tussen de twee wereldoorlogen vestigde prof. ir. Messerschmitt zich in Augsburg
|
|
5052
5098
|
<afterbreak>[\-–][\u00A0\s]\d+</afterbreak>
|
5053
5099
|
</rule>
|
5054
5100
|
<rule break="no">
|
5055
|
-
<beforebreak>\b(Tel|teilw|Temp|trans|Tsd|übertr|übl|ff|überarb|ugs|univ|unveränd|urspr|USt|UST|USt\-IdNr|[Aa][bn]schl|sw|kl|[Gg]r|vgl|vll|Vll|vlt|Vlt|vllt|Vllt|Vgl|Vol|vollst|vorm|Vp|Vs|vs|wesentl|[Rr]echts?staatl|[Ss]taatl|wg|Whg|Hd|Ztr|zus|Zus|zzt?|zzgl|zB|zb|Zz|Zt|zw|Min|Bzgl|bzgl|bezügl|Frhr|ggfs|insb|autom|Mw[sS]t)\.[\u00A0\s]{1,2}</beforebreak>
|
5101
|
+
<beforebreak>\b(Tel|teilw|Temp|trans|Tsd|übertr|übl|ff|überarb|ugs|univ|unveränd|urspr|USt|UST|USt\-IdNr|[Aa][bn]schl|sw|kl|[Gg]r|vgl|vll|Vll|vlt|Vlt|vllt|Vllt|Vgl|Vol|vollst|vorm|Vp|Vs|vs|wesentl|voraussichtl|[Rr]echts?staatl|[Ss]taatl|wg|Whg|Hd|Ztr|zus|Zus|zzt?|zzgl|zB|zb|Zz|Zt|zw|Min|Bzgl|bzgl|bezügl|Frhr|ggfs|insb|autom|Mw[sS]t)\.[\u00A0\s]{1,2}</beforebreak>
|
5056
5102
|
<afterbreak></afterbreak>
|
5057
5103
|
</rule>
|
5058
5104
|
<!-- Break rules -->
|
@@ -5644,6 +5690,10 @@ Tussen de twee wereldoorlogen vestigde prof. ir. Messerschmitt zich in Augsburg
|
|
5644
5690
|
<afterbreak></afterbreak>
|
5645
5691
|
</rule>
|
5646
5692
|
<rule break="no">
|
5693
|
+
<beforebreak>\b(кін)\.[\h\v]*</beforebreak>
|
5694
|
+
<afterbreak>[а-яіїєґ0-9IXV]|[ІХ]+\b</afterbreak>
|
5695
|
+
</rule>
|
5696
|
+
<rule break="no">
|
5647
5697
|
<beforebreak>\b[сС]т\.[\h\v]</beforebreak>
|
5648
5698
|
<afterbreak>[\h]*(?!([АВУОІЄ]|На|Але|Так?)[\h\v])</afterbreak>
|
5649
5699
|
</rule>
|
@@ -5713,12 +5763,12 @@ Tussen de twee wereldoorlogen vestigde prof. ir. Messerschmitt zich in Augsburg
|
|
5713
5763
|
<!-- але розбиваємо «всього 20 м. Почалося» -->
|
5714
5764
|
<rule break="no">
|
5715
5765
|
<beforebreak>(?<!\d[\h\v]*)\bм\.[\h\v]*</beforebreak>
|
5716
|
-
<afterbreak>[А-ЯІЇЄҐ][а-яіїєґ]</afterbreak>
|
5766
|
+
<afterbreak>[А-ЯІЇЄҐ][а-яіїєґ']</afterbreak>
|
5717
5767
|
</rule>
|
5718
5768
|
<!-- село/сторінка/місто, але щоб не збігалося з секундами/метрами -->
|
5719
5769
|
<rule break="no">
|
5720
5770
|
<beforebreak>([\h\v][«(][см]|[^0-9/. ][\h\v]+[см])\.[\h\v]+</beforebreak>
|
5721
|
-
<afterbreak>[А-ЯІЇЄҐ]</afterbreak>
|
5771
|
+
<afterbreak>[А-ЯІЇЄҐ][а-яіїєґ']</afterbreak>
|
5722
5772
|
</rule>
|
5723
5773
|
<!-- (реж. Емманюель -->
|
5724
5774
|
<rule break="no">
|
@@ -5735,6 +5785,11 @@ Tussen de twee wereldoorlogen vestigde prof. ir. Messerschmitt zich in Augsburg
|
|
5735
5785
|
<beforebreak></beforebreak>
|
5736
5786
|
<afterbreak>[\h\v]*[‐-―-][\h\v]*([Рр]ед|[Аа]вт)[\h\v]*\.[\)\]]</afterbreak>
|
5737
5787
|
</rule>
|
5788
|
+
<!-- Цензор.НЕТ -->
|
5789
|
+
<rule break="no">
|
5790
|
+
<beforebreak>[а-яіїєґ]\.</beforebreak>
|
5791
|
+
<afterbreak>НЕТ|Інфо|Info|City|Life|UA|Ру</afterbreak>
|
5792
|
+
</rule>
|
5738
5793
|
<!-- але лишаємо ініціали: С.\u202F Шелухин -->
|
5739
5794
|
<rule break="yes">
|
5740
5795
|
<beforebreak>(?<!\h[А-ЯІЇЄҐ])[.!?…]{1,3}\u202F[\h\v]+</beforebreak>
|
@@ -6520,7 +6575,7 @@ Tussen de twee wereldoorlogen vestigde prof. ir. Messerschmitt zich in Augsburg
|
|
6520
6575
|
</rule>
|
6521
6576
|
<!--Не раздвајај у случају као на пр.: "Петар I дошао је ..."-->
|
6522
6577
|
<rule break="no">
|
6523
|
-
<beforebreak>[\s
|
6578
|
+
<beforebreak>[\s ][IVX]+\s</beforebreak>
|
6524
6579
|
<afterbreak>[^\p{Lu}]+</afterbreak>
|
6525
6580
|
</rule>
|
6526
6581
|
<!--Не раздвајај у случају као "од 13. до 14. века"-->
|
@@ -6541,7 +6596,7 @@ Tussen de twee wereldoorlogen vestigde prof. ir. Messerschmitt zich in Augsburg
|
|
6541
6596
|
</rule>
|
6542
6597
|
<!-- German abbreviations -->
|
6543
6598
|
<rule break="no">
|
6544
|
-
<beforebreak>\b(versch|d|Übers|usw|Ab[hkts]|ahd|Akk|aktual|allg|alltagsspr|altdt|alttest|amerikan|Anh|Ank|Anm|Art|Az|Bat|bayr|Bd|Bde|bearb|Bed|Bem|bes|bez|Bez|Bhf|bspw|btto|bw|bzw)\.\s</beforebreak>
|
6599
|
+
<beforebreak>\b(versch|d|Übers|usw|Ab[hkts]|ahd|Akk|aktual|allg|alltagsspr|altdt|alttest|amerikan|Anh|Ank|Anm|Art|Az|Bat|bayr|Bd|Bde|bearb|Bed|Bem|bes|bez|Bez|Bhf|bspw|btto|bw|bzw|pot)\.\s</beforebreak>
|
6545
6600
|
<afterbreak></afterbreak>
|
6546
6601
|
</rule>
|
6547
6602
|
<!--Српске скраћенице-->
|
data/srx-languagetool.gemspec
CHANGED
@@ -28,11 +28,4 @@ Gem::Specification.new do |spec|
|
|
28
28
|
spec.require_paths = ['lib']
|
29
29
|
|
30
30
|
spec.add_dependency 'srx', '<1.0'
|
31
|
-
|
32
|
-
spec.add_development_dependency 'byebug'
|
33
|
-
spec.add_development_dependency 'minitest'
|
34
|
-
spec.add_development_dependency 'rake'
|
35
|
-
spec.add_development_dependency 'rspec-expectations'
|
36
|
-
spec.add_development_dependency 'rubocop'
|
37
|
-
spec.add_development_dependency 'solargraph'
|
38
31
|
end
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: srx-languagetool
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.11.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Aaron Madlon-Kay
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2023-07-03 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: srx
|
@@ -24,90 +24,6 @@ dependencies:
|
|
24
24
|
- - "<"
|
25
25
|
- !ruby/object:Gem::Version
|
26
26
|
version: '1.0'
|
27
|
-
- !ruby/object:Gem::Dependency
|
28
|
-
name: byebug
|
29
|
-
requirement: !ruby/object:Gem::Requirement
|
30
|
-
requirements:
|
31
|
-
- - ">="
|
32
|
-
- !ruby/object:Gem::Version
|
33
|
-
version: '0'
|
34
|
-
type: :development
|
35
|
-
prerelease: false
|
36
|
-
version_requirements: !ruby/object:Gem::Requirement
|
37
|
-
requirements:
|
38
|
-
- - ">="
|
39
|
-
- !ruby/object:Gem::Version
|
40
|
-
version: '0'
|
41
|
-
- !ruby/object:Gem::Dependency
|
42
|
-
name: minitest
|
43
|
-
requirement: !ruby/object:Gem::Requirement
|
44
|
-
requirements:
|
45
|
-
- - ">="
|
46
|
-
- !ruby/object:Gem::Version
|
47
|
-
version: '0'
|
48
|
-
type: :development
|
49
|
-
prerelease: false
|
50
|
-
version_requirements: !ruby/object:Gem::Requirement
|
51
|
-
requirements:
|
52
|
-
- - ">="
|
53
|
-
- !ruby/object:Gem::Version
|
54
|
-
version: '0'
|
55
|
-
- !ruby/object:Gem::Dependency
|
56
|
-
name: rake
|
57
|
-
requirement: !ruby/object:Gem::Requirement
|
58
|
-
requirements:
|
59
|
-
- - ">="
|
60
|
-
- !ruby/object:Gem::Version
|
61
|
-
version: '0'
|
62
|
-
type: :development
|
63
|
-
prerelease: false
|
64
|
-
version_requirements: !ruby/object:Gem::Requirement
|
65
|
-
requirements:
|
66
|
-
- - ">="
|
67
|
-
- !ruby/object:Gem::Version
|
68
|
-
version: '0'
|
69
|
-
- !ruby/object:Gem::Dependency
|
70
|
-
name: rspec-expectations
|
71
|
-
requirement: !ruby/object:Gem::Requirement
|
72
|
-
requirements:
|
73
|
-
- - ">="
|
74
|
-
- !ruby/object:Gem::Version
|
75
|
-
version: '0'
|
76
|
-
type: :development
|
77
|
-
prerelease: false
|
78
|
-
version_requirements: !ruby/object:Gem::Requirement
|
79
|
-
requirements:
|
80
|
-
- - ">="
|
81
|
-
- !ruby/object:Gem::Version
|
82
|
-
version: '0'
|
83
|
-
- !ruby/object:Gem::Dependency
|
84
|
-
name: rubocop
|
85
|
-
requirement: !ruby/object:Gem::Requirement
|
86
|
-
requirements:
|
87
|
-
- - ">="
|
88
|
-
- !ruby/object:Gem::Version
|
89
|
-
version: '0'
|
90
|
-
type: :development
|
91
|
-
prerelease: false
|
92
|
-
version_requirements: !ruby/object:Gem::Requirement
|
93
|
-
requirements:
|
94
|
-
- - ">="
|
95
|
-
- !ruby/object:Gem::Version
|
96
|
-
version: '0'
|
97
|
-
- !ruby/object:Gem::Dependency
|
98
|
-
name: solargraph
|
99
|
-
requirement: !ruby/object:Gem::Requirement
|
100
|
-
requirements:
|
101
|
-
- - ">="
|
102
|
-
- !ruby/object:Gem::Version
|
103
|
-
version: '0'
|
104
|
-
type: :development
|
105
|
-
prerelease: false
|
106
|
-
version_requirements: !ruby/object:Gem::Requirement
|
107
|
-
requirements:
|
108
|
-
- - ">="
|
109
|
-
- !ruby/object:Gem::Version
|
110
|
-
version: '0'
|
111
27
|
description:
|
112
28
|
email:
|
113
29
|
- aaron@madlon-kay.com
|