KnowBrainer Speech Recognition
Decrease font size
Increase font size
Topic Title: formatting time duration
Topic Summary: autoformat or the like to get 3h24m instead of 3 hours and 24 minutes
Created On: 07/15/2021 05:48 PM
Status: Post and Reply
Linear : Threading : Single : Branch
 formatting time duration   - Ag - 07/15/2021 05:48 PM  
 formatting time duration   - Lunis Orcutt - 07/15/2021 06:48 PM  
 formatting time duration   - Alan Cantor - 07/15/2021 08:40 PM  
 formatting time duration   - Alan Cantor - 07/15/2021 08:50 PM  
 formatting time duration   - kkkwj - 07/15/2021 10:10 PM  
 formatting time duration   - Ag - 07/16/2021 01:54 PM  
 formatting time duration   - Ag - 07/20/2021 09:50 AM  
 formatting time duration   - PG LTU - 07/20/2021 05:06 PM  
 formatting time duration   - PG LTU - 07/20/2021 04:57 PM  
 formatting time duration   - kkkwj - 07/20/2021 06:35 PM  
 formatting time duration   - Ag - 07/20/2021 06:36 PM  
 formatting time duration   - PG LTU - 07/20/2021 07:01 PM  
 formatting time duration   - Ag - 07/20/2021 07:35 PM  
Keyword
 07/15/2021 05:48 PM
User is offline View Users Profile Print this message

Author Icon
Ag
Top-Tier Member

Posts: 644
Joined: 07/08/2019

I often use durations when entering stuff on the computer. Both for work (performance analysis of computers), but also logging and analyzing personal productivity.

 

When I enter durations in human friendly units, I prefer to have them look like 3h23m - rather than the verbose 3 hours and 23 minutes

 

Q: is there any way to do this via a standard autoformat?

 

Of course I already have speech commands that do this for the current time (e.g. for use in filenames, making sortable by date) , and it won't be hard to create speech commands that do this.

 

But I really prefer to say "3 hours 23 minutes" rather than "duration 3 hours 23 minutes"

 

i.e. most speech commands have a prefix. That's not how I speak most of the time. (I think the Vocola guy agrees with me)

 

I suppose that I could write speech commands of the form

 

<0_to_100> hours <0_to_59> minutes

 

<0_to_365> days <0_to_23> hours <0_to_59> minutes

 

But I have grown shy of the combinatoric explosion implied by such lists.

 

Being me, I might do it via speech commands

<0_to_100> hours

<0_to_7> days

Executing AutoHotKey commands that do the full thing - much less common torque explosion

 

 

But if there is a standard way to do this in AutoHotKey, e.g. using autoformat, I'd like to know about it. I haven't found it in the Dragon manuals.

 

---

 

I hope that dragonfly grammars can distinguish suffix and infix as well as prefix commands. I really need to spend more time with dragonfly.



-------------------------

DPG15.6 (also DPI 15.3) + KB, Sennheiser MB Pro 1 UC ML, BTD 800 dongle, Windows 10 Pro, MS Surface Book 3, Intel Core i7-1065G7 CPU @ 1.3/1.5GHz (4 cores, 8 logical, GPU=NVIDIA Quadro RTX 3000 with Max-Q Design.



KnowBrainer Speech Recognition » Dragon Speech Recognition » formatting time duration

Statistics
32134 users are registered to the KnowBrainer Speech Recognition forum.
There are currently 1 users logged in.
The most users ever online was 12124 on 09/09/2020 at 04:59 AM.
There are currently 500 guests browsing this forum, which makes a total of 501 users using this forum.

FuseTalk Standard Edition v4.0 - © 1999-2021 FuseTalk™ Inc. All rights reserved.