Icon

Partager Envoyer

(Document) oonai web service

Oonai functions

You'll find a comprehensive list of oonai's functions in this document..

  1. /analyze/some text to analyze for entities...
  2. /count/some text to count characters, words, sentences
  3. /currency/base currency/target currency/amount to convert to convert an amount from base currency to target currency
  4. /date to retrieve current date and time
  5. /describe/some text to look up the definition of terms in a sentence
  6. /encoding/url/ to detect the encoding of an url (nowadays most urls are UTF8 encoded)
  7. /jaro/some string/another string to return the jaro distance between two strings
  8. /levenshtein/some string/another string to return the levenshtein distance between two strings
  9. /haversine/latitude 1/longitude 1/latitude 2/longitude 2 to return the distance in kilometers between two points having known coordinates
  10. /language/{string} to detect language and return its ISO code (ex. fr = french, en = english...)
  11. /location/name of a location to look up the geocoordinates of the given location
  12. /ner/some text to extract named entities with Nltk and the Stanford NER Tagger
  13. /roll/{dice notation} to roll some dices using standard dice notation. (ex. 2d6, 1d20, 1d4+3, 1d100...)
  14. /say/{string} to make oonai say some text in default language (through text to speech service). This returns an audio element pointing to the right file.
  15. /osay/{string}/{language} to make oonai say some text in another language (using text to speech service as above)
  16. /pos/some text to extract Parts-of-Speech with Nltk and the Stanford POS Tagger
  17. /quote/Subject/language to retrieve a quote from WQ in selected language (use * as subject to retrieve the Quote of the Day)
  18. /say_date to make oonai say current date and time --see date
  19. /say_time to make oonai say current time --see time
  20. /say_weather/{string} to make oonai say information about weather at the given location --see weather
  21. /similar/{id_collection}/some string to compare to texts found in collection identified by {id_collection} ...
  22. /summarize/{string} to summarize given text by selecting a few significant sentences
  23. /summarize_url/{url} to summarize text found at given url
  24. /time to retrieve current time
  25. /translate/{language code}/text to translate to target language
  26. /weather/{string} to retrieve current weather and forecast at given location through openweather service (you must register an API Key)

Functions for use with chora

  1. /classify/some string to classify text by finding the most suitable collection...
  2. /datatype/some string to classify text by finding the most appropriate datatype...
  3. /relations/some string to suggest possible relations with named entities

Web UI

  1. / Homepage
  2. /about/ about oonai
  3. /howto/ a summary of available functions

Experimental

  1. /listen to make Oonai listen to your commands through web browser with a microphone
  2. /input to make Oonai read your input in natural language through web browser

 


Ce document a été publié le 2019-06-04 17:09:23. (Dernière mise à jour : 2020-09-29 12:23:41.)




This website uses 'cookies' to enhance user experience and provide authentification. You may change which cookies are set at any time by clicking on more info. Accept
x