Word Count
Sublime Text plugin written in Python that counts specific words given by the user.
Details
Installs
- Total 5K
- Win 2K
- Mac 2K
- Linux 691
Nov 21 | Nov 20 | Nov 19 | Nov 18 | Nov 17 | Nov 16 | Nov 15 | Nov 14 | Nov 13 | Nov 12 | Nov 11 | Nov 10 | Nov 9 | Nov 8 | Nov 7 | Nov 6 | Nov 5 | Nov 4 | Nov 3 | Nov 2 | Nov 1 | Oct 31 | Oct 30 | Oct 29 | Oct 28 | Oct 27 | Oct 26 | Oct 25 | Oct 24 | Oct 23 | Oct 22 | Oct 21 | Oct 20 | Oct 19 | Oct 18 | Oct 17 | Oct 16 | Oct 15 | Oct 14 | Oct 13 | Oct 12 | Oct 11 | Oct 10 | Oct 9 | Oct 8 | Oct 7 | |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
Windows | 4 | 1 | 3 | 4 | 5 | 1 | 5 | 0 | 0 | 5 | 8 | 3 | 0 | 7 | 4 | 6 | 3 | 5 | 3 | 3 | 6 | 6 | 12 | 4 | 6 | 2 | 7 | 5 | 5 | 4 | 6 | 6 | 1 | 1 | 4 | 5 | 5 | 8 | 7 | 2 | 3 | 7 | 6 | 5 | 7 | 8 |
Mac | 4 | 2 | 1 | 6 | 4 | 7 | 5 | 0 | 0 | 6 | 8 | 6 | 5 | 6 | 9 | 6 | 2 | 7 | 5 | 3 | 4 | 3 | 6 | 5 | 6 | 3 | 2 | 7 | 12 | 8 | 6 | 4 | 3 | 3 | 8 | 4 | 7 | 9 | 6 | 3 | 2 | 4 | 8 | 2 | 2 | 9 |
Linux | 2 | 1 | 0 | 1 | 2 | 0 | 4 | 0 | 0 | 0 | 1 | 2 | 2 | 5 | 4 | 10 | 1 | 4 | 1 | 0 | 2 | 1 | 1 | 1 | 2 | 1 | 2 | 0 | 2 | 1 | 3 | 0 | 2 | 3 | 0 | 1 | 3 | 3 | 0 | 2 | 2 | 2 | 1 | 1 | 0 | 1 |
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.