Getting Definition of words
wiki_define(“word”) function: Returns the definition of the words from Wikipedia and wiki data.
Syntax:
wiki_define("word")
R
# installing packages install.packages ( "wikifacts" ) # importing packages library (wikifacts) # gets definition of the word cat ( wiki_define ( "python" )) |
Output:
Python may refer to:
Pythonidae, a family of nonvenomous snakes found in Africa, Asia, and Australia
Python (genus), a genus of nonvenomous Pythonidae found in Africa and Asia
== Computing ==
Python (programming language)
Python, a native code compiler for CMU Common Lisp
Python, the internal project name for the PERQ 3 computer workstation
…..
wikifacts package in R
In this article, we will be working with wikifacts package of R Programming Language. We will have a look at several functions of wikifacts package to scrap data like events, facts, and news.