Update Examples authored by Christian Reuschling's avatar Christian Reuschling
...@@ -2,7 +2,7 @@ ...@@ -2,7 +2,7 @@
Lodex is offered as a REST service, dealing with JSON Strings send over http calls. All available calls can be found at http://lodex.kl.dfki.de/lodex. Lodex is offered as a REST service, dealing with JSON Strings send over http calls. All available calls can be found at http://lodex.kl.dfki.de/lodex/ner.
**List available ontologies:** **List available ontologies:**
...@@ -10,11 +10,11 @@ http://lodex.kl.dfki.de/lodex/ner/getVocabularyIds ...@@ -10,11 +10,11 @@ http://lodex.kl.dfki.de/lodex/ner/getVocabularyIds
**Extract entites out of your text (short and easy):** **Extract entites out of your text (short and easy):**
[http://lodex.kl.dfki.de/lodex/ner/linkNamedEntities?vocabularyId=freebasemovies_full_de&text2Check=Lord of the Rings is a Hobbit story&embeddings=fallback&maxResults=23](http://lodex.kl.dfki.de/lodex/ner/linkNamedEntities?vocabularyId=freebasemovies_full_de&text2Check=Lord%20of%20the%20Rings%20is%20%20a%20Hobbit%20story&embeddings=fallback&maxResults=23) [http://lodex.kl.dfki.de/lodex/ner/linkNamedEntities?vocabularyId=freebasemovies_full_de&text2Check=Lord of the Rings is a Hobbit story&embeddingsMode=fallback&maxResults=23](http://lodex.kl.dfki.de/lodex/ner/linkNamedEntities?vocabularyId=freebasemovies_full_de&text2Check=Lord%20of%20the%20Rings%20is%20%20a%20Hobbit%20story&embeddingsMode=fallback&maxResults=23)
**With max control (in production better as multipart http post because of the query length):** **With max control (in production better as multipart http post because of the query length):**
[http://lodex.kl.dfki.de/lodex/ner/linkNamedEntities?vocabularyId=freebasemovies_full_de&text2Check=Lord of the Rings is a Hobbit story&fuzzy=false&embeddings=fallback&embeddingsThresholdOverwrite=0.4&stopwordRemoval=false&ignoreAllHighFrqTerms=false&overlappingEntities=false&labelLookupWindowTermsMin=1&labelLookupWindowTermsMax=7&disambiguationWindowLetters=50&entityTypes=[]&entityAtts2Load=["id","labelAsKeyword","type"]&maxResults=23](http://lodex.kl.dfki.de/lodex/ner/linkNamedEntities?vocabularyId=freebasemovies_full_de&text2Check=Lord%20of%20the%20Rings%20is%20a%20Hobbit%20story&fuzzy=false&embeddings=fallback&embeddingsThresholdOverwrite=0.4&stopwordRemoval=false&ignoreAllHighFrqTerms=false&overlappingEntities=false&labelLookupWindowTermsMin=1&labelLookupWindowTermsMax=7&disambiguationWindowLetters=50&entityTypes=%5B%5D&entityAtts2Load=%5B%22id%22,%22labelAsKeyword%22,%22type%22%5D&maxResults=23) [http://lodex.kl.dfki.de/lodex/ner/linkNamedEntities?vocabularyId=freebasemovies_full_de&text2Check=Lord of the Rings is a Hobbit story&fuzzy=false&embeddingsMode=fallback&stopwordRemoval=false&ignoreAllHighFrqTerms=false&overlappingEntities=false&labelLookupWindowTermsMin=1&labelLookupWindowTermsMax=5&entityTypes=[]&entityAtts2Load=["id","labelAsKeyword","type"]&maxResults=23](http://lodex.kl.dfki.de/lodex/ner/linkNamedEntities?vocabularyId=freebasemovies_full_de&text2Check=Lord%20of%20the%20Rings%20is%20a%20Hobbit%20story&fuzzy=false&embeddingsMode=fallback&stopwordRemoval=false&ignoreAllHighFrqTerms=false&overlappingEntities=false&labelLookupWindowTermsMin=1&labelLookupWindowTermsMax=5&entityTypes=%5B%5D&entityAtts2Load=%5B%22id%22,%22labelAsKeyword%22,%22type%22%5D&maxResults=23)
**Get the base attributes of an entity by a given id (id, label, types, synonyms)** **Get the base attributes of an entity by a given id (id, label, types, synonyms)**
...@@ -31,7 +31,7 @@ http://lodex.kl.dfki.de/lodex/ner/getEntityAttributes?vocabularyId=freebasemovie ...@@ -31,7 +31,7 @@ http://lodex.kl.dfki.de/lodex/ner/getEntityAttributes?vocabularyId=freebasemovie
**Look for all entity labels in a given text (without disambiguation)** **Look for all entity labels in a given text (without disambiguation)**
[http://lodex.kl.dfki.de/lodex/ner/linkNamedEntityLabels?vocabularyId=freebasemovies_full_de&text2Check=Hobbit und Elfen gibt es in Der Herr der Ringe&embeddings=fallback](http://lodex.kl.dfki.de/lodex/ner/linkNamedEntityLabels?vocabularyId=freebasemovies_full_de&text2Check=Hobbit%20und%20Elfen%20gibt%20es%20in%20Der%20Herr%20der%20Ringe&embeddings=fallback) [http://lodex.kl.dfki.de/lodex/ner/linkNamedEntityLabels?vocabularyId=freebasemovies_full_de&text2Check=Hobbit und Elfen gibt es in Der Herr der Ringe&embeddingsMode=fallback](http://lodex.kl.dfki.de/lodex/ner/linkNamedEntityLabels?vocabularyId=freebasemovies_full_de&text2Check=Hobbit%20und%20Elfen%20gibt%20es%20in%20Der%20Herr%20der%20Ringe&embeddingsMode=fallback)
**Search arbitrary inside the index [(Lucene query syntax)](https://lucene.apache.org/core/4_10_4/queryparser/org/apache/lucene/queryparser/classic/package-summary.html#package_description)** **Search arbitrary inside the index [(Lucene query syntax)](https://lucene.apache.org/core/4_10_4/queryparser/org/apache/lucene/queryparser/classic/package-summary.html#package_description)**
... ...
......