Thanks Kevin. It sounds *very* cool, and useful, but I have never used a refreshable braille display. Don't know why, as I started out using a hard-copy paper braille terminal; but when I made the switch to speech, I never got around to buying a refreshable braille display (although at times mis-understanding speech has caused me to make various errors).
Good luck with your project. Chip -----Original Message----- From: Kevin Morales [mailto:[email protected]] Sent: Saturday, August 03, 2013 4:17 PM To: [email protected] Subject: Re: tables; was RE: Question about string parsing. Dear Chip, When I said "tables", I was referring to writing Braille tablesthat define the rules for telling translation software how to translate Braille passages, equations ETC. Normally, you have to write these tables in a language that only translation software can understand. I, however, am developing a way to only define contractions in a regular text file, and the API would take care of the rest. If you are interested and want to know more about my projects, feel free to contact me. Regards, Kevin On 8/2/13, Chip Orange <[email protected]> wrote: > Hi Kevin, > > What do you mean by "writing tables"? Are you talking about databases, or > tables which are part of a html document, or something else? > > If you meant tables (the other language in your message could be sql you > are > referring to), you also have the choice of using ADO, which doesn't require > anything other than object oriented programming. > > I have some examples of use of ADO, Jamal has some in the Homer library, > and > there are plenty on the internet. > > Hth, > > Chip > > > -----Original Message----- > From: Kevin Morales [mailto:[email protected]] > Sent: Thursday, August 01, 2013 7:18 PM > To: [email protected] > Subject: Re: Question about string parsing. > > You know, I have seen Liblouis, but there is one problem: .NET > developers happen to have little to work with for accessibility, and I > wanted to contribute something to the platform. I have actually > invented a new way to write tables, so anyone can do so without > learning anotherlanguage. > > On 8/1/13, Sean Farrow <[email protected]> wrote: >> Hi Kevin, >> >> Have you thought about using something like LibLouis to do your > translation >> and calling the dll from c#? >> Or even calling the dll from vbscript if the parameters to the >> function(s) >> allow. >> Cheers >> Sean. >> >> >> -----Original Message----- >> From: Kevin Morales [mailto:[email protected]] >> Sent: 01 August 2013 21:54 >> To: [email protected] >> Subject: Question about string parsing. >> >> Dear GW Scripters, >> >> I am working on a component that requires Braille translation. >> I am trying to write an algorythm in C# that will add capital signs >> appropriately. >> I would like the acronym VIP to be translated as ,,VIP, or the word >> myID to my,,ID. >> Can anybody assist me as to how to do this? >> I will supply my code so far: >> >> >> private static void applyCapitalizationRules(StringBuilder text) >> { // Begin applyCapitalizationRules >> >> int capitalsCounter = 0; >> // Note: Regex.Split(text.ToString(), @"\W+") >> // This line means that We'll get an array with just the words in the >> supplied parameter of the method. >> foreach ( string word in Regex.Split(text.ToString(), @"\W+") > ) >> { // Begin foreach >> if ( word == word.ToUpper() ) >> { // Begin if >> text.Capacity += 2; >> text.Replace(word, string.Format(","+word); >> } // End if >> else >> { // Begin else >> for (int i = 0; i <= word.Length; i++) >> { // Begin for >> // Not sure of what to do next. :-) >> } // End for >> } // End else >> } // En foreach >> } // End applyCapitalizationRules >> Thanks a lot in advance, >> Kevin >> >> > >
