@@ -2163,10 +2163,10 @@ The detailed statistics table that contains all accuracy values can be written w
2163
2163
2164
2164
```
2165
2165
// Groovy syntax
2166
- implementation 'com.github.pemistahl:lingua:1.2.1 '
2166
+ implementation 'com.github.pemistahl:lingua:1.2.2 '
2167
2167
2168
2168
// Kotlin syntax
2169
- implementation("com.github.pemistahl:lingua:1.2.1 ")
2169
+ implementation("com.github.pemistahl:lingua:1.2.2 ")
2170
2170
```
2171
2171
2172
2172
### 7.2 Using Maven
@@ -2175,7 +2175,7 @@ implementation("com.github.pemistahl:lingua:1.2.1")
2175
2175
<dependency>
2176
2176
<groupId>com.github.pemistahl</groupId>
2177
2177
<artifactId>lingua</artifactId>
2178
- <version>1.2.1 </version>
2178
+ <version>1.2.2 </version>
2179
2179
</dependency>
2180
2180
```
2181
2181
@@ -2189,9 +2189,9 @@ cd lingua
2189
2189
./gradlew build
2190
2190
```
2191
2191
Several jar archives can be created from the project.
2192
- 1 . ` ./gradlew jar ` assembles ` lingua-1.2.1 .jar ` containing the compiled sources only.
2193
- 2 . ` ./gradlew sourcesJar ` assembles ` lingua-1.2.1 -sources.jar ` containing the plain source code.
2194
- 3 . ` ./gradlew jarWithDependencies ` assembles ` lingua-1.2.1 -with-dependencies.jar ` containing the
2192
+ 1 . ` ./gradlew jar ` assembles ` lingua-1.2.2 .jar ` containing the compiled sources only.
2193
+ 2 . ` ./gradlew sourcesJar ` assembles ` lingua-1.2.2 -sources.jar ` containing the plain source code.
2194
+ 3 . ` ./gradlew jarWithDependencies ` assembles ` lingua-1.2.2 -with-dependencies.jar ` containing the
2195
2195
compiled sources and all external dependencies needed at runtime. This jar file can be included
2196
2196
in projects without dependency management systems. It can also be used to
2197
2197
run * Lingua* in standalone mode (see below).
@@ -2367,7 +2367,7 @@ from memory but the thread pool will keep running.
2367
2367
If you want to try out * Lingua* before you decide whether to use it or not, you can run it in a REPL
2368
2368
and immediately see its detection results.
2369
2369
1 . With Gradle: ` ./gradlew runLinguaOnConsole --console=plain `
2370
- 2 . Without Gradle: ` java -jar lingua-1.2.1 -with-dependencies.jar `
2370
+ 2 . Without Gradle: ` java -jar lingua-1.2.2 -with-dependencies.jar `
2371
2371
2372
2372
Then just play around:
2373
2373
@@ -2459,7 +2459,7 @@ introduced with Java 8.
2459
2459
11 . Fix the existing unit tests by adding your new language.
2460
2460
12 . Add your new language to property [ ` linguaSupportedLanguages ` ] [ gradle properties url ]
2461
2461
in ` /gradle.properties ` .
2462
- 13 . Run ` ./gradlew writeAccuracyReports ` and add the updated accuracy reports to your pull request.
2462
+ 13 . Run ` ./gradlew accuracyReport ` and add the updated accuracy reports to your pull request.
2463
2463
14 . Run ` ./gradlew drawAccuracyPlots ` and add the updated plots to your pull request.
2464
2464
15 . Run ` ./gradlew writeAccuracyTable ` and add the updated accuracy table to your pull request.
2465
2465
16 . Be happy! :-) You have successfully contributed a new language and have thereby significantly widened
@@ -2476,8 +2476,8 @@ Take a look at the [planned issues](https://github.com/pemistahl/lingua/mileston
2476
2476
[ codecov badge ] : https://codecov.io/gh/pemistahl/lingua/branch/main/graph/badge.svg
2477
2477
[ codecov url ] : https://codecov.io/gh/pemistahl/lingua
2478
2478
[ supported languages badge ] : https://img.shields.io/badge/supported%20languages-75-green.svg
2479
- [ lingua version badge ] : https://img.shields.io/badge/Download%20Jar-1.2.1 -blue.svg
2480
- [ lingua download url ] : https://github.com/pemistahl/lingua/releases/download/v1.2.1 /lingua-1.2.1 -with-dependencies.jar
2479
+ [ lingua version badge ] : https://img.shields.io/badge/Download%20Jar-1.2.2 -blue.svg
2480
+ [ lingua download url ] : https://github.com/pemistahl/lingua/releases/download/v1.2.2 /lingua-1.2.2 -with-dependencies.jar
2481
2481
[ Kotlin platforms badge ] : https://img.shields.io/badge/platforms-JDK%206%2B-blue.svg
2482
2482
[ Kotlin platforms url ] : https://kotlinlang.org/docs/reference/server-overview.html
2483
2483
[ license badge ] : https://img.shields.io/badge/license-Apache%202.0-blue.svg
@@ -2487,8 +2487,8 @@ Take a look at the [planned issues](https://github.com/pemistahl/lingua/mileston
2487
2487
[ Apache OpenNLP ] : https://opennlp.apache.org/docs/1.9.3/manual/opennlp.html#tools.langdetect
2488
2488
[ Optimaize Language Detector ] : https://github.com/optimaize/language-detector
2489
2489
[ GitHub Packages ] : https://github.com/pemistahl/lingua/packages/766181
2490
- [ Maven Central ] : https://search.maven.org/artifact/com.github.pemistahl/lingua/1.2.1 /jar
2491
- [ Maven Central badge ] : https://img.shields.io/badge/Maven%20Central-1.2.1 -green.svg
2490
+ [ Maven Central ] : https://search.maven.org/artifact/com.github.pemistahl/lingua/1.2.2 /jar
2491
+ [ Maven Central badge ] : https://img.shields.io/badge/Maven%20Central-1.2.2 -green.svg
2492
2492
[ ACCURACY_PLOTS.md ] : https://github.com/pemistahl/lingua/blob/main/ACCURACY_PLOTS.md
2493
2493
[ ACCURACY_TABLE.md ] : https://github.com/pemistahl/lingua/blob/main/ACCURACY_TABLE.md
2494
2494
[ accuracy reports url ] : https://github.com/pemistahl/lingua/tree/main/accuracy-reports
0 commit comments