From e24f0b248d60f96aced52ac6f9a993354fbba5d4 Mon Sep 17 00:00:00 2001 From: Christoph Portmann Date: Sat, 18 Apr 2015 09:23:33 +0300 Subject: [PATCH] Update README.md --- README.md | 15 ++++++++++++--- 1 file changed, 12 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index 71ed2e5..d4d2130 100644 --- a/README.md +++ b/README.md @@ -18,7 +18,7 @@ frequent token 'X' of the analyzed text, map['X'] will be 1. ## Usage ### Detect #### Get the closest language: -The default detector supports the following languages*: +The default detector supports the following languages: **Arabic, English, French, German, Hebrew, Russian, Turkish** ``` go @@ -77,7 +77,7 @@ New languages can directly be analyzed and added to a detector by providing a te The text sample should be bigger then 200kb and can be "dirty" (special chars, lists, etc.), but the language should not change for long parts. -Altermatively Analyze can be used and the resulting language can added using AddLanguage method: +Alternatively Analyze can be used and the resulting language can added using AddLanguage method: ``` go text_sample := GetTextFromFile("samples/polish.txt") @@ -86,4 +86,13 @@ Altermatively Analyze can be used and the resulting language can added using Add //language can be added selectively to detectors detectorA.AddLanguage(french) detectorC.AddLanguage(french) -``` \ No newline at end of file +``` + +## Contribution + +Suggestions and Bug reports can be made through Github issues. +Contributions are welcomed, there is currently no need to open an issue for it, but please follow the code style, including descriptive tests with [GoConvey](http://goconvey.co/). + +## License + +Licensed under [Apache 2.0](LICENSE).