topbanner_forum
  *

avatar image

Welcome, Guest. Please login or register.
Did you miss your activation email?

Login with username, password and session length
  • Friday April 3, 2020, 1:40 pm
  • Proudly celebrating 15 years online.
  • Donate now to become a lifetime supporting member of the site and get a non-expiring license key for all of our programs.
  • donate

Author Topic: [Request] - Multilingual Word Counter / Spoken Word Timer [Tray Utility]  (Read 4766 times)

Stephen66515

  • Animated Giffer in Chief
  • Honorary Member
  • Joined in 2010
  • **
  • Posts: 3,597
    • View Profile
    • Donate to Member
Request:

A multilingual word counter and spoken word timer.

Must be:
    • Silent (Sits in the tray when not being used)
    • Called from shortcut keys outside of the software
    • Multilingual

The Problem To Be Solved:

I find myself always having to pay strict attention to word counts.  I need a utility that will be able to take clipboard content (text only), and output the word count and/or spoken word timer (how long it would take to speak that amount of text, including breathing time, at a typical spoken word speed).

I won't always want to have to manually paste text into Notepad++ or Word or whatever, in order to get a word count (sometimes I need to be able to select text blocks from documents such as PDFs), so having something to universally monitor my clipboard would be super useful.

The requirement for the utility to be multilingual is because a lot of what I am checking is in English and Italian.  So with that in mind, only being able to check the spoken time in English would become rather limiting for me.

A Picture Paints A Thousand Words:

Coding Snack Request.png




Thanks in Advance,

-Stephen

publicdomain

  • Honorary Member
  • Joined in 2019
  • **
  • Posts: 77
  • Call me Vic!
    • View Profile
    • Patreon.com/publicdomain
    • Read more about this member.
    • Donate to Member
Hello Stephen, I can take this.

The requirement for the utility to be multilingual is because a lot of what I am checking is in English and Italian.  So with that in mind, only being able to check the spoken time in English would become rather limiting for me.

What do you mean by "SPEAKING TIME"?

This is the only part needing a bit of an explanation. I have a separate word counter for each language in mind, but would appreciate clarification.

Cheers!
Vic
New releases: www.patreon.com/publicdomain
Email/PayPal: publicdomainvicgmail.com

It's quite a pleasure being of assistance to you!
--Victor

Stephen66515

  • Animated Giffer in Chief
  • Honorary Member
  • Joined in 2010
  • **
  • Posts: 3,597
    • View Profile
    • Donate to Member
I forgot about this topic lol

I mean "How long it would take to literally speak this segmentr of text, at an average native speaking rate (possibly variable)"

-Stephen

publicdomain

  • Honorary Member
  • Joined in 2019
  • **
  • Posts: 77
  • Call me Vic!
    • View Profile
    • Patreon.com/publicdomain
    • Read more about this member.
    • Donate to Member
I mean "How long it would take to literally speak this segmentr of text, at an average native speaking rate (possibly variable)"

Super! That's a very clear definition :Thmbsup:

I'm taking it as soon as the Random Sounds App is done.
New releases: www.patreon.com/publicdomain
Email/PayPal: publicdomainvicgmail.com

It's quite a pleasure being of assistance to you!
--Victor
« Last Edit: September 16, 2019, 06:47 PM by publicdomain »

publicdomain

  • Honorary Member
  • Joined in 2019
  • **
  • Posts: 77
  • Call me Vic!
    • View Profile
    • Patreon.com/publicdomain
    • Read more about this member.
    • Donate to Member
Okie! Let's begin coding this release! :up:

Do you have any config GUI in mind? Should I go "free style" on user interface? :)
New releases: www.patreon.com/publicdomain
Email/PayPal: publicdomainvicgmail.com

It's quite a pleasure being of assistance to you!
--Victor

Stephen66515

  • Animated Giffer in Chief
  • Honorary Member
  • Joined in 2010
  • **
  • Posts: 3,597
    • View Profile
    • Donate to Member
The only "UI" it needs, is a settings window to set your languages (native + chosen foreign), and to change between slow-average-fast (spoken word speed)

Other than that it just needs to spit out an info window with the numbers :D

(Also, it must stay hidden in the tray until called on...I wanna start it with Windows and just ignore it 99.9% of the time lol)

Looking forward to checking it out :)

publicdomain

  • Honorary Member
  • Joined in 2019
  • **
  • Posts: 77
  • Call me Vic!
    • View Profile
    • Patreon.com/publicdomain
    • Read more about this member.
    • Donate to Member
The only "UI" it needs, is a settings window to set your languages (native + chosen foreign), and to change between slow-average-fast (spoken word speed)

Roger that.

Repo open @ https://github.com/p...er-spoken-word-timer
New releases: www.patreon.com/publicdomain
Email/PayPal: publicdomainvicgmail.com

It's quite a pleasure being of assistance to you!
--Victor

publicdomain

  • Honorary Member
  • Joined in 2019
  • **
  • Posts: 77
  • Call me Vic!
    • View Profile
    • Patreon.com/publicdomain
    • Read more about this member.
    • Donate to Member
Okie, need some input here to continue :)

Part "A" (word count) = piece of cake.

Part "B"(speaking time) is going to need a bit of creativity here. I'm thinking hooking into a Text-to-speech source, extracting the resulting duration as base/average time, then calculating "fast" and "slow" speech as a function of this value (i.e. 1.25x / 0.75x)

Do you have any program you prefer to use for text to speech? Since this is custom-made for your specific use-case, we should begin with anything you have!  ;)

Cheers!
New releases: www.patreon.com/publicdomain
Email/PayPal: publicdomainvicgmail.com

It's quite a pleasure being of assistance to you!
--Victor
« Last Edit: September 20, 2019, 02:28 AM by publicdomain »

Stephen66515

  • Animated Giffer in Chief
  • Honorary Member
  • Joined in 2010
  • **
  • Posts: 3,597
    • View Profile
    • Donate to Member
Well, it doesn't really need TTS, so this may actually be helpful: https://pdfs.semanti...41c29bc3e63a6212.pdf

The results for RAI (Italian) is the ones I really need - I couldn't care less how long my speech would take in English haha

On a side note: There is utterly no rush with this - I'm not back in university until next year now anyway :D

publicdomain

  • Honorary Member
  • Joined in 2019
  • **
  • Posts: 77
  • Call me Vic!
    • View Profile
    • Patreon.com/publicdomain
    • Read more about this member.
    • Donate to Member
There is utterly no rush with this [...]

Thanks for sharing this info. Nonetheless, let's put some time-frame to it :)

Let's say: word count feature fully-done before September ends :Thmbsup:

(Hey! Life has taught me it's best for there to be a date to achieve success! )

Cheers!
New releases: www.patreon.com/publicdomain
Email/PayPal: publicdomainvicgmail.com

It's quite a pleasure being of assistance to you!
--Victor
« Last Edit: January 27, 2020, 10:34 PM by publicdomain »

publicdomain

  • Honorary Member
  • Joined in 2019
  • **
  • Posts: 77
  • Call me Vic!
    • View Profile
    • Patreon.com/publicdomain
    • Read more about this member.
    • Donate to Member
Hi Stephen, the proggie is shaping. I just want to ask what languages to include on first version.

(English + Italian are there)

MWC.png

Also, would like to get your feedback about adding a new shortcut (say, CTRL + SHIFT + F6) to invoke foreign word count directly; this way there's less GUI involved.

Cheers!
New releases: www.patreon.com/publicdomain
Email/PayPal: publicdomainvicgmail.com

It's quite a pleasure being of assistance to you!
--Victor
« Last Edit: October 10, 2019, 05:31 AM by publicdomain »

superboyac

  • Charter Member
  • Joined in 2005
  • ***
  • Posts: 6,201
    • View Profile
    • Donate to Member
whoa i forgot how awesome the coders here are  :Thmbsup: :Thmbsup:

publicdomain

  • Honorary Member
  • Joined in 2019
  • **
  • Posts: 77
  • Call me Vic!
    • View Profile
    • Patreon.com/publicdomain
    • Read more about this member.
    • Donate to Member
whoa i forgot how awesome the coders here are  :Thmbsup: :Thmbsup:

Thank you for sharing your appreciation superboyac, it is my passion and my pleasure to assist :-*

I just want to ask what languages to include on first version.

Ping!

Top 20 languages? Just these two?

Cheers!
New releases: www.patreon.com/publicdomain
Email/PayPal: publicdomainvicgmail.com

It's quite a pleasure being of assistance to you!
--Victor

Stephen66515

  • Animated Giffer in Chief
  • Honorary Member
  • Joined in 2010
  • **
  • Posts: 3,597
    • View Profile
    • Donate to Member
Yo!

Sorry, been super busy with uni haha

As for "how many languages", I'll leave that up to you - Italian is the only one that matters to me, so anything more is something I wouldn't personally use...but someone else might! :D

-Stephen

publicdomain

  • Honorary Member
  • Joined in 2019
  • **
  • Posts: 77
  • Call me Vic!
    • View Profile
    • Patreon.com/publicdomain
    • Read more about this member.
    • Donate to Member
Hello dear Stephen, please check your PM's.

Your input regarding words per minute is needed to release  :Thmbsup:

Cheers!
New releases: www.patreon.com/publicdomain
Email/PayPal: publicdomainvicgmail.com

It's quite a pleasure being of assistance to you!
--Victor

Stephen66515

  • Animated Giffer in Chief
  • Honorary Member
  • Joined in 2010
  • **
  • Posts: 3,597
    • View Profile
    • Donate to Member
Whoops - I checked that last night actually and completely forgot to reply haha - Let me get onto that now!

publicdomain

  • Honorary Member
  • Joined in 2019
  • **
  • Posts: 77
  • Call me Vic!
    • View Profile
    • Patreon.com/publicdomain
    • Read more about this member.
    • Donate to Member
Good news! Feature-complete release done :Thmbsup:

MultilingualWordCounter_v0-1-0.png

Download at => Multilingual Word Counter v0.1.0

Enjoy!
Vic
New releases: www.patreon.com/publicdomain
Email/PayPal: publicdomainvicgmail.com

It's quite a pleasure being of assistance to you!
--Victor
« Last Edit: January 28, 2020, 07:29 AM by publicdomain »

Stephen66515

  • Animated Giffer in Chief
  • Honorary Member
  • Joined in 2010
  • **
  • Posts: 3,597
    • View Profile
    • Donate to Member
Awesome!

I'll download this shortly and give it a shot to see how accurate things are (from my perspective!).

Thanks,

-Stephen

Stephen66515

  • Animated Giffer in Chief
  • Honorary Member
  • Joined in 2010
  • **
  • Posts: 3,597
    • View Profile
    • Donate to Member
OK, Just gave it a whirl and I have to say it seems to be working great!

Only one slight niggle with it: Any chance you could make the _X_ on the main window minimize to tray rather than just closing it (I've now closed it twice by accident haha).

Thanks again,

-Stephen

publicdomain

  • Honorary Member
  • Joined in 2019
  • **
  • Posts: 77
  • Call me Vic!
    • View Profile
    • Patreon.com/publicdomain
    • Read more about this member.
    • Donate to Member
OK, Just gave it a whirl and I have to say it seems to be working great!

Glad to hear you're enjoying it :-*

Only one slight niggle with it: Any chance you could make the _X_ on the main window minimize to tray rather than just closing it (I've now closed it twice by accident haha).

Roger that. Adding this change to next version/update  :up:

Thanks again

It is my passion and my pleasure to assist!

Cheers,
Vic
New releases: www.patreon.com/publicdomain
Email/PayPal: publicdomainvicgmail.com

It's quite a pleasure being of assistance to you!
--Victor

publicdomain

  • Honorary Member
  • Joined in 2019
  • **
  • Posts: 77
  • Call me Vic!
    • View Profile
    • Patreon.com/publicdomain
    • Read more about this member.
    • Donate to Member
Adding this change to next version/update  :up:

Just added a new "Hide close button" option (v0.1.1):

MultilingualWordCounter_v0-1-1.png

Download: MultilingualWordCounter_v0-1-1.zip

Please use it for a while.

If it's feature-complete and there are no bugs on the way, we can then promote it to version 1.0, officially :)
New releases: www.patreon.com/publicdomain
Email/PayPal: publicdomainvicgmail.com

It's quite a pleasure being of assistance to you!
--Victor