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 721
Dec 21 | Dec 20 | Dec 19 | Dec 18 | Dec 17 | Dec 16 | Dec 15 | Dec 14 | Dec 13 | Dec 12 | Dec 11 | Dec 10 | Dec 9 | Dec 8 | Dec 7 | Dec 6 | Dec 5 | Dec 4 | Dec 3 | Dec 2 | Dec 1 | Nov 30 | Nov 29 | Nov 28 | Nov 27 | Nov 26 | Nov 25 | Nov 24 | Nov 23 | Nov 22 | 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 | |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
Windows | 2 | 7 | 4 | 4 | 4 | 5 | 1 | 0 | 2 | 5 | 4 | 5 | 7 | 5 | 5 | 6 | 6 | 6 | 4 | 9 | 1 | 2 | 2 | 3 | 0 | 0 | 0 | 0 | 5 | 1 | 7 | 1 | 3 | 4 | 5 | 1 | 5 | 0 | 0 | 5 | 8 | 3 | 0 | 7 | 4 | 6 |
Mac | 2 | 10 | 5 | 7 | 8 | 3 | 3 | 4 | 5 | 9 | 5 | 5 | 4 | 8 | 6 | 5 | 8 | 8 | 13 | 5 | 4 | 0 | 3 | 5 | 0 | 0 | 0 | 0 | 4 | 9 | 7 | 2 | 1 | 6 | 4 | 7 | 5 | 0 | 0 | 6 | 8 | 6 | 5 | 6 | 9 | 6 |
Linux | 0 | 1 | 5 | 2 | 0 | 1 | 1 | 2 | 0 | 1 | 1 | 2 | 0 | 0 | 1 | 1 | 2 | 4 | 2 | 0 | 0 | 0 | 4 | 0 | 0 | 0 | 0 | 0 | 2 | 1 | 3 | 1 | 0 | 1 | 2 | 0 | 4 | 0 | 0 | 0 | 1 | 2 | 2 | 5 | 4 | 10 |
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.