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