AutoHotkey Homepage AutoHotkey Community
Let's help each other out
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

TypingAid v2.16b - Word AutoCompletion Utility
Goto page Previous  1, 2, 3 ... 13, 14, 15 ... 30, 31, 32  Next
 
Reply to topic    AutoHotkey Community Forum Index -> Scripts & Functions
View previous topic :: View next topic  
Author Message
maniac



Joined: 28 Aug 2009
Posts: 267

PostPosted: Fri Jun 04, 2010 12:04 pm    Post subject: Reply with quote

Skrell wrote:
well i guess i still think it would be nice to have a parameter in the .ini file that would allow you to specify the number added to a word each time it is used rather than just adding 1 always.


I thought some more about this and I think it would be a good idea. For example, as a programmer I am often dealing with the same "words" for a short amount of time, and they are important at that point in time. I may or may not ever use those "words" again. Therefore the words that I have used frequently recently are more important than those that I have used frequently in the past.

For someone who is just typing regularly the words they use probably aren't going to change. They won't necessarily want to give the more recent words more weight.

So I thought up an implementation of this:
I will add one parameter to control the type of weight added to the word. There will be 3 values for this parameter:
Fixed, Percentage, and Off.
Fixed will add a fixed value to the weight. This will be the default setting (the default value will be one). There will be no cap to the weight a word can get.
Percentage will add the listed percentage of the highest weight to the word's weight. There will be a rolling cap of highest weight + 1.
Off - this will turn off frequency based ordering.

There will be a second parameter to handle the value for the fixed or percentage setting.

Percentage has benefits over fixed because the size of the wordlist will change. A fixed weight of 20 would be too much when you only have 10 learned words, but may not be enough when you have 1000 learned words.

I'll try to get this out in the next version, but it requires some changes to the counting/frequency/learning algorithm. I need to keep 2 separate counts now - one for the number of times I've typed/completed a word and one for the weight of the word.
Back to top
View user's profile Send private message
Jimbo Jones
Guest





PostPosted: Sat Jun 05, 2010 8:04 pm    Post subject: Reply with quote

Jimbo again.

Just a thought:

Putting requir{auto}=requirements in the wordlist won't show a tooltip, instead it will automatically type "requirements"

Also ability to use {enter},{tab},{home},{left} ... ie

login1{auto}=myname{tab}mypassword{enter}
or
<b{auto}=<b></b>{left}{left}{left}{left}

You can see where I am going, so what do you think?
Back to top
maniac



Joined: 28 Aug 2009
Posts: 267

PostPosted: Sat Jun 05, 2010 8:18 pm    Post subject: Reply with quote

I can see where you are going.

A few issues...

What if I wanted to type "required"? I would type "requir" and then it would autocomplete requirements.

What about people, specifically programmers, who have words which contain curly braces? There may be some programming languages that need that as an available character in the wordlist.
Back to top
View user's profile Send private message
Jimbo Jones
Guest





PostPosted: Sat Jun 05, 2010 8:31 pm    Post subject: Reply with quote

maniac wrote:
What if I wanted to type "required"? I would type "requir" and then it would autocomplete requirements.

Solved:
~requir{auto}=requirements
or
<login1{auto}=myname{tab}mypassword{enter}

maniac wrote:
What about people, specifically programmers, who have words which contain curly braces? There may be some programming languages that need that as an available character in the wordlist.

Hmmm ...
Back to top
Jimbo Jones
Guest





PostPosted: Sat Jun 05, 2010 8:42 pm    Post subject: Reply with quote

I'm sorry for bothering you, I just read on you site that "It's outside the scope of this program". I will use TyperTask.
Back to top
SoLong&Thx4AllTheFish



Joined: 27 May 2007
Posts: 4999

PostPosted: Sat Jun 05, 2010 9:30 pm    Post subject: Reply with quote

