README.md in opener-language-identifier-3.0.2 vs README.md in opener-language-identifier-3.0.3

- old
+ new

@@ -1,23 +1,16 @@ [![Build Status](https://drone.io/github.com/opener-project/language-identifier/status.png)](https://drone.io/github.com/opener-project/language-identifier/latest) # Language Identifier -The language identifier takes raw text and tries to figure out what language it -was written in. The output can either be a plain-text i18n language code or a basic -KAF document containing the language and raw input text. +The language identifier takes raw text and tries to figure out what language it was written in. The output can either be a plain-text i18n language code or a basic KAF document containing the language and raw input text. -The output of the language identifier can then be used to drive further text -analysis of for example sentiments and or entities. +The output of the language identifier can then be used to drive further text analysis of for example sentiments and or entities. ### Confused by some terminology? -This software is part of a larger collection of natural language processing -tools known as "the OpeNER project". You can find more information about the -project at [the OpeNER portal](http://opener-project.github.io). There you can -also find references to terms like KAF (an XML standard to represent linguistic -annotations in texts), component, cores, scenario's and pipelines. +This software is part of a larger collection of natural language processing tools known as "the OpeNER project". You can find more information about the project at [the OpeNER portal](http://opener-project.github.io). There you can also find references to terms like KAF (an XML standard to represent linguistic annotations in texts), component, cores, scenario's and pipelines. Quick Use Example ----------------- Install the Gem: @@ -26,12 +19,11 @@ Make sure you run ```jruby``` since the language-identifier uses Java. ### Command line interface -You should now be able to call the language indentifier as a regular shell -command: by its name. Once installed the gem normally sits in your path so you can call it directly from anywhere. +You should now be able to call the language indentifier as a regular shell command: by its name. Once installed the gem normally sits in your path so you can call it directly from anywhere. This aplication reads a text from standard input in order to identify the language. echo "This is an English text." | language-identifier @@ -42,12 +34,11 @@ <KAF xml:lang="en" version="2.1"> <raw>This is an English text.</raw> </KAF> ~~~~ -If you just want the language code returned add the ```--no-kaf``` option like -this +If you just want the language code returned add the ```--no-kaf``` option like this echo "This is an English text." | language-identifier --no-kaf For more information about the available CLI options run the following: @@ -57,11 +48,10 @@ You can launch a language identification webservice by executing: $ language-identifier-server -This will launch a mini webserver with the webservice. It defaults to port 9292, -so you can access it at <http://localhost:9292/>. +This will launch a mini webserver with the webservice. It defaults to port 9292, so you can access it at <http://localhost:9292/>. To launch it on a different port provide the `-p [port-number]` option like this: language-identifier-server -p 1234