Word Count
Sublime Text plugin written in Python that counts specific words given by the user.
Details
Installs
- Total 7K
- Win 3K
- Mac 3K
- Linux 1K
Jun 27 | Jun 26 | Jun 25 | Jun 24 | Jun 23 | Jun 22 | Jun 21 | Jun 20 | Jun 19 | Jun 18 | Jun 17 | Jun 16 | Jun 15 | Jun 14 | Jun 13 | Jun 12 | Jun 11 | Jun 10 | Jun 9 | Jun 8 | Jun 7 | Jun 6 | Jun 5 | Jun 4 | Jun 3 | Jun 2 | Jun 1 | May 31 | May 30 | May 29 | May 28 | May 27 | May 26 | May 25 | May 24 | May 23 | May 22 | May 21 | May 20 | May 19 | May 18 | May 17 | May 16 | May 15 | May 14 | May 13 | |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
Windows | 4 | 5 | 3 | 1 | 3 | 0 | 2 | 3 | 4 | 6 | 8 | 7 | 2 | 4 | 3 | 3 | 6 | 8 | 5 | 4 | 7 | 2 | 6 | 5 | 6 | 2 | 7 | 3 | 8 | 9 | 8 | 3 | 8 | 7 | 2 | 11 | 8 | 4 | 10 | 9 | 3 | 0 | 14 | 7 | 6 | 5 |
Mac | 4 | 6 | 7 | 7 | 4 | 4 | 8 | 8 | 6 | 9 | 9 | 2 | 4 | 3 | 3 | 6 | 8 | 12 | 10 | 1 | 3 | 6 | 8 | 3 | 7 | 8 | 4 | 2 | 8 | 7 | 8 | 7 | 5 | 4 | 6 | 7 | 5 | 6 | 8 | 5 | 5 | 11 | 9 | 3 | 9 | 8 |
Linux | 2 | 2 | 5 | 2 | 2 | 4 | 1 | 3 | 2 | 1 | 2 | 0 | 2 | 0 | 1 | 2 | 2 | 4 | 3 | 0 | 0 | 2 | 0 | 0 | 3 | 3 | 0 | 3 | 3 | 0 | 9 | 2 | 0 | 0 | 1 | 3 | 0 | 2 | 2 | 2 | 1 | 1 | 0 | 2 | 5 | 2 |
Readme
- Source
- raw.githubusercontent.com
Word Count
Sublime Text plugin written in Python that counts specific words given by the user.
How to use?
From the Command Palette:
Count Specific Words
opens a panel on the right where the user can then enter words to count,Copy Word Counters
from that same panel, copies all words and their counters into the clipboard,Sort Words By Counters
sorts all words in an ascending or descending order based on the counters.
Here is a brief demo:
It's also possible to switch the Whole word
and Case sensitive
flags between 0
or 1
to disable or enable them respectively.
Contributions/Suggestions
Contributions and suggestions are more than welcome as this is my first time writing a plugin for Sublime Text.
Ideas/Improvements/Issues
Things I want to improve/fix:
- counting in a large file is quite demanding in terms of cpu
- make it so it doesn't recount after a sort
Credits
I watched a few of OdatNurd's youtube videos to get started as well as google search (a lot) and use Sublime Text's forum. I also followed FichteFoll's suggestions in order to improve the plugin's behavior.