Spell checking in Rev apps?

Thomas McGrath III 3mcgrath at adelphia.net
Tue Feb 21 09:35:38 EST 2006


Scott,

I found it. It was creating the folder and file but not writing to  
the file. And it was saving the learned words in the global  
gCustomDictionary in the substack across saves.

I added the writecustomdictionary on the close stack of the  
spellchecker and then it saved it to the file customDict.txt


Very cool. I am learning a lot from this.

Thank you for posting.

Tom


On Feb 21, 2006, at 9:25 AM, Thomas McGrath III wrote:

> Scott,
>
> Gratuities:
> Thanks for this, I really learned a lot from it. I am curious about  
> the "Learn" -- CustomDict.txt -- feature. I found the file  
> CustomDict.txt created in the DemoSpellChecker Folder and created a  
> few "fake" words to have the system learn them. Well it seems to  
> work across openings of the stack.
>
> SpellChecker question:
> My question is 'where' is it saving these custom dictionary words?  
> I checked the CustomDict.txt file and it appears empty. I checked  
> for custom properties etc. but to no avail. I did find the  
> WriteCustomDictionary function but can not find where it might be  
> called from?
>
> Revolution question:
> Is there a way in rev to find out based on the name of a function  
> where it is called from in a stack across objects/scripts etc.? I  
> tried the find and replace method and I only get the function and  
> not any place it might be called from.
>
>
> Thanks
>
> Tom
>
>
> On Feb 20, 2006, at 9:50 PM, Scott Morrow wrote:
>
>> Garrett,
>> This topic has kept my interest for some time.
>> Jean-Baptiste LE STANG has written an AppleScript extension  <   
>> http://www.lestang.org/ >  that allows a link to Apple's OSX spell  
>> checking engine.  It can be used with Revolution to create a spell  
>> checker.  Obviously it requires OSX (version 10.3 or better,  
>> actually) and so will not provide the general solution that the  
>> others (and myself) are looking for.
>>  I have placed an example solution in the RevOnline User Space  
>> under username "Scott"  - or from the message box:
>>
>>  go URL "http://elementarysoftware.com/rev_demos/spellcheck_demo.rev"
>>
>> I continue working towards a more generalized solution... an  
>> attempt at which I have just recently included in a Beta  
>> application.  My biggest difficulties have been with speed  
>> (checking more than 2 pages of text becomes poky) and with  
>> returning good phonetic suggestions.
>>
>> For word banks I am using:
>> Spell Checking Oriented Word Lists (SCOWL)
>> by Kevin Atkinson
>> http://wordlist.sourceforge.net/
>>
>> For returning phonetic suggestions I am using a variation of  
>> Double Metaphone, based on Lawrence Phillips algorithm.
>>
>> If I ever come up with something solid I'll be sure and notify the  
>> list.   :  )
>> -Scott Morrow
>>
>> Elementary Software
>> (Now with 20% less chalk dust !)
>> web     http://elementarysoftware.com/
>> email   scott at elementarysoftware.com
>>
>> -----------------------------------------------------------------
>>
>> On Feb 20, 2006, at 1:55 PM, Garrett Hylltun wrote:
>>> Greetings,
>>>
>>> Has anyone ever found a way to add spell checking ability into  
>>> resulting rev apps?
>>>
>>> Thanks,
>>> -Garrett
>> _______________________________________________
>> use-revolution mailing list
>> use-revolution at lists.runrev.com
>> Please visit this url to subscribe, unsubscribe and manage your  
>> subscription preferences:
>> http://lists.runrev.com/mailman/listinfo/use-revolution
>
> Thomas J McGrath III
> 3mcgrath at adelphia.net
>
> Lazy River Software™ - http://www.lazyriversoftware.com
>
> Lazy River Metal Art™ - http://www.lazyriversoftware.com/metal.html
>
> Meeting Wear™ - http://www.cafepress.com/meetingwear
>
> Semantic Compaction Systems - http://www.minspeak.com
>
> SCIconics, LLC - http://www.sciconics.com/sciindex.html
>
>
>
>
>
>
>
> _______________________________________________
> use-revolution mailing list
> use-revolution at lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your  
> subscription preferences:
> http://lists.runrev.com/mailman/listinfo/use-revolution

Thomas J McGrath III
3mcgrath at adelphia.net

Lazy River Software™ - http://www.lazyriversoftware.com

Lazy River Metal Art™ - http://www.lazyriversoftware.com/metal.html

Meeting Wear™ - http://www.cafepress.com/meetingwear

Semantic Compaction Systems - http://www.minspeak.com

SCIconics, LLC - http://www.sciconics.com/sciindex.html










More information about the Use-livecode mailing list