Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Simplified usage example (ignored `System.out`).

  • Loading branch information...
commit ca2a097d8ef8054bee3e2e6e8d597dc7296f940f 1 parent 7acaa77
@MattiSG authored
Showing with 3 additions and 3 deletions.
  1. +3 −3 README.md
View
6 README.md
@@ -21,10 +21,10 @@ Example
Word hello = Word.find("bonjour"); // database lookup
for (Word salutation : hello.getSynonyms()) {
- System.out.println(salutation + " world!"); // all variants of “hello world!”…
+ println(salutation + " world!"); // all variants of “hello world!”…
- System.out.print("Most usually used in the context of: "); // …with the domain (usage context, e.g. “sociology”)…
- System.out.println(hello.getDefinitions().get(0).getDomain()); // …of their most common meaning
+ print("Most usually used in the context of: "); // …with the domain (usage context, e.g. “sociology”)…
+ println(hello.getDefinitions().get(0).getDomain()); // …of their most common meaning
}
How to use
Please sign in to comment.
Something went wrong with that request. Please try again.