![]() Within three and half minutes she’s written a 17-line Perl program - and set its permissions so it can be run in her web browser. Saying “allcaps” before a phrase will enter it in all capital letters, but the most interesting one was probably “pac title.” It displays the words that follow as being separated by two colons - punctuating them the way you would if you were trying to identify a namespace using Perl’s package-identifying syntax.Ībout 20 minutes into the presentation, she played a video where she writes a longer application. Saying “snake” puts underscores between the words (a format often referred to as “snake case”), while “kabob” puts hyphens between them, in the style known as “kabob case.” She’s also coded in voicewords to format her text (for example, with uppercase letters) when the voiceword precedes a phrase. She found a good starter set of words with a children’s board book “Llamaphones” And if there are only two choices, saying “phones” (after highlighting the first word) will just swap in its alternate spelling. So saying “phones byte” and “pick three” will quickly select the third possible spelling of byte from the pop-up window. She’s solved that problem with the voiceword “phones.” When followed by a homophone, it pulls up a menu with all possible choices for that word. These are two words that sound exactly the same, but are different - like “bite” and “byte”. One of the unique problems of working by voice: homophones. So the dollar sign is “dollar,” an at sign is “at sign,” and the pipe symbol is “pipe.” There’s also support for adding your own words - like undef. All the symbols are what you’d think they’d be,” she said. It’s something I didn’t have to spend a whole lot of time solving. Perl code includes a lot of symbols, but “these are pretty easy. ![]() ![]() In a second demo, she quickly blurts out “Pit Each Red Look” - and the word “perl” appears on the screen… Within roughly 10 seconds, she’s typed out the whole phrase “Perl is awesome” - including the correcting of two typos. She showed her audience a slide with one familiar alternative, the NATO phonetic alphabet (Alpha, Bravo, Charlie…) But rather than using that - saying “November” every time she wanted the letter N - Shea simply customized the software to recognize her own set of 26 words to represent letters of the alphabet. All the letters of the alphabet rhyme with other letters, she points out, which could lead to accuracy issues. ![]() But she’s also made it easier to dictate letters. “So I can customize this thing like crazy,” she said.įor example, if there are language-specific commands, she can indicate that they should only be active when working on files with language-specifying file extensions (like. Using Dragon’s dictation API, Talon offers hands-free input for computers (responding to voice commands), “So you can get off your keyboard, but still control your computer.”īut best of all, the whole solution can be configured using Python code in locally-hosted files. Her toolkit includes NaturallySpeaking from Dragon, but also Talon, “the technology that I’m really excited to tell you all about today,” which is supported by Patreon contributors. Shea starts with a good microphone and speech-recognition software. Open Emily Shea – “Perl Out Loud” on YouTube. Her speedy demo drew a round of applause. She was eager to move beyond the traditional combination of a keyboard and a mouse and showed the audience an inspiring demo of how it worked - in which five lines of perfectly written and punctuated code require just 45 seconds of dictation. “Because I was feeling so limited, I started looking into alternative ways that would not involve my hands.” After trying every possible remedy - including physical therapy and specialty keyboards - she still found that whatever hours of typing she could do during the day were still broken up by frequently-needed breaks which she describes as “constantly being interrupted by your body.” And she had a good answer for the question of why she wants to write code by voice, describing herself as “an unfortunate soul who ended up with RSI symptoms,” which impaired her ability to type. Shea is a senior software engineer at Fastly Inc., the San Francisco-based content delivery network, where she works on their platform for delivering code CDN configurations.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |