srx-languagetool 0.2.0 → 0.3.0

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: d929b515d7e87e260c01373e1f5d6c35bf35fa05f8fe29fea39ba18d0078e120
4
- data.tar.gz: ee821f5cfb3b4fea3d347c3ef3583459da60d044c458aa5ad907b378d5eef963
3
+ metadata.gz: 9f3ac5da2f53e57018c6febfd004e1a6b2ba5059fc8911aaae52d263ff52dcbd
4
+ data.tar.gz: 54e97225366062cc30080346dd69c49b4bef9c86db54b8ff2c08f5e5a7920c69
5
5
  SHA512:
6
- metadata.gz: 2733d28e0ed99d6b5fd0c15b30311aed10059c34c8c411de051901ca545ed6a4eb299e0695190817b45d6691f74b3d78215d6a5ce68c589b0776e25ca3c3dada
7
- data.tar.gz: 4344f1b2dc867dcbffb8db8b2db95da458de718f0481814e8dd23965c2b3831199702333637d56017566388de5da0d745995276e0376c9e16e63dc9f15cd8d10
6
+ metadata.gz: d960af93ad5200cbe3201c22094ddf09f999b05e6a89b69079c47ff1e6c07a927977bd17fc28c8ec0cd7b7da46d4b0119fde7415268ea2c51374a01ae239a62f
7
+ data.tar.gz: b37d5e1ba0bc5fc789005250be57de3e4aa4036416e91dd10b787472bd69775cfe0090de5a2d9bb25fe402e2cc69078319ef0f6042e4311cbb7ddfb8eab217bd
@@ -13,7 +13,7 @@ jobs:
13
13
  ruby-version: 2.7.3
14
14
  - name: Install
15
15
  run: |
16
- gem install bundler -v 2.2.16
16
+ gem install bundler -v 2.2.20
17
17
  bundle install
18
18
  - name: Type check
19
19
  run: bundle exec solargraph typecheck --level typed
data/.rubocop.yml CHANGED
@@ -1,7 +1,7 @@
1
1
  inherit_from: .rubocop_todo.yml
2
2
 
3
3
  AllCops:
4
- TargetRubyVersion: 2.4
4
+ TargetRubyVersion: 2.5
5
5
  SuggestExtensions: false
6
6
  NewCops: enable
7
7
 
data/CHANGELOG.md CHANGED
@@ -1,5 +1,7 @@
1
1
  ## [Unreleased]
2
2
 
3
+ - Update rules to LanguageTool 5.4
4
+
3
5
  ## [0.2.0] - 2021-04-15
4
6
 
5
7
  - Update rules to LanguageTool 5.3
data/Gemfile.lock CHANGED
@@ -1,14 +1,14 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- srx-languagetool (0.2.0)
4
+ srx-languagetool (0.3.0)
5
5
  srx (< 1.0)
6
6
 
7
7
  GEM
8
8
  remote: https://rubygems.org/
9
9
  specs:
10
10
  ast (2.4.2)
11
- backport (1.1.2)
11
+ backport (1.2.0)
12
12
  benchmark (0.1.1)
13
13
  byebug (11.1.3)
14
14
  diff-lcs (1.4.4)
@@ -19,10 +19,10 @@ GEM
19
19
  kramdown-parser-gfm (1.1.0)
20
20
  kramdown (~> 2.0)
21
21
  minitest (5.14.4)
22
- nokogiri (1.11.3-x86_64-darwin)
22
+ nokogiri (1.11.7-x86_64-darwin)
23
23
  racc (~> 1.4)
24
24
  parallel (1.20.1)
25
- parser (3.0.1.0)
25
+ parser (3.0.1.1)
26
26
  ast (~> 2.4.1)
27
27
  racc (1.5.2)
28
28
  rainbow (3.0.0)
@@ -35,22 +35,23 @@ GEM
35
35
  diff-lcs (>= 1.2.0, < 2.0)
36
36
  rspec-support (~> 3.10.0)
37
37
  rspec-support (3.10.2)
38
- rubocop (1.12.1)
38
+ rubocop (1.17.0)
39
39
  parallel (~> 1.10)
40
40
  parser (>= 3.0.0.0)
41
41
  rainbow (>= 2.2.2, < 4.0)
42
42
  regexp_parser (>= 1.8, < 3.0)
43
43
  rexml
44
- rubocop-ast (>= 1.2.0, < 2.0)
44
+ rubocop-ast (>= 1.7.0, < 2.0)
45
45
  ruby-progressbar (~> 1.7)
46
46
  unicode-display_width (>= 1.4.0, < 3.0)
47
- rubocop-ast (1.4.1)
48
- parser (>= 2.7.1.5)
47
+ rubocop-ast (1.7.0)
48
+ parser (>= 3.0.1.1)
49
49
  ruby-progressbar (1.11.0)
50
- solargraph (0.40.4)
51
- backport (~> 1.1)
50
+ solargraph (0.42.3)
51
+ backport (~> 1.2)
52
52
  benchmark
53
53
  bundler (>= 1.17.2)
54
+ diff-lcs (~> 1.4)
54
55
  e2mmap
55
56
  jaro_winkler (~> 1.5)
56
57
  kramdown (~> 2.3)
@@ -81,4 +82,4 @@ DEPENDENCIES
81
82
  srx-languagetool!
82
83
 
83
84
  BUNDLED WITH
84
- 2.2.16
85
+ 2.2.20
@@ -2,6 +2,6 @@
2
2
 
3
3
  module Srx
4
4
  module Languagetool
5
- VERSION = '0.2.0'
5
+ VERSION = '0.3.0'
6
6
  end
7
7
  end
data/lib/srx/segment.srx CHANGED
@@ -1524,11 +1524,11 @@
1524
1524
  <afterbreak>[A-Za-z0-9\-]+\.(com|net|org|info|de|es|edu|co|eu|nl|io|cn|uk|gov|biz|ca|tk|ru|br|jp|pl)(\.|\b)</afterbreak>
1525
1525
  </rule>
1526
1526
  <rule break="no">
1527
- <beforebreak>\b(Drs|Art|Afr|Am|Ar|Br|Cie|Comp|Dhr|([Pp]rof\.)?[Dd]r|Em|Fa|Kon)\.\s</beforebreak>
1527
+ <beforebreak>\b(Drs|Art|Afr|Am|Ar|Br|Cie|Comp|Dhr|([Pp]rof\.)?[Dd]r|Em|Fa|Kon|Bros)\.\s</beforebreak>
1528
1528
  <afterbreak></afterbreak>
1529
1529
  </rule>
1530
1530
  <rule break="no">
1531
- <beforebreak>\b(Mej|Mevr|Mgr|Mw|Ndl|Ned|Nl|No|Prof|Secr|Chr)\.\s</beforebreak>
1531
+ <beforebreak>\b(Mej|Mevr|Mgr|Mw|Ndl|Ned|Nl|No|Prof|Secr|Chr|Jac)\.\s</beforebreak>
1532
1532
  <afterbreak></afterbreak>
1533
1533
  </rule>
1534
1534
  <rule break="no">
@@ -1668,12 +1668,28 @@
1668
1668
  <beforebreak>\bprof\.\s</beforebreak>
1669
1669
  <afterbreak></afterbreak>
1670
1670
  </rule>
