wikipediaKnowledge
module use wikipedia
API in python
. This module receive questions to get information with YARP
port, send request to Wikipedia
server and publish results with YARP
port.
Documentation available on docs.
wikipediaKnowledge
requires text like input.
The process to running the program:
- Execute programs/wikipediaKnowledge.py, to start de program.
python wikipediaKnowledge.py
- Connect data source.
yarp connect /yourport/data:o /wikipediaKnowledge/data:i
NOTE:
- Data results are published on
/wikipediaKnowledge/data:o
wikipediaKnowledge
requires:
- Install YARP 2.3.XX+
- Install pip
- Install wikipedia:
pip install wikipedia
Tested on: windows 10
, ubuntu 14.04
, ubuntu 16.04
, ubuntu 18.04
, lubuntu 18.04
and raspbian
.