12 questions
Score of 1
3 answers
2270 views
Simple error : Wordpress Gutenberg Block not outputting php variable in javascript console. Any help appreciated
I'm creating a gutenberg dynamic block. The problem is my I can't access the attributes value outside of render.php , even in my main plugin random-jokes.php file.
My console is just outputting this
...
Score of 0
1 answer
472 views
Is there a way to bulk-download all texts from a certain Project Gutenberg bookshelf?
I need to download all .txt files from this bookshelf.
Is it possible via wget? I can't seem to find any parametres to pass regarding the bookshelf categorizing.
Score of 0
0 answers
50 views
Guternberg module not showhing on drupal 9
I'm using drupal 9 and I want to use gutenberg a page builder, to make it easy for my co-worker who don't know anything about code.
The thing is that I completed the installation but the edito isn't ...
Score of 0
0 answers
131 views
Is there a way to infer the author and or title of a work based on a project Gutenburg file name?
Sometimes project Gutenberg includes the author or book name in a machine readable way in the raw text files but many times it doesn't. I have a collection of project Gutenberg raw text files that I ...
Score of 0
0 answers
193 views
Trying to get book summaries from Wikipedia of Project Gutenberg books
I have the complete Project Gutenberg English library as alphabetized csv files with the columns - id, title, text. Here id is in the format /ebooks/15809. Then I am using the Wikipedia python package....
Score of 2
0 answers
455 views
Connection refused when trying to download all books from project gutenberg (wget)
I am trying to follow Project Gutenberg's guide to downloading all their english books in txt format but I am running into issues.
When I run the following command
wget -w 2 -m -H "http://www....
Score of -3
1 answer
1950 views
scrape book body text from project gutenberg de
I am new to python and I am looking for a way to extract with beautiful soup existing open source books that are available on gutenberg-de, such as this one
I need to use them for further analysis and ...
Score of 1
1 answer
2283 views
Project Gutenberg accessing text with url
I'm trying to access a text file from project gutenberg's url.
Hence I've copyed the same code from nltk book's, the result was different.
from urllib import request
url = "http://www.gutenberg.org/...
Score of 3
2 answers
161 views
Regex doesn't capture numbers written out as words
I'm looking at Oliver Twist in both English and French. I found this site (https://cran.r-project.org/web/packages/tidytext/vignettes/tidytext.html) that provides code to apply the chapter number per ...
Score of 4
2 answers
2527 views
How to apply stopwords accurately in French using R
I'm trying to pull a book using the Gutenberg library and then remove French stopwords. I've been able to do this accurately in English by doing this:
twistEN <- gutenberg_download(730)
twistEN &...
Score of 2
0 answers
1285 views
Attempting to use Project Gutenberg in Python 3
I was using the Project Gutenberg API (I'm new, forgive me if this isn't actually the right term) with Python 2 just fine. But I needed to start using Python 3 for other reasons.
I'm having a lot of ...
Score of 0
1 answer
160 views
Basics of connecting python to the web and validating user input
I'm relatively new, and I'm just at a loss as to where to start. I don't expect detailed step-by-step responses (though, of course, those are more than welcome), but any nudges in the right direction ...
