Skip to content
Snippets Groups Projects
Commit 83ca089b authored by Lucas Schons's avatar Lucas Schons
Browse files

Remove library statements

parent 6e67d19b
No related branches found
No related tags found
1 merge request!34Resolve "Add unit tests for clean_html.R"
......@@ -2,11 +2,6 @@
# Author: Lucas
library(xml2)
library(rvest)
library(stringi)
library(textclean)
#' Clean a html formatted wikipedia page.
#' Nodes of interest from the DOM are extracted and then cleaned from all html
#' tags and annotations.
......
......@@ -2,11 +2,6 @@
# Author: Lukas
library(xml2)
library(stringr)
library(rvest)
library(data.table)
#' Extract birthdate from infobox
#' Will try to get infobox as table and extract birthdate
#' from 'Born'-entry
......
......@@ -2,9 +2,6 @@
# Author: David
library(xml2)
library(rvest)
## Though we could get the pages within the category 'physicists' with something like this
## pages_in_category("en", "wikipedia", categories = "physicists")$query$categorymembers
## this gives us only about 50 pages.
......
library(reticulate)
library(cleanNLP)
#' Initialize the nlp backend
#'
#' A wrapper used to set the python environment and call cnlp_init
......
### Utility functions used internally
library(xml2)
library(rvest)
#' Extract the inforbox contents from wikipedia articles
#'
#' @param article Character vector containing the contents of an wikipedia
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment