Skip to content

Commit c5cbe2b

Browse files
committed
Update readme
1 parent 245fdef commit c5cbe2b

File tree

1 file changed

+1
-15
lines changed

1 file changed

+1
-15
lines changed

README.md

Lines changed: 1 addition & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -46,9 +46,6 @@ Before using Detect Language API client you have to setup your personal **API ke
4646

4747
```java
4848
DetectLanguage.apiKey = "YOURAPIKEY";
49-
50-
// Enable secure mode (SSL) if passing sensitive information
51-
// DetectLanguage.ssl = true;
5249
```
5350

5451
### Language detection
@@ -59,8 +56,7 @@ List<Result> results = DetectLanguage.detect("Hello world");
5956
Result result = results.get(0);
6057

6158
System.out.println("Language: " + result.language);
62-
System.out.println("Is reliable: " + result.isReliable);
63-
System.out.println("Confidence: " + result.confidence);
59+
System.out.println("Score: " + result.score);
6460
```
6561

6662
### Simple detection
@@ -113,13 +109,3 @@ Please use appropriately tagged github [issues](https://github.com/detectlanguag
113109
### Release
114110

115111
Done using the [Sonatype Nexus UI](https://oss.sonatype.org/).
116-
117-
## Contributing
118-
119-
1. Fork it
120-
2. Create your feature branch (`git checkout -b my-new-feature`)
121-
3. Write your code **and tests**
122-
4. Ensure all [tests](#testing) still pass
123-
5. Commit your changes (`git commit -am 'Add some feature'`)
124-
6. Push to the branch (`git push origin my-new-feature`)
125-
7. Create new pull request

0 commit comments

Comments
 (0)