1671
+ <rule break="no">
1672
+ <beforebreak>[.!?…][’'"]\s</beforebreak>
1673
+ <afterbreak>[a-z]</afterbreak>
1674
+ </rule>
1675
+ <rule break="no">
1676
+ <beforebreak>[.][.]\s</beforebreak>
1677
+ <afterbreak>[a-z]</afterbreak>
1678
+ </rule>
1679
+ <rule break="no">
1680
+ <beforebreak>SP[.]</beforebreak>
1681
+ <afterbreak>A</afterbreak>
1682
+ </rule>
1683
+ <rule break="no">
1684
+ <beforebreak>Warner Bros\.</beforebreak>
1685
+ <afterbreak>[a-z]</afterbreak>
1686
+ </rule>
1671
1687
  <rule break="yes">
1672
- <beforebreak>[\.!?…][\u00BB\u2019\u201D\u203A\u00AB\p{Pe}\u0002¹²³]*\s</beforebreak>
1688
+ <beforebreak>[\.!?…][’'"\u00BB\u2019\u201D\u203A\u00AB\p{Pe}\u0002¹²³]*\s</beforebreak>
1673
1689
  <afterbreak></afterbreak>
1674
1690
  </rule>
1675
1691
  <rule break="yes">
1676
- <beforebreak>[\.!?…]['"\u00BB\u2019\u201D\u203A\u00AB\p{Pe}\u0002]*</beforebreak>
1692
+ <beforebreak>[\.!?…]['"\u00BB\u2019\u201D\u203A\u00AB\p{Pe}\u0002]*</beforebreak>
1677
1693
  <afterbreak>\p{Lu}[^\p{Lu}]</afterbreak>
1678
1694
  </rule>
1679
1695
  <rule break="yes">
@@ -1713,6 +1729,7 @@
1713
1729
  <beforebreak>[?!.]\s</beforebreak>
1714
1730
  <afterbreak>['"\u00BB\u2019\u201D\u203A\u00AB\p{Pe}\u0002][A-Z][a-z]</afterbreak>
1715
1731
  </rule>
1732
+ <!-- ##### end of Dutch #### -->
1716
1733
  </languagerule>
1717
1734
  <languagerule languagerulename="Slovak">
1718
1735
  <rule break="no">
@@ -4271,7 +4288,7 @@
4271
4288
  <rule break="no">
4272
4289
  <beforebreak>\b(бульв|г|д|доп|др|е|зам|Зам|и|им|инд|исп|Исп)\.\s</beforebreak>
4273
4290
  <afterbreak></afterbreak>
4274
- </rule>
4291
+ </rule>
4275
4292
  <rule break="no">
4276
4293
  <beforebreak>\b(англ|в|вв|га|гг|гл|гос|грн|дм|долл|е|ед)\.\s</beforebreak>
4277
4294
  <afterbreak>\p{Ll}</afterbreak>
@@ -4557,7 +4574,7 @@
4557
4574
  </rule>
4558
4575
  <!-- Abbreviations that cannot finish sentences-->
4559
4576
  <rule break="no">
4560
- <beforebreak>\b(dc|(?iu)(n|Mr|C|Dr|Dra|E|Emm|Emma|Excm|Excma|Hble|I|Il·lm|Il·lma|Il·ltre|Im|Ima|Mgfc|Mgfca|Mn|R|Rev|Sr|Sra|Sres|Srs|St|Sta|a|abr|abs|acad|add|adj|adm|admdor|admdora|admtiu|admtiva|adv|ag|agl|agr|agron|agròn|aj|ajud|al|alim|amb|ampl|ant|ap|apmt|apnt|apr|aprox|apt|arm|arq|arqueol|arquit|assign|assoc|atm|aut|aux|av|b|batx|bda|bibl|bl|bnc|butll|bxs|c|calef|cartogr|cat|catedr|catol|cf|cia|cin|cint|circul|cit|climat|col|col·l|compt|cons|constr|cont|contr|conv|corp|corr|cpl|cpt|cró|ct|cte|ctra|cts|d|dept|derog|des|desp|dg|dip|disp|distr|div|dj|dl|doc|drec|ds|dt|dta|dte|dupl|dv|e|econ|ed|ef|entl|esc|esp|espf|esq|ex|exc|exp|exped|ext|f|fac|fca|febr|fig|figs|fra|gen|gov|gral|i|imp|impr|impt|inc|insp|inst|int|inv|j|jul|jur|jurispr|leg|llic|loc|ltda|làm|merc|mil·l|màx|mín|neg|nov|nre|núm|o|oct|op|p|pàg|pàgs|paq|par|pda|pg|pl|pobl|pol|ppda|ppt|pral|prev|prof|progr|prov|pta|ptes|ptge|pvt|pàg|quadr|quint|r|rbla|ref|reg|rev|secr|serv|sgt|sotsp|subsp|supl|supt|t|tel|telegr|tit|trad|trans|transcr|transf|trav|tripl|trv|tt|tèc|univ|urb|v|var|veg|venc|vid|vig|vocab|vs|x|àt|íd))\.\s</beforebreak>
4577
+ <beforebreak>\b(dc|(?iu)(n|Mr|C|Dr|Dra|Dra\. Ma|Sta\. Ma|E|Emm|Emma|Excm|Excma|Hble|I|Il·lm|Il·lma|Il·ltre|Im|Ima|Mgfc|Mgfca|Mn|R|Rev|Sr|Sra|Sres|Srs|St|Sta|a|abr|abs|acad|add|adj|adm|admdor|admdora|admtiu|admtiva|adv|ag|agl|agr|agron|agròn|aj|ajud|al|alim|amb|ampl|ant|ap|apmt|apnt|apr|aprox|apt|arm|arq|arqueol|arquit|assign|assoc|atm|aut|aux|av|b|batx|bda|bibl|bl|bnc|butll|bxs|c|calef|cartogr|cat|catedr|catol|cf|cia|cin|cint|circul|cit|climat|col|col·l|compt|cons|constr|cont|contr|conv|corp|corr|cpl|cpt|cró|ct|cte|ctra|cts|d|dept|derog|des|desp|dg|dip|disp|distr|div|dj|dl|doc|drec|ds|dt|dta|dte|dupl|dv|e|econ|ed|ef|entl|esc|esp|espf|esq|ex|exc|exp|exped|ext|f|fac|fca|febr|fig|figs|fra|gen|gov|gral|i|imp|impr|impt|inc|insp|inst|int|inv|j|jul|jur|jurispr|leg|llic|loc|ltda|làm|merc|mil·l|màx|mín|neg|nov|nre|núm|o|oct|op|p|pàg|pàgs|paq|par|pda|pg|pl|pobl|pol|ppda|ppt|pral|prev|prof|progr|prov|pta|ptes|ptge|pvt|pàg|quadr|quint|r|rbla|ref|reg|rev|secr|serv|sgt|sotsp|subsp|supl|supt|t|tel|telegr|tit|trad|trans|transcr|transf|trav|tripl|trv|tt|tèc|univ|urb|v|var|veg|venc|vid|vig|vocab|vs|x|àt|íd))\.\s</beforebreak>
4561
4578
  <afterbreak></afterbreak>
4562
4579
  </rule>
4563
4580
  <!-- Abbreviations that can finish sentences -->
@@ -4693,7 +4710,7 @@
4693
4710
  </rule>
4694
4711
  <!-- Abbreviations that cannot finish sentences-->
4695
4712
  <rule break="no">
4696
- <beforebreak>\b(dc|(?iu)(n|Mr|C|Dr|Dra|E|Emm|Emma|Excm|Excma|Hble|I|Il·lm|Il·lma|Il·ltre|Im|Ima|Mgfc|Mgfca|Mn|R|Rev|Sr|Sra|Sres|Sras|Srs|St|Sta|a|abr|abs|acad|add|adj|adm|admdor|admdora|admtiu|admtiva|adv|ag|agl|agr|agron|agròn|aj|ajud|al|alim|amb|ampl|ant|ap|apmt|apnt|apr|aprox|apt|arm|arq|arqueol|arquit|assign|assoc|atm|aut|aux|av|b|batx|bda|bibl|bl|bnc|butll|bxs|c|calef|cartogr|cat|catedr|catol|cf|cia|cin|cint|circul|cit|climat|col|col·l|compt|cons|constr|cont|contr|conv|corp|corr|cpl|cpt|cró|ct|cte|ctra|cts|d|dept|derog|des|desp|dg|dip|disp|distr|div|dj|dl|doc|drec|ds|dt|dta|dte|dupl|dv|e|econ|ed|ef|entl|esc|esp|espf|esq|ex|exc|exp|exped|ext|f|fac|fca|febr|fig|figs|fra|gen|gov|gral|i|imp|impr|impt|inc|insp|inst|int|inv|j|jul|jur|jurispr|leg|llic|loc|ltda|làm|merc|mil·l|màx|mín|neg|nov|nre|núm|o|oct|op|p|pàg|pàgs|paq|par|pda|pg|pl|pobl|pol|ppda|ppt|pral|prev|prof|progr|prov|pta|ptes|ptge|pvt|pàg|quadr|quint|r|rbla|ref|reg|rev|secr|serv|sgt|sotsp|subsp|supl|supt|t|tel|telegr|tit|trad|trans|transcr|transf|trav|tripl|trv|tt|tèc|univ|urb|v|var|veg|venc|vid|vig|vocab|vs|x|àt|íd))\.\s</beforebreak>
4713
+ <beforebreak>\b(dc|(?iu)(n|[Aa]yto|Mr|C|Dr|Dra|E|Emm|Emma|Excm|Excma|Hble|I|Il·lm|Il·lma|Il·ltre|Im|Ima|Mgfc|Mgfca|Mn|R|Rev|Sr|Sra|Sres|Sras|Srs|St|Sta|a|abr|abs|acad|add|adj|adm|admdor|admdora|admtiu|admtiva|adv|ag|agl|agr|agron|agròn|aj|ajud|al|alim|amb|ampl|ant|ap|apmt|apnt|apr|aprox|apt|arm|arq|arqueol|arquit|assign|assoc|atm|aut|aux|av|b|batx|bda|bibl|bl|bnc|butll|bxs|c|calef|cartogr|cat|catedr|catol|cf|cia|cin|cint|circul|cit|climat|col|col·l|compt|cons|constr|cont|contr|conv|corp|corr|cpl|cpt|cró|ct|cte|ctra|cts|d|dept|derog|des|desp|dg|dip|disp|distr|div|dj|dl|doc|drec|ds|dt|dta|dte|dupl|dv|e|econ|ed|ef|entl|esc|esp|espf|esq|ex|exc|exp|exped|ext|f|fac|fca|febr|fig|figs|fra|gen|gov|gral|i|imp|impr|impt|inc|insp|inst|int|inv|j|jul|jur|jurispr|leg|llic|loc|ltda|làm|merc|mil·l|màx|mín|neg|nov|nre|núm|o|oct|op|p|pàg|pàgs|paq|par|pda|pg|pl|pobl|pol|ppda|ppt|pral|prev|prof|progr|prov|pta|ptes|ptge|pvt|pàg|quadr|quint|r|rbla|ref|reg|rev|secr|serv|sgt|sotsp|subsp|supl|supt|t|tel|telegr|tit|trad|trans|transcr|transf|trav|tripl|trv|tt|tèc|univ|urb|v|var|veg|venc|vid|vig|vocab|vs|x|àt|íd))\.\s</beforebreak>
4697
4714
  <afterbreak/>
4698
4715
  </rule>
4699
4716
  <rule break="no">
@@ -4879,7 +4896,7 @@
4879
4896
  <afterbreak>(und|oder|bis)\s</afterbreak>
4880
4897
  </rule>
4881
4898
  <!-- einige deutsche Monate, vor denen eine Zahl erscheinen kann,
4882
- ohne dass eine Satzgrenze erkannt wird
4899
+ ohne dass eine Satzgrenze erkannt wird
4883
4900
  (z.B. "am 13. Dezember" -> keine Satzgrenze) -->
4884
4901
  <rule break="no">
4885
4902
  <beforebreak>\d+\.\s</beforebreak>
@@ -4910,7 +4927,7 @@
4910
4927
  </rule>
4911
4928
  <!-- German abbreviations -->
4912
4929
  <rule break="no">
4913
- <beforebreak>\b(Mag|mtl|versch|d|Übers|usw|Bzw|bzw|Ab[hkst]|abzgl|Abzw|ahd|Akk|aktual|allg|alltagsspr|altdt|alttest|amerikan|Anh|Ank|Anm|Art|autom|Auftragsnr|Az|Bat|bayr|Bde?|bearb|Bed|Bem|bes|bez|Bez|Bhf|bspw|btto|bw)\.\s</beforebreak>
4930
+ <beforebreak>\b(ggü|Mag|mtl|versch|d|Übers|usw|Bzw|bzw|Ab[hkst]|abzgl|Abzw|ahd|Akk|aktual|allg|alltagsspr|altdt|alttest|amerikan|Anh|Ank|Anm|Art|autom|Auftragsnr|Az|Bat|bayr|Bde?|bearb|Bed|Bem|bes|bez|Bez|Bhf|bspw|btto|bw)\.\s</beforebreak>
4914
4931
  <afterbreak></afterbreak>
4915
4932
  </rule>
4916
4933
  <rule break="no">
@@ -5180,7 +5197,12 @@
5180
5197
  </rule>
5181
5198
  <rule break="no"><!-- Subdomains without "www." (e.g. foo.MyDomain.com)-->
5182
5199
  <beforebreak>\b[A-Za-z0-9\-]+\.</beforebreak>
5183
- <afterbreak>[A-Za-z0-9\-]+\.(com|net|org|info|de|es|edu|co|eu|nl|io|cn|uk|gov|biz|ca|tk|ru|br|jp|pl)(\.|\b)</afterbreak>
5200
+ <afterbreak>[A-Za-z0-9\-]+\.(fr|com|net|org|info|de|es|edu|co|eu|nl|io|cn|uk|gov|biz|ca|tk|ru|br|jp|pl)(\.|\b)</afterbreak>
5201
+ </rule>
5202
+ <rule break="no">
5203
+ <!-- gaffa.org -->
5204
+ <beforebreak>\b[A-Za-z0-9\-]+\.</beforebreak>
5205
+ <afterbreak>[A-Za-z]{2,5}(\.|\b)</afterbreak>
5184
5206
  </rule>
5185
5207
  <!-- French abbreviations -->
5186
5208
  <rule break="no">
@@ -5192,7 +5214,7 @@
5192
5214
  <afterbreak></afterbreak>
5193
5215
  </rule>
5194
5216
  <rule break="no">
5195
- <beforebreak>\b(apr|ave?|boul|Mr?|Mrs|MM?)\.\s</beforebreak>
5217
+ <beforebreak>\b(apr|ave?|boul|Mr?|Mrs|MM?|Mlle)\.\s</beforebreak>
5196
5218
  <afterbreak></afterbreak>
5197
5219
  </rule>
5198
5220
  <rule break="no">
@@ -5810,7 +5832,7 @@
5810
5832
  <afterbreak>['"«¡¿\p{Ps}\p{Pi}]?\p{Lu}\p{Ll}*</afterbreak>
5811
5833
  </rule>
5812
5834
  </languagerule>
5813
- <languagerule languagerulename="Japanese">
5835
+ <languagerule languagerulename="Ideographic">
5814
5836
  <rule break="no">
5815
5837
  <beforebreak>[:]+[\p{Pe}\p{Pf}\p{Po}"-[\u002C\u003A\u003B\u055D\u060C\u061B\u0703\u0704\u0705\u0706\u0707\u0708\u0709\u07F8\u1363\u1364\u1365\u1366\u1802\u1804\u1808\u204F\u205D\u3001\uA60D\uFE10\uFE11\uFE13\uFE14\uFE50\uFE51\uFE54\uFE55\uFF0C\uFF1A\uFF1B\uFF64]]*</beforebreak>
5816
5838
  <afterbreak>\s+\P{Lu}</afterbreak>
@@ -5878,7 +5900,7 @@
5878
5900
  </rule>
5879
5901
  <!-- Abbreviations that cannot finish sentences-->
5880
5902
  <rule break="no">
5881
- <beforebreak>\b(a|Ab|abrev|absol|acad|Açor|A\. ?D|add|adj|adv|advers|Aeron|afér|Agric|Álg|aprox|art|Artilh|auxil|av|Av)\.\s?</beforebreak>
5903
+ <beforebreak>\b(a|Ab|abrev|absol|acad|Açor|A\. ?D|add|adj|adv|advers|Aeron|afér|Agric|Álg|aprox|[Aa]rts?|Artilh|auxil|av|Av)\.\s?</beforebreak>
5882
5904
  <afterbreak></afterbreak>
5883
5905
  </rule>
5884
5906
  <rule break="no">
@@ -6606,10 +6628,8 @@
6606
6628
  <languagemap languagepattern="(UK|uk).*" languagerulename="Ukrainian"></languagemap>
6607
6629
  <languagemap languagepattern="(BE|be).*" languagerulename="Belarusian"></languagemap>
6608
6630
  <languagemap languagepattern="(GL|gl).*" languagerulename="Galician"></languagemap>
6609
- <languagemap languagepattern="(JA|ja).*" languagerulename="Japanese"></languagemap>
6610
- <!-- Modification: Japanese rules work well for Chinese; keep original name to
6611
- minimize diff -->
6612
- <languagemap languagepattern="(ZH|zh).*" languagerulename="Japanese"></languagemap>
6631
+ <languagemap languagepattern="(JA|ja).*" languagerulename="Ideographic"></languagemap>
6632
+ <languagemap languagepattern="(ZH|zh).*" languagerulename="Ideographic"></languagemap>
6613
6633
  <languagemap languagepattern="(BR|br).*" languagerulename="Breton"></languagemap>
6614
6634
  <languagemap languagepattern="(PT|pt).*" languagerulename="Portuguese"></languagemap>
6615
6635
  <languagemap languagepattern="(IT|it).*" languagerulename="Italian"></languagemap>
@@ -11,7 +11,7 @@ Gem::Specification.new do |spec|
11
11
  spec.summary = 'SRX segmentation rules from LanguageTool'
12
12
  spec.homepage = 'https://github.com/amake/srx-languagetool-ruby'
13
13
  spec.license = 'LGPL-2.1'
14
- spec.required_ruby_version = Gem::Requirement.new('>= 2.4.0')
14
+ spec.required_ruby_version = Gem::Requirement.new('>= 2.5.0')
15
15
 
16
16
  spec.metadata['homepage_uri'] = spec.homepage
17
17
  spec.metadata['source_code_uri'] = 'https://github.com/amake/srx-languagetool-ruby.git'
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.2.0
4
+ version: 0.3.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: 2021-04-15 00:00:00.000000000 Z
11
+ date: 2021-06-26 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: srx
@@ -149,7 +149,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
149
149
  requirements:
150
150
  - - ">="
151
151
  - !ruby/object:Gem::Version
152
- version: 2.4.0
152
+ version: 2.5.0
153
153
  required_rubygems_version: !ruby/object:Gem::Requirement
154
154
  requirements:
155
155
  - - ">="