Generates a word cloud from a given PDF
Project description
pdf_to_wordcloud
Generates a word cloud from a given PDF
Installation
$ pip install pdf_to_wordcloud
Arguments
Positional:
PDF: Name of PDF file from which to geneate the wordcloud
Optional:
--remove (-r): Removes word from wordcloud. Accepts multiple arguments (one per flag)
--save (-s): Saves wordcloud as PDF to current directory (no additional argument needed)
--saveto (-st): Saves wordcloud to specified directory
--mask (-m): PNG file to use as shape of wordcloud \
Usage
Display wordcloud of file.pdf:
$ pdf file.pdf
Save image of wordcloud as PDF:
$ pdf file.pdf -s
Remove "this" and "that" from wordcloud and save:
$ pdf file.pdf -r this -r that -s
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
pdf_to_wordcloud-0.0.2.tar.gz
(3.4 kB
view hashes)
Built Distribution
Close
Hashes for pdf_to_wordcloud-0.0.2-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 56d7bf92c445cfa8e1a1700efefe27112b6d914770f0847bc156a092123eaf9f |
|
MD5 | 0dc94014996895f287cf41bed9a78ebc |
|
BLAKE2b-256 | 58386064c632fc4d5478ed551174646349fe2f9a3883310e3a92c3e1378871f9 |