Jimbo Jones wrote:
I'm sorry for bothering you, I just read on you site that "It's outside the scope of this program". I will use TyperTask.
Why? Nothing will prevent you setting up a few ahk hotstrings or hotkeys?
_________________
AHK Wiki FAQ
TF : Text files & strings lib, TF Forum
Back to top
View user's profile Send private message
Jimbo Jones
Guest





PostPosted: Sat Jun 05, 2010 10:01 pm    Post subject: Reply with quote

hugov wrote:
Jimbo Jones wrote:
I'm sorry for bothering you, I just read on your site that "It's outside the scope of this program". I will use TyperTask.
Why? Nothing will prevent you setting up a few ahk hotstrings or hotkeys?

Why not? I'm using PowerPro, HotkeyP ... I'm going to use TypingAid, TyperTask, ... Do I have to use ahk only?
Back to top
maniac



Joined: 28 Aug 2009
Posts: 267

PostPosted: Sun Jun 06, 2010 1:22 am    Post subject: Reply with quote

Jimbo Jones wrote:
maniac wrote:
What if I wanted to type "required"? I would type "requir" and then it would autocomplete requirements.

Solved:
~requir{auto}=requirements
or
<login1{auto}=myname{tab}mypassword{enter}.


I'm not sure I see how this solves the issue.

wordlist.txt contains
requir{auto}=requirements


On my document I type "requir" with the intention of typing "required".

When I type "requir" it'll autocomplete "requirements", and I can't type "required".

Am I missing something?

Jimbo Jones wrote:
I'm sorry for bothering you, I just read on you site that "It's outside the scope of this program". I will use TyperTask.


It's not a bother, and I do try to be accommodating and am open to suggestions. But it does sound like it may be outside the scope of the script.
Back to top
View user's profile Send private message
SoLong&Thx4AllTheFish



Joined: 27 May 2007
Posts: 4999

PostPosted: Sun Jun 06, 2010 6:17 am    Post subject: Reply with quote

@maniac: I think he wants to have an exeception if a word is started with a special character so if a word starts with < treat {enter} as a key to send rather than a word. (would require some preprocessing)

