File tree Expand file tree Collapse file tree 2 files changed +4
-10
lines changed Expand file tree Collapse file tree 2 files changed +4
-10
lines changed Original file line number Diff line number Diff line change @@ -22,7 +22,7 @@ In order to execute the steps below, you will need Java 8 or greater. Even thoug
22
22
runs on Java >= 6, the ` FilesWriter ` classes make use of the [ java.nio] [ java nio url ] api which was
23
23
introduced with Java 8.
24
24
25
- 1 . Clone * Lingua's* repository to your own computer as described in README's [ section 8] [[ library build url] ] .
25
+ 1 . Clone * Lingua's* repository to your own computer as described in README's [ section 8] [ library build url ] .
26
26
2 . Open enums [ ` IsoCode639_1 ` ] [ isocode639_1 url ] and [ ` IsoCode639_3 ` ] [ isocode639_3 url ] and add the
27
27
language's iso codes. Among other sites, Wikipedia provides a [ comprehensive list] [ wikipedia isocodes list ] .
28
28
3 . Open enum [ ` Language ` ] [ language url ] and add a new entry for your language. If the language is written
@@ -69,7 +69,7 @@ this library's fields of application.
69
69
[ wikipedia isocodes list ] : https://en.wikipedia.org/wiki/List_of_ISO_639-1_codes
70
70
[ language url ] : https://github.com/pemistahl/lingua/blob/master/src/main/kotlin/com/github/pemistahl/lingua/api/Language.kt
71
71
[ alphabet url ] : https://github.com/pemistahl/lingua/blob/master/src/main/kotlin/com/github/pemistahl/lingua/internal/Alphabet.kt
72
- [ chars to languages mapping url ] : https://github.com/pemistahl/lingua/blob/master/src/main/kotlin/com/github/pemistahl/lingua/api/LanguageDetector.kt#L428
72
+ [ chars to languages mapping url ] : https://github.com/pemistahl/lingua/blob/master/src/main/kotlin/com/github/pemistahl/lingua/api/LanguageDetector.kt#L429
73
73
[ language model files writer url ] : https://github.com/pemistahl/lingua/blob/master/src/main/kotlin/com/github/pemistahl/lingua/api/io/LanguageModelFilesWriter.kt#L40
74
74
[ language models directory url ] : https://github.com/pemistahl/lingua/tree/master/src/main/resources/language-models
75
75
[ test data files writer url ] : https://github.com/pemistahl/lingua/blob/master/src/main/kotlin/com/github/pemistahl/lingua/api/io/TestDataFilesWriter.kt#L42
Original file line number Diff line number Diff line change 40
40
9 . [ How to use?] ( #library-use )
41
41
9.1 [ Programmatic use] ( #library-use-programmatic )
42
42
9.2 [ Standalone mode] ( #library-use-standalone )
43
- 10 . [ How to add new languages?] ( #library-extension )
44
- 11 . [ What's next for version 1.1.0?] ( #whats-next )
43
+ 10 . [ What's next for version 1.1.0?] ( #whats-next )
45
44
46
45
## 1. <a name =" library-purpose " ></a > What does this library do? <sup >[ Top ▲] ( #table-of-contents ) </sup >
47
46
Its task is simple: It tells you which language some provided textual data is written in.
@@ -465,12 +464,7 @@ FRENCH
465
464
Bye! Ciao! Tschüss! Salut!
466
465
```
467
466
468
- ## 10. <a name =" library-extension " ></a > How to add new languages? <sup >[ Top ▲] ( #table-of-contents ) </sup >
469
-
470
- If you want to add your own languages to * Lingua* , you can do so.
471
- The following steps describe how to proceed.
472
-
473
- ## 11. <a name =" whats-next " ></a > What's next for version 1.1.0? <sup >[ Top ▲] ( #table-of-contents ) </sup >
467
+ ## 10. <a name =" whats-next " ></a > What's next for version 1.1.0? <sup >[ Top ▲] ( #table-of-contents ) </sup >
474
468
475
469
Take a look at the [ planned issues] ( https://github.com/pemistahl/lingua/milestone/4 ) .
476
470
You can’t perform that action at this time.
0 commit comments