File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree 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
2222runs on Java >= 6, the ` FilesWriter ` classes make use of the [ java.nio] [ java nio url ] api which was
2323introduced with Java 8.
2424
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 ] .
26262 . Open enums [ ` IsoCode639_1 ` ] [ isocode639_1 url ] and [ ` IsoCode639_3 ` ] [ isocode639_3 url ] and add the
2727language's iso codes. Among other sites, Wikipedia provides a [ comprehensive list] [ wikipedia isocodes list ] .
28283 . 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.
6969[ wikipedia isocodes list ] : https://en.wikipedia.org/wiki/List_of_ISO_639-1_codes
7070[ language url ] : https://github.com/pemistahl/lingua/blob/master/src/main/kotlin/com/github/pemistahl/lingua/api/Language.kt
7171[ 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
7373[ language model files writer url ] : https://github.com/pemistahl/lingua/blob/master/src/main/kotlin/com/github/pemistahl/lingua/api/io/LanguageModelFilesWriter.kt#L40
7474[ language models directory url ] : https://github.com/pemistahl/lingua/tree/master/src/main/resources/language-models
7575[ 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 40409 . [ How to use?] ( #library-use )
4141 9.1 [ Programmatic use] ( #library-use-programmatic )
4242 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 )
4544
4645## 1. <a name =" library-purpose " ></a > What does this library do? <sup >[ Top ▲] ( #table-of-contents ) </sup >
4746Its task is simple: It tells you which language some provided textual data is written in.
@@ -465,12 +464,7 @@ FRENCH
465464Bye! Ciao! Tschüss! Salut!
466465```
467466
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 >
474468
475469Take a look at the [ planned issues] ( https://github.com/pemistahl/lingua/milestone/4 ) .
476470
You can’t perform that action at this time.
0 commit comments