@Jimbo Jones: not saying you have to, but ahk can probably do anything those other programs do (don't know them all) and probably more efficient and easier.

Add this to typing aid at the bottom:

Code:
#include mykeys.ahk


and in that file has you hotkeys and hotkeystrings... why have two programs running to do a simply task? (at some point they will conflict as they all probably have their own keyboard hook, if you use phraseexpress which is another "helper" ahk hotstrings and hotkeys might not work as expected as someone found out recently and it took a while to find the culprit. Good luck mixing and matching the various programs, must be wonderful to remember what does what and to debug Very Happy
_________________
AHK Wiki FAQ
TF : Text files & strings lib, TF Forum
Back to top
View user's profile Send private message
maniac



Joined: 28 Aug 2009
Posts: 267

PostPosted: Sun Jun 06, 2010 6:38 am    Post subject: Reply with quote

hugov wrote:
@maniac: I think he wants to have an exeception if a word is started with a special character so if a word starts with < treat {enter} as as if it appears in the word.


Oh, I see.

Yeah, that feature will be classed as beyond the scope of this script. Besides the work involved there are several caveats.

It's not like it hasn't been requested before though. Nothing is impossible Smile
Back to top
View user's profile Send private message
jordis



Joined: 30 Jul 2004
Posts: 81

PostPosted: Wed Jun 30, 2010 8:31 pm    Post subject: Reply with quote

Hi all
This is Jordi S (jordis) the one who posted the original script on which TypingAid is based.
I see a lot of people use it for their programming needs. Actually, I'm a translator and not a programmer (although I enjoy "playing" with AHK Wink
So I created the original script to help me type repetitive words faster.
My original script suited my needs. That, combined with almost no time to dedicate to the script sadly caused me not to maintained it any longer.
I'm really glad people found it useful and maniac (and I guess others too) took it "to the next level" adding new features.
It's looking really good! So heads up, keep up the good work and I hope I'll be able to keep an eye on progress!
Back to top
View user's profile Send private message
maniac



Joined: 28 Aug 2009
Posts: 267

PostPosted: Wed Jun 30, 2010 8:49 pm    Post subject: Reply with quote

I was wondering if you'd ever pop back in Jordi. I think more people actually use it for typing than programming, but it's a good number for both Smile. Thanks for creating this originally.

I haven't had time to work on it recently, but we plan to add some new things like a configuration menu (it's mostly coded thanks to hugov, I just need to integrate it).
Back to top
View user's profile Send private message
kakarukeys



Joined: 28 Sep 2009
Posts: 86

PostPosted: Mon Jul 05, 2010 3:17 am    Post subject: Reply with quote

Hi all,

I have added the binaries of newest version 2.15 to my site.
Here are feedbacks collected from emails:

feedback 1:
Quote:
For example, IntelliComplete offers the ability to learn phrases (not just by allowing the user to define shortcut abbreviations, but also by recognizing the repetition of sequential words).

Friendly regards from a thankful new user!


feedback 2:
Quote:
Can I add a separate 'wordlist.txt' to TypingAid to understand these phrases?

Elaborating; TA uses a wordlist.txt when new words are added, or learned. The phrases I'm referring to might be better served in a separate file. I was thinking about 'can another wordlist.txt file be added to TA?'

OR should the 'nicer' phrases just be incorporated in to the existing wordlist?


feedback 3:
Quote:
the program to recognize symbols such as comma,
newline, period in auto-learning as well as in word list
items.


Others:
1. accented (diacritic) character support is broken.
Example: when using Spanish (International Sort) Language, United States-International KBL.
with "universal setting" TerminatingCharacters={enter}{space}{bs}{esc}{tab}{Home}{End}{PgUp}{PdDn}{Up}{Dn}{Left}{Right}¿?¡!()$

try to type ó in any window, it outputs o

2. script couldn't be loaded with AutoHotkey_L (so no more unicode version)
_________________
TypingAid autocompletion program made with AHK.
Back to top
View user's profile Send private message
maniac



Joined: 28 Aug 2009
Posts: 267

PostPosted: Mon Jul 05, 2010 8:29 am    Post subject: Reply with quote

Thx Kakarukeys

Re 1 & 2. If someone figures out some seamless way to integrate this, maybe we can think about it.

Re 3. They just have to edit their preferences file...

Re Others 2. I wonder why it wouldn't load in AutoHotkey_L? Would it load into AutoHotkey_U?
Back to top
View user's profile Send private message
SoLong&Thx4AllTheFish



Joined: 27 May 2007
Posts: 4999

PostPosted: Mon Jul 05, 2010 10:00 am    Post subject: Reply with quote

maniac wrote:
Re 1 & 2. If someone figures out some seamless way to integrate this, maybe we can think about it.


1) Setup a hotkey or tray menu option with a minimal gui allowing a user to enter a phrase which is added to the wordlist (just like the hotstring helper http://www.autohotkey.com/docs/Hotstrings.htm)

2) You now do fileread, var, wordlist.txt you can easily append learnedwordlist.txt to it before hashing the words, new words (or phrases) are only appended to learnedwordslist.txt. Not sure how it would effect the ranking of words as previously discussed (weights etc, see few posts above)

(I don't think AutoHotkey_U is "around" anymore, Unicode is now part of AutoHotkey_L)
_________________
AHK Wiki FAQ
TF : Text files & strings lib, TF Forum
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    AutoHotkey Community Forum Index -> Scripts & Functions All times are GMT
Goto page Previous  1, 2, 3 ... 13, 14, 15 ... 30, 31, 32  Next
Page 14 of 32

 
Jump to:  
You can post new topics in this forum
You can reply to topics in this forum


Powered by phpBB © 2001, 2005 phpBB Group