neon-solver-wolfram-alpha-plugin

A question solver plugin for ovos/neon/mycroft


Keywords
mycroft, plugin, utterance, fallback, query
License
BSD-3-Clause
Install
pip install neon-solver-wolfram-alpha-plugin==0.0.2a0

Documentation

Spoken answers api for wolfram alpha

from neon_solver_wolfram_alpha_plugin import WolframAlphaSolver

d = WolframAlphaSolver()

sentence = d.spoken_answer("what is the speed of light")
print(sentence)
# The speed of light has a value of about 300 million meters per second

Language support provided by language translation plugins

from neon_solver_wolfram_alpha_plugin import WolframAlphaSolver

d = WolframAlphaSolver()

sentence = d.spoken_answer("qual é a velocidade da luz",
                           context={"lang": "pt"})
print(sentence)
# A velocidade da luz tem um valor de cerca de 300 milhões de metros por segundo