Skip to content

Commit 28a5eb0

Browse files
committed
Fix README
1 parent e2d0ca2 commit 28a5eb0

File tree

2 files changed

+4
-10
lines changed

2 files changed

+4
-10
lines changed

CONTRIBUTING.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ In order to execute the steps below, you will need Java 8 or greater. Even thoug
2222
runs on Java >= 6, the `FilesWriter` classes make use of the [java.nio][java nio url] api which was
2323
introduced 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].
2626
2. Open enums [`IsoCode639_1`][isocode639_1 url] and [`IsoCode639_3`][isocode639_3 url] and add the
2727
language's iso codes. Among other sites, Wikipedia provides a [comprehensive list][wikipedia isocodes list].
2828
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.
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

README.md

Lines changed: 2 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -40,8 +40,7 @@
4040
9. [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>
4746
Its task is simple: It tells you which language some provided textual data is written in.
@@ -465,12 +464,7 @@ FRENCH
465464
Bye! 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

475469
Take a look at the [planned issues](https://github.com/pemistahl/lingua/milestone/4).
476470

0 commit comments

Comments
 (0)