Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[fr] updated dictionaries to dicollecte-6.4.1 #1963

Closed
wants to merge 647 commits into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
647 commits
Select commit Hold shift + click to select a range
437115d
refactor test code so language-specific tests (i.e. tests that are re…
danielnaber Oct 12, 2019
213a318
[en] no quotes around <suggestion>
danielnaber Oct 12, 2019
e6e7120
[ca] no quotes around <suggestion>
danielnaber Oct 12, 2019
ff48eb9
[nl] no quotes around <suggestion>
danielnaber Oct 12, 2019
909abf2
[nl] fix test
danielnaber Oct 13, 2019
83380b8
[pt] no quotes around <suggestion>
danielnaber Oct 13, 2019
27ad035
[de] fix false alarm
danielnaber Oct 13, 2019
28d73f8
[el] no quotes around <suggestion>
danielnaber Oct 13, 2019
8ec2eec
[es] no quotes around <suggestion>
danielnaber Oct 13, 2019
d917c33
[sv] no quotes around <suggestion>
danielnaber Oct 13, 2019
7d56e20
[uk] no quotes around <suggestion>
danielnaber Oct 13, 2019
eab245a
test for: no quotes around <suggestion>...</suggestion> in XML
danielnaber Oct 13, 2019
8a8e75a
[nl] added another testcase and updated code to be specific
Oct 13, 2019
d55f5bf
[nl] uncommented the use of the filter in failing rule now filter has…
Oct 13, 2019
53f3a24
typo fix in comment; tiny cleanup
danielnaber Oct 13, 2019
08cd8f9
move some Java tests so they run earlier, e.g. when a single language…
danielnaber Oct 13, 2019
56e590b
[de] improve compound suggestions (#1880)
danielnaber Oct 13, 2019
4334fbc
[nl] update of dictionaries
Oct 13, 2019
92f9761
[de] add words and POS
tiff Oct 13, 2019
6d5f059
[de] improve RAN_RUM_RAUF_REIN_RAUS_RUNTER
tiff Oct 13, 2019
647f82f
[en] add words, POS and improve rules
tiff Oct 13, 2019
7a482c4
[de] remove 'gehen' from rule that finds 'rangehen'
tiff Oct 14, 2019
1beee89
[de] improve KOMMA_ZWISCHEN_HAUPT_UND_NEBENSATZ (closes #2016)
tiff Oct 14, 2019
636b902
[de] improve KOMP_WIE (contributed by Agnes K.)
tiff Oct 14, 2019
e5947df
[nl] added mvg=m.v.g.
Oct 14, 2019
e0d8979
[de] improve rules
tiff Oct 14, 2019
f3a0bba
[de] add capitalized 'Eigtl' to segment.srx
tiff Oct 14, 2019
18a49c8
Update added.txt
MikeUnwalla Oct 14, 2019
29f06b9
[en] Improve HELP_TO_FIND and move to the REDUNDANCY category
MikeUnwalla Oct 14, 2019
1809e1a
[nl] tweaked a rul
Oct 14, 2019
140c163
[en] remove NNS for 'aboves' (see #2020)
tiff Oct 14, 2019
b70e5ec
[en] add spelling and POS
tiff Oct 14, 2019
d329f20
[en] Remove 'cock of the walk' from compounds.txt (regression 2010-10…
MikeUnwalla Oct 14, 2019
e8b16dc
[de] prevent Zweiaktmotor (-> Zweitaktmotor) etc.
danielnaber Oct 14, 2019
9c8226a
[nl] code cleanup
danielnaber Oct 14, 2019
d1c0778
[nl] don't lose the quotes in the message
danielnaber Oct 14, 2019
5ac780d
[nl] fix build
Oct 14, 2019
18999a5
[en] Improve HE_VERB_AGR[7] (regression 2010-10-11)
MikeUnwalla Oct 14, 2019
f665ab3
[en] Improve CD_NN (regression 2010-10-11)
MikeUnwalla Oct 14, 2019
8becae8
[en] Improve THE_ARE (regression 2010-10-11)
MikeUnwalla Oct 14, 2019
7bd2e4a
[de] port OPEN_OFFICE rule to german, add rule for 'USt-Id' (closes #…
tiff Oct 14, 2019
2f88c84
[de] fix build
tiff Oct 14, 2019
aad0239
[en] Improve MISSING_COMMA_AFTER_INTRODUCTORY_PHRASE (regression 2010…
MikeUnwalla Oct 14, 2019
c564802
[en] Add ALL_SAINTS_SISTERS_OF_THE_POOR (regression 2010-10-11)
MikeUnwalla Oct 14, 2019
dbb3953
[de] fix build (this time really)
tiff Oct 14, 2019
634081f
[en] Improve LETS_LET[2] (regression 2010-10-11)
MikeUnwalla Oct 14, 2019
d68407d
[en] Improve SIGN_INTO (regression 2010-10-11)
MikeUnwalla Oct 14, 2019
79b7877
[en] Improve THIS_NNS[2] and THESE_SINGULAR_NOUN (regression 2010-10-11)
MikeUnwalla Oct 14, 2019
5c8d401
Merge branch 'master' into patch-11
tiff Oct 14, 2019
2ff46cf
Merge pull request #2019 from Dallun511/patch-11
tiff Oct 14, 2019
8921547
[en] Improve I_LOWERCASE[1] (regression 2010-10-11)
MikeUnwalla Oct 14, 2019
a5eec61
[en] Improve ALLOW_TO[1] (regression 2010-10-11)
MikeUnwalla Oct 14, 2019
7d02444
[en] Improve MANY_NN_U[1] (regression 2010-10-11)
MikeUnwalla Oct 14, 2019
9732c9f
[en] Add POS/spelling for 'bombe', remove from diacritics (regression…
MikeUnwalla Oct 14, 2019
42d6061
print field name when showing query
danielnaber Oct 14, 2019
e8f7548
[en] small cleanup for more compact XML syntax
danielnaber Oct 14, 2019
b219c3b
simplify code and make debugging easier by having all queries lowerca…
danielnaber Oct 14, 2019
7edc58b
[en] Add postags for adjectives
MikeUnwalla Oct 14, 2019
ff66391
[en] Add postags for adjectives
MikeUnwalla Oct 14, 2019
d4afc50
[de] add some de-ch and de-at words to common_words
tiff Oct 14, 2019
669b986
[de] improve SO_WEIT
tiff Oct 14, 2019
165044a
[en] add spelling and POS
tiff Oct 14, 2019
9135abf
[en] improve a few rules
tiff Oct 14, 2019
7def181
[de] add spelling and POS
tiff Oct 14, 2019
990355f
[de] add rule for 'Jour fixe'
tiff Oct 14, 2019
2bd478d
[en] remove two developer-speech terms again
tiff Oct 14, 2019
e3b3ceb
print to file instead of STDOUT (faster when called from IDE)
danielnaber Oct 14, 2019
c44f2ae
tiny Lucene version increase to the latest 5.5.x
danielnaber Oct 14, 2019
aa629ae
write line break after each sentence
danielnaber Oct 14, 2019
511a7ff
[pt] Added words to spelling.txt
marcoagpinto Oct 15, 2019
89a3f45
[pt] Added more words to added.txt
marcoagpinto Oct 15, 2019
997d60d
Gesichtsbuch statt Geschichtsbuch
Black56651 Oct 14, 2019
2eb935d
[de] prevent useless suggestion (#1880)
danielnaber Oct 15, 2019
9cba090
[nl] improvement of rule
Oct 15, 2019
3e3f810
[en] Improve RELATIVE_CLAUSE_AGREEMENT (regression 2010-10-11)
MikeUnwalla Oct 15, 2019
b9157e3
[pt] Added more words to added.txt
marcoagpinto Oct 15, 2019
d615434
[pt] Added words to spelling.txt
marcoagpinto Oct 15, 2019
cabbc7d
[pt] Fixes/improvements in multiwords.txt
marcoagpinto Oct 15, 2019
683a92b
[en] Improve BEEN_PART_AGREEMENT[2] (regression 2010-10-11)
MikeUnwalla Oct 15, 2019
e39dcc8
[en] Improve THIS_NNS[2] and THESE_SINGULAR_NOUN
MikeUnwalla Oct 15, 2019
022de9a
[en] Improve PEOPLE_VBZ (regression 2010-10-11)
MikeUnwalla Oct 15, 2019
79094ed
[en] Add false positives from regression 2010-10-11
MikeUnwalla Oct 15, 2019
2aa1375
[en] Add Zwinglian to spelling
MikeUnwalla Oct 15, 2019
9805c61
[en] Correct the POS for 'Englishmen'
MikeUnwalla Oct 15, 2019
d4e2f96
[en] Add POS
MikeUnwalla Oct 15, 2019
4a65754
change the approach to ignore POS tags when building Lucene queries -…
danielnaber Oct 15, 2019
0606561
tiny code cleanup
danielnaber Oct 15, 2019
c50e307
introduce default="temp_off" to turn off a rule but have it running i…
danielnaber Oct 15, 2019
a5eb9fe
ignore .attach_pid* files that Java < 12 doesn't seem to remove in so…
danielnaber Oct 15, 2019
625847c
[de] add test rule with default="temp_off"
danielnaber Oct 15, 2019
ffc6040
[fr] add some names
tiff Oct 15, 2019
c0a08bb
[de] improve segments
tiff Oct 15, 2019
ba27743
[de] add case rule exception
tiff Oct 15, 2019
7e7aa5b
[de] add words and POS
tiff Oct 15, 2019
2f0b786
[de] add some grammar rules
tiff Oct 15, 2019
d9e01e2
[en] add words and POS
tiff Oct 15, 2019
a1b51d4
[en] improve suggestion
tiff Oct 15, 2019
d56ca0c
[en] add and improve some rules
tiff Oct 15, 2019
a2a2a62
[en] small improvements to recently added rules
tiff Oct 15, 2019
7cf236a
revert the recent simplification - the test wasn't correct for the ne…
danielnaber Oct 15, 2019
c76dced
[en] unify use of apostrophes (and make it a bit more tolerant, close…
tiff Oct 15, 2019
73c56c6
[ca] fix false alarm: mes
jaumeortola Oct 15, 2019
6cbd8a4
document performance
danielnaber Oct 16, 2019
8aa52fc
[de] remove temp_off test rule
danielnaber Oct 16, 2019
877c494
[en] Improve E_NP_NN_VBP
MikeUnwalla Oct 16, 2019
d7ad409
Revert "[en] Improve E_NP_NN_VBP"
MikeUnwalla Oct 16, 2019
a961cd0
Revert "Revert "[en] Improve E_NP_NN_VBP""
MikeUnwalla Oct 16, 2019
9438068
[en] add spelling and POS
tiff Oct 16, 2019
40f3eba
[en] add style rule for informal 'gonna' (might turn it off again, be…
tiff Oct 16, 2019
1fe9f17
[en] move rule for 'toilet' to en-US
tiff Oct 16, 2019
b86e444
[ru] fix issue #2035, #2029
yakovru Oct 16, 2019
8227feb
[en] Set default="off" for ALSO_SENT_END
MikeUnwalla Oct 16, 2019
24ce131
improve error handling
danielnaber Oct 16, 2019
dd37c05
default to lowercase, just like findRuleMatchesOnIndex()
danielnaber Oct 16, 2019
d51c328
[pt] Added words to spelling.txt
marcoagpinto Oct 16, 2019
0369327
[pt] Added more words to added.txt
marcoagpinto Oct 16, 2019
ec85121
[pt] Fixes/improvements in multiwords.txt
marcoagpinto Oct 16, 2019
ab81111
[en] Add NNPS to Japanese
MikeUnwalla Oct 16, 2019
6bd189c
[de] add spelling and POS
tiff Oct 16, 2019
308f8bf
[en] add spelling and POS
tiff Oct 16, 2019
3b0946c
[en] improve and add some rules (mostly temp_off)
tiff Oct 16, 2019
eb4a8b9
[de] prevent 'Bettlacken'
tiff Oct 16, 2019
14b14fb
[en] Improve TO_TOO[4]
MikeUnwalla Oct 16, 2019
f2e0715
[fr] add and improve rules (contributed by Theotime)
tiff Oct 16, 2019
ceb2a6e
[ru] improve rules
yakovru Oct 16, 2019
1caea21
[ru] postag for words
yakovru Oct 16, 2019
f22a96f
[nl] added trick for quotes
Oct 16, 2019
2527faf
[pt] Fixed: CPU + CPUs
marcoagpinto Oct 16, 2019
dbc1791
[LO extension] maybe this solves problem with du/Du etc. discussed in…
FredKruse Oct 16, 2019
ef57cc3
[ru] issue #1059
yakovru Oct 16, 2019
9e588b4
[en] spelling, POS, improve rules
tiff Oct 16, 2019
ab02442
[it] add 'halloween'
tiff Oct 17, 2019
8040aa2
[es] add 'halloween'
tiff Oct 17, 2019
3f3ac43
[de] add spelling and POS
tiff Oct 17, 2019
d10dfd7
[en] add spelling and POS
tiff Oct 17, 2019
bd094b5
[en] unify apostrophes in disambiguation
tiff Oct 17, 2019
022f817
[en] improve and enable rules after regression test
tiff Oct 17, 2019
6299c32
[nl] update of dictionaries
Oct 17, 2019
fdb6477
[pt] Added app+apps to spelling.txt
marcoagpinto Oct 17, 2019
a52e5fb
[pt] Added app+apps to added.txt
marcoagpinto Oct 17, 2019
c56f4d3
[pt] Added 1 rule.
marcoagpinto Oct 17, 2019
686d359
[pt] Added words to spelling.txt
marcoagpinto Oct 17, 2019
7b7ef30
[it] add a few words to Italian dictionary (verfied with Wikipedia)
tiff Oct 17, 2019
023ed66
[pt] add 'iFood' exception to UPPERCASE_SENTENCE_START rule
tiff Oct 17, 2019
4292b06
[es] add rule that suggests uppercase 'TV' for lowercase 'tv' because…
tiff Oct 17, 2019
4b28db7
[es] remove 'maquina(s)' from prohibit again
tiff Oct 17, 2019
d1eace0
[es] add variation of numero sign (allowed according to Wikipedia)
tiff Oct 17, 2019
f3a9289
[de] add spelling and POS
tiff Oct 17, 2019
0e5279d
[fr] add two common names
tiff Oct 17, 2019
9fbd807
[en] add spelling and POS
tiff Oct 17, 2019
202f4cc
[es] add words to dictionary (verified with Wikipedia and dle.rae.es)
tiff Oct 17, 2019
62546be
[de] fix build
tiff Oct 17, 2019
16a846e
[de] fix false alarms for KOMMA_ZWISCHEN_HAUPT_UND_NEBENSATZ (contrib…
danielnaber Oct 17, 2019
4a30c5f
[de] fix false alarms for ZUSAMMENSCHREIBUNG_UEBER (contributed by Ag…
danielnaber Oct 17, 2019
584d068
[de] another attempt to fix build
tiff Oct 17, 2019
1595714
don't stop on e.g. format issues, print exception an continue instead
danielnaber Oct 17, 2019
30364d1
[de] typo fix
danielnaber Oct 17, 2019
53905bc
[nl] update of dictionaries
Oct 17, 2019
9864e95
[en] don't modify/normalize apostrophes here, it can break rules
danielnaber Oct 17, 2019
37d77f2
update Jackson (#2042)
danielnaber Oct 17, 2019
b725474
update Jackson even further (https://github.com/FasterXML/jackson-dat…
danielnaber Oct 17, 2019
96182c5
[ru] new words, issue #2039
yakovru Oct 17, 2019
260f5e8
[en] unify apostrophe in en-gb and en-us
tiff Oct 17, 2019
d489f45
[en] add spelling and POS
tiff Oct 17, 2019
2090e8d
[es] fix wikipedia rule (set category, extract rule for numero)
tiff Oct 17, 2019
ab04e3a
skip invalid lines for Tatoeba, just like for Wikipedia
danielnaber Oct 17, 2019
32080df
[ca] new rule: agut/haugt
jaumeortola Oct 17, 2019
45f3eaf
[fr] fix some false alarms in CA_SA (contributed by Theotime)
tiff Oct 18, 2019
f0ed74e
[fr] add antipattern to A_A_ACCENT
tiff Oct 18, 2019
713e6a3
[fr] ignore spelling of list items like '1-'
tiff Oct 18, 2019
d00db1a
[fr] fix build
tiff Oct 18, 2019
20c7ceb
[fr] simplify antipattern
tiff Oct 18, 2019
b025419
[de] add exceptions to Case and Agreement rule
tiff Oct 18, 2019
4ed9790
[en] add spelling and POS
tiff Oct 18, 2019
fbc9d65
[de] add words
tiff Oct 18, 2019
44a0e51
[pl] add file type
tiff Oct 18, 2019
551e7a8
[en] improve ADVISE_VBG (closes #2030)
tiff Oct 18, 2019
c22489c
[en] two simple new rules
tiff Oct 18, 2019
23525d9
[en] enable CC_IT_VBG
tiff Oct 18, 2019
1a4f67c
[en] add missing marker
tiff Oct 18, 2019
8829603
[en] Add unruffleable and unsatisfaction
MikeUnwalla Oct 18, 2019
d018d72
[en] Add 'undelete'
MikeUnwalla Oct 18, 2019
9ef969d
[en] add 'auto-responder' to coherency
tiff Oct 18, 2019
8181455
[de] improve DE_AGREEMENT by lowering its prio
tiff Oct 18, 2019
b8cb352
take source url from simple syntax in plain text file
danielnaber Oct 17, 2019
8ab4ade
[de] fix for SO_WEIT (contributed by Agnes)
danielnaber Oct 18, 2019
23287f7
[de] false alarm fix for KOMMA_ZWISCHEN_HAUPT_UND_NEBENSATZ (contribu…
danielnaber Oct 18, 2019
b96193f
[en] Improve HE_VERB_AGR
MikeUnwalla Oct 18, 2019
76fa6fa
[en] Add POS CC for '&'
MikeUnwalla Oct 18, 2019
e6bc755
[en] do not mark words with wrong quotes as NNP
tiff Oct 18, 2019
21232ae
[en] add and improve rules
tiff Oct 18, 2019
0b1437d
[en] add spelling and POS for 50 largest Mexican city names (english …
tiff Oct 18, 2019
f7e0835
[en] remove exception for '&' after it got tagged with CC
tiff Oct 18, 2019
9fa48b5
[en] improve disambiguation for 'Ciudad de(l)'
tiff Oct 18, 2019
4640d31
[de] improvement for AUFS_VERB, contributed by Agnes
danielnaber Oct 18, 2019
bca4697
[en] improve MAY_BE
tiff Oct 18, 2019
0b34e8d
[de] add case rule exceptions
tiff Oct 18, 2019
73957a3
[en] Improve disambiguation ARE_JJ_VBG
MikeUnwalla Oct 18, 2019
a5c2fe2
[en] Add spellings
MikeUnwalla Oct 18, 2019
80d7895
print to STDOUT if a rule is temp_off
danielnaber Oct 18, 2019
08261ac
[de] improvements to MIT_MIR, contributed by Agnes
danielnaber Oct 18, 2019
44ea7bd
[ca] improve rule: l'imitaven/la imitaven
jaumeortola Oct 18, 2019
cbf87d1
[nl] tweaked text of advice
Oct 18, 2019
7b7e7e4
[en] first attempt to improve suggestions for e.g. "Michaels", which …
danielnaber Oct 18, 2019
d51ad6f
[en] improve disambiguation rules for spanish names
tiff Oct 18, 2019
f0c7713
[en] add 'builtin' to prohibit.txt
tiff Oct 18, 2019
24b9f61
[en] add spelling, coherency and POS
tiff Oct 18, 2019
e3e81c4
[en] improve segments
tiff Oct 18, 2019
42a4a01
[en] improve spelling suggestions
tiff Oct 18, 2019
fc2d70c
[en] add and improve a few rules
tiff Oct 18, 2019
1296c2b
[de] add spelling and POS
tiff Oct 18, 2019
461f0c3
[de] add a false positive to DE_AGREEMENT
tiff Oct 18, 2019
078c0ee
count temp_off rules and warn if there are more than 10 of them per l…
danielnaber Oct 19, 2019
ef957a5
[de-simple] small unit test speedup
danielnaber Oct 19, 2019
d87c664
import cleanup
danielnaber Oct 19, 2019
e8e94e7
[de] adding "Hinreise" (fixed #2049)
danielnaber Oct 19, 2019
e97c708
[de] dm/dem (#2041)
danielnaber Oct 19, 2019
779296d
[de] add antipattern for COMPOUND_INFINITIV_RULE (fixes #2023)
danielnaber Oct 19, 2019
3c33aeb
[de] fix false alarm (#2004)
danielnaber Oct 19, 2019
f5ca818
[de] remove print
danielnaber Oct 19, 2019
37869bd
[de] fix false alarm in ART_ADJ_SOL (#2002)
danielnaber Oct 19, 2019
3834a06
[de] extend DR_FRAU (#1990)
danielnaber Oct 19, 2019
f8eb484
[de] adding words suggested by users
danielnaber Oct 19, 2019
6fd06ee
don't require 'id' in relaxedMode (used by online rule editor)
danielnaber Oct 19, 2019
e6924b3
[de] prevent Spannbettlacken
danielnaber Oct 19, 2019
dbce878
[de] small code simplification
danielnaber Oct 19, 2019
e60eafb
[de][en] use the newer syntax correction="" instead of type="incorrect"
danielnaber Oct 19, 2019
d8cedee
[de] use the compact XML syntax (e.g. "<token ... />")
danielnaber Oct 19, 2019
ea28fa2
update dependencies
danielnaber Oct 19, 2019
a2b663a
remove experimental Berkeley LM that was never used
danielnaber Oct 19, 2019
9ca84b3
tiny code cleanup, no functional change
danielnaber Oct 20, 2019
a19ce52
cleanup: null check not needed, as that variable is already accessed …
danielnaber Oct 20, 2019
422c335
small code cleanups, mostly as suggested by IntelliJ IDEA
danielnaber Oct 20, 2019
7f87b12
update JNA dependency (but stay in 4.x for now - haven't tested 5.x yet)
danielnaber Oct 20, 2019
b66f340
fix javadoc
danielnaber Oct 20, 2019
2fd52de
re-order dependencies for clarity; add missing 'test' scope
danielnaber Oct 20, 2019
04f4090
update dependencies
danielnaber Oct 20, 2019
7956984
remove 'test' scope again and move comment to a better place
danielnaber Oct 20, 2019
48d4dcd
deprecate class that doesn't seem to be used
danielnaber Oct 20, 2019
fe942ed
Remove unmaintained code - none of the removed classes were public an…
danielnaber Oct 20, 2019
d5de6af
remove unused non-public class
danielnaber Oct 20, 2019
b3c3ecf
tiny code cleanup
danielnaber Oct 20, 2019
0830baf
remove test files not needed anymore as the code has been removed
danielnaber Oct 20, 2019
e512899
cleanup: make dependency order consistent ('test' scope at the bottom)
danielnaber Oct 20, 2019
23777a2
[en] remove 'temp_off' from recently added rules
tiff Oct 20, 2019
dd0e3a5
[de] enable rule
tiff Oct 20, 2019
57614c2
[en] Add POS JJ
MikeUnwalla Oct 20, 2019
f7961e4
[en] Add coherency terms and spelling
MikeUnwalla Oct 20, 2019
de41194
[fr] updated dictionaries to dicollecte-6.4.1
OswaldLuc Sep 23, 2019
045403b
Merge branch 'master' of https://github.com/OswaldLuc/languagetool
OswaldLuc Oct 20, 2019
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -23,3 +23,4 @@ languagetool-standalone/test_de.txt
languagetool-standalone/test_en.txt
/data/
languagetool-language-modules/nl/src/main/resources/org/languagetool/rules/nl/grammar-test-1.xml
.attach_pid*
2 changes: 1 addition & 1 deletion hunspell-native-libs/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
<parent>
<groupId>org.languagetool</groupId>
<artifactId>languagetool-parent</artifactId>
<version>4.7-SNAPSHOT</version>
<version>4.8-SNAPSHOT</version>
<relativePath>../pom.xml</relativePath>
</parent>

Expand Down
14 changes: 7 additions & 7 deletions languagetool-commandline/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
<parent>
<groupId>org.languagetool</groupId>
<artifactId>languagetool-parent</artifactId>
<version>4.7-SNAPSHOT</version>
<version>4.8-SNAPSHOT</version>
<relativePath>../pom.xml</relativePath>
</parent>

Expand Down Expand Up @@ -72,6 +72,11 @@
<artifactId>language-all</artifactId>
<version>${languagetool.version}</version>
</dependency>
<dependency>
<groupId>commons-io</groupId>
<artifactId>commons-io</artifactId>
<version>2.6</version>
</dependency>

<dependency>
<groupId>org.slf4j</groupId>
Expand All @@ -98,11 +103,6 @@
<version>${junit.version}</version>
<scope>test</scope>
</dependency>
<dependency>
<groupId>commons-io</groupId>
<artifactId>commons-io</artifactId>
<version>2.6</version>
</dependency>
</dependencies>

</project>
</project>
40 changes: 17 additions & 23 deletions languagetool-core/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
<parent>
<groupId>org.languagetool</groupId>
<artifactId>languagetool-parent</artifactId>
<version>4.7-SNAPSHOT</version>
<version>4.8-SNAPSHOT</version>
<relativePath>../pom.xml</relativePath>
</parent>

Expand Down Expand Up @@ -89,13 +89,6 @@
</plugins>
</build>

<repositories>
<repository>
<id>jcenter</id>
<url>https://jcenter.bintray.com/</url>
</repository>
</repositories>

<dependencies>
<dependency>
<groupId>org.apache.commons</groupId>
Expand All @@ -105,17 +98,17 @@
<dependency>
<groupId>org.apache.commons</groupId>
<artifactId>commons-text</artifactId>
<version>1.7</version>
<version>1.8</version>
</dependency>
<dependency>
<groupId>com.google.guava</groupId>
<artifactId>guava</artifactId>
<version>21.0</version>
<version>28.1-jre</version>
</dependency>
<dependency>
<groupId>net.java.dev.jna</groupId>
<artifactId>jna</artifactId>
<version>4.4.0</version>
<version>4.5.2</version>
</dependency>
<dependency>
<groupId>org.carrot2</groupId>
Expand All @@ -126,6 +119,12 @@
<groupId>org.carrot2</groupId>
<artifactId>morfologik-fsa-builders</artifactId>
<version>${morfologik.version}</version>
<exclusions>
<exclusion>
<groupId>com.carrotsearch</groupId>
<artifactId>hppc</artifactId>
</exclusion>
</exclusions>
</dependency>
<dependency>
<groupId>org.carrot2</groupId>
Expand All @@ -141,7 +140,7 @@
<!-- needed for building the Morfologik dict at runtime (for ignore.txt) -->
<groupId>com.carrotsearch</groupId>
<artifactId>hppc</artifactId>
<version>0.7.2</version>
<version>0.8.1</version>
</dependency>
<dependency>
<groupId>net.loomchild</groupId>
Expand Down Expand Up @@ -186,11 +185,6 @@
<artifactId>lucene-backward-codecs</artifactId>
<version>${lucene.version}</version>
</dependency>
<dependency>
<groupId>edu.berkeley.nlp</groupId>
<artifactId>berkeleylm</artifactId>
<version>1.1.2</version>
</dependency>
<dependency>
<groupId>com.fasterxml.jackson.core</groupId>
<artifactId>jackson-databind</artifactId>
Expand All @@ -204,7 +198,7 @@
<dependency>
<groupId>tech.units</groupId>
<artifactId>indriya</artifactId>
<version>1.2</version>
<version>1.3</version>
</dependency>

<dependency>
Expand Down Expand Up @@ -255,9 +249,9 @@
<!--<version>1.4.2</version>-->
<!--</dependency>-->
<dependency>
<groupId>biz.k11i</groupId>
<groupId>ai.h2o</groupId>
<artifactId>xgboost-predictor</artifactId>
<version>0.3.0</version>
<version>0.3.1</version>
</dependency>

<dependency>
Expand All @@ -275,19 +269,19 @@
<dependency>
<groupId>org.apache.commons</groupId>
<artifactId>commons-csv</artifactId>
<version>1.6</version>
<version>1.7</version>
</dependency>

<dependency>
<groupId>org.apache.commons</groupId>
<artifactId>commons-pool2</artifactId>
<version>2.6.1</version>
<version>2.7.0</version>
</dependency>

<dependency>
<groupId>org.mockito</groupId>
<artifactId>mockito-core</artifactId>
<version>2.23.0</version>
<version>2.28.2</version>
<scope>test</scope>
</dependency>

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -129,7 +129,6 @@ public boolean hasPosTag(String posTag) {
/**
* Checks if there is at least one POS tag
* @since 4.7
* @param posTag POS tag to look for
*/
public boolean hasReading() {
return anTokReadings != null && anTokReadings.length > 0;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@
public class JLanguageTool {

/** LanguageTool version as a string like {@code 2.3} or {@code 2.4-SNAPSHOT}. */
public static final String VERSION = "4.7-SNAPSHOT";
public static final String VERSION = "4.8-SNAPSHOT";
/** LanguageTool build date and time like {@code 2013-10-17 16:10} or {@code null} if not run from JAR. */
@Nullable public static final String BUILD_DATE = getBuildDate();
/**
Expand Down

This file was deleted.

This file was deleted.

Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,10 @@ public final class Categories {
/** General style issues not covered by other categories, like overly verbose wording. */
public static final Categories STYLE = make("STYLE", "category_style");


/** Created to match PLAIN_ENGLISH XML category. */
public static final Categories PLAIN_ENGLISH = make("PLAIN_ENGLISH", "category_plain_english");

public static final Categories GENDER_NEUTRALITY = make("GENDER_NEUTRALITY", "category_gender_neutrality");

/** Logic, content, and consistency problems. */
Expand Down
16 changes: 16 additions & 0 deletions languagetool-core/src/main/java/org/languagetool/rules/Rule.java
Original file line number Diff line number Diff line change
Expand Up @@ -52,6 +52,7 @@ public abstract class Rule {
private Category category;
private URL url;
private boolean defaultOff;
private boolean defaultTempOff;
private boolean officeDefaultOn = false;
private boolean officeDefaultOff = false;

Expand Down Expand Up @@ -306,13 +307,28 @@ public final boolean isDefaultOff() {
return defaultOff;
}

/**
* Checks whether the rule has been turned off using "default='temp_off'" by default by the rule author.
* This is a special case where the rule is off for users but active for nightly regression checks.
*/
public final boolean isDefaultTempOff() {
return defaultTempOff;
}

/**
* Turns the rule off by default.
*/
public final void setDefaultOff() {
defaultOff = true;
}

/**
* Turns the rule off by default, expect for internal regression tests.
*/
public final void setDefaultTempOff() {
defaultTempOff = true;
}

/**
* Turns the rule on by default.
*/
Expand Down
Loading