neon-solver-wordnet-plugin

A question solver plugin for ovos/neon/mycroft


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

Documentation

Spoken answers api for wordnet

from neon_solver_wordnet_plugin import WordnetSolver

d = WordnetSolver()
sentence = d.spoken_answer("what is the definition of computer")
print(sentence)
# a machine for performing calculations automatically

d = WordnetSolver()
sentence = d.spoken_answer("qual é a definição de computador", lang="pt")
print(sentence)
# uma máquina para realizar cálculos automaticamente