Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
keeleliin
word_cloud_est
Commits
19ae8726
Commit
19ae8726
authored
Nov 14, 2016
by
Andreas Mueller
Committed by
GitHub
Nov 14, 2016
Browse files
Added a part about the command-line tool in README (#189)
parents
16774180
fcbc8cb6
Changes
1
Hide whitespace changes
Inline
Side-by-side
README.md
View file @
19ae8726
...
...
@@ -53,6 +53,22 @@ Or run [examples/masked.py][masked] to see more options. A sample output is:
Getting fancy with some colors:

## Command-line usage
The
`wordcloud_cli.py`
tool can be used to generate word clouds directly from the command-line:
$ wordcloud_cli.py --text mytext.txt --imagefile wordcloud.png
If you're dealing with PDF files, then
`pdftotext`
, included by default with many Linux distribution, comes in handy:
$ pdftotext mydocument.pdf - | wordcloud_cli.py --imagefile wordcloud.png
In the previous example, the
`-`
argument orders
`pdftotext`
to write the resulting text to stdout, which is then piped to the stdin of
`wordcloud_cli.py`
.
Use
`wordcloud_cli.py --help`
so see all available options.
## Used in
### Reddit Cloud
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment