topbanner_forum
  *

avatar image

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

Login with username, password and session length
  • October 21, 2019, 07:57 AM
  • Proudly celebrating 13 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 1620 times)

Stephen66515

  • Animated Giffer in Chief
  • Honorary Member
  • Joined in 2010
  • **
  • Posts: 3,556
    • 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: 34
  • 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: 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,556
    • 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: 34
  • 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: 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: 34
  • 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: 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,556
    • 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: 34
  • 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: publicdomainvicgmail.com

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

publicdomain

  • Honorary Member
  • Joined in 2019
  • **
  • Posts: 34
  • 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: 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,556
    • 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: 34
  • 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 [postponed to match program] + complete speaking time in October :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: publicdomainvicgmail.com

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

publicdomain

  • Honorary Member
  • Joined in 2019
  • **
  • Posts: 34
  • 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: 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,126
    • View Profile
    • Donate to Member
whoa i forgot how awesome the coders here are  :Thmbsup: :Thmbsup:

publicdomain

  • Honorary Member
  • Joined in 2019
  • **
  • Posts: 34
  • 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: 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,556
    • 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