Skip to content

Commit

Permalink
Fix README
Browse files Browse the repository at this point in the history
  • Loading branch information
pemistahl committed Aug 9, 2020
1 parent e2d0ca2 commit 28a5eb0
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 10 deletions.
4 changes: 2 additions & 2 deletions CONTRIBUTING.md
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ In order to execute the steps below, you will need Java 8 or greater. Even thoug
runs on Java >= 6, the `FilesWriter` classes make use of the [java.nio][java nio url] api which was
introduced with Java 8.

1. Clone *Lingua's* repository to your own computer as described in README's [section 8][[library build url]].
1. Clone *Lingua's* repository to your own computer as described in README's [section 8][library build url].
2. Open enums [`IsoCode639_1`][isocode639_1 url] and [`IsoCode639_3`][isocode639_3 url] and add the
language's iso codes. Among other sites, Wikipedia provides a [comprehensive list][wikipedia isocodes list].
3. Open enum [`Language`][language url] and add a new entry for your language. If the language is written
Expand Down Expand Up @@ -69,7 +69,7 @@ this library's fields of application.
[wikipedia isocodes list]: https://en.wikipedia.org/wiki/List_of_ISO_639-1_codes
[language url]: https://github.com/pemistahl/lingua/blob/master/src/main/kotlin/com/github/pemistahl/lingua/api/Language.kt
[alphabet url]: https://github.com/pemistahl/lingua/blob/master/src/main/kotlin/com/github/pemistahl/lingua/internal/Alphabet.kt
[chars to languages mapping url]: https://github.com/pemistahl/lingua/blob/master/src/main/kotlin/com/github/pemistahl/lingua/api/LanguageDetector.kt#L428
[chars to languages mapping url]: https://github.com/pemistahl/lingua/blob/master/src/main/kotlin/com/github/pemistahl/lingua/api/LanguageDetector.kt#L429
[language model files writer url]: https://github.com/pemistahl/lingua/blob/master/src/main/kotlin/com/github/pemistahl/lingua/api/io/LanguageModelFilesWriter.kt#L40
[language models directory url]: https://github.com/pemistahl/lingua/tree/master/src/main/resources/language-models
[test data files writer url]: https://github.com/pemistahl/lingua/blob/master/src/main/kotlin/com/github/pemistahl/lingua/api/io/TestDataFilesWriter.kt#L42
Expand Down
10 changes: 2 additions & 8 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -40,8 +40,7 @@
9. [How to use?](#library-use)
9.1 [Programmatic use](#library-use-programmatic)
9.2 [Standalone mode](#library-use-standalone)
10. [How to add new languages?](#library-extension)
11. [What's next for version 1.1.0?](#whats-next)
10. [What's next for version 1.1.0?](#whats-next)

## 1. <a name="library-purpose"></a> What does this library do? <sup>[Top ▲](#table-of-contents)</sup>
Its task is simple: It tells you which language some provided textual data is written in.
Expand Down Expand Up @@ -465,12 +464,7 @@ FRENCH
Bye! Ciao! Tschüss! Salut!
```

## 10. <a name="library-extension"></a> How to add new languages? <sup>[Top ▲](#table-of-contents)</sup>

If you want to add your own languages to *Lingua*, you can do so.
The following steps describe how to proceed.

## 11. <a name="whats-next"></a> What's next for version 1.1.0? <sup>[Top ▲](#table-of-contents)</sup>
## 10. <a name="whats-next"></a> What's next for version 1.1.0? <sup>[Top ▲](#table-of-contents)</sup>

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

Expand Down

0 comments on commit 28a5eb0

Please sign in to comment.