Git Product home page Git Product logo

mooerslab / new-writing-project-voice-in Goto Github PK

View Code? Open in Web Editor NEW
1.0 1.0 0.0 20 KB

Generate Voice In commands for a new writing project

Home Page: https://github.com/MooersLab/new-writing-project-voice-in

License: MIT License

Python 100.00%
automated-speech-recognition latex speech-to-text voice-commands voice-computing latex-voice-commands open-webpages-by-voice-command text-replacements voice-in-plus time-management writing-project-management

new-writing-project-voice-in's Introduction

Version License: MIT

new-writing-project-voice-in: Generate Voice In commands for a new writing project

Problem addressed

We assigned a project number to every writing project. This number is stored in a sqlite database (could use a spreadsheet) along with the project's directory name. This number begins the name of the project's folder in the home directory. By entering the project number and hitting tab we can tab complete the project folder name and move to it. We use both the project number and the project directory name in various LaTeX macros that are mapped to voice commands for use with the Voice In Plus plug-in for Google Chrome.

The script above, newproj.py, generates these voice commands for a new project and writes them to a CSV file. The contents of the CSV file can be copied and pasted in the window for the bulk add menu item In the Voice In Plus GUI.

The above script also prints to the terminal a protocol for setting up a new writing project as itemized list in LaTeX. This serves as a reminder of the steps involved in setting up a new writing project. The writing project resides in Overleaf where it has its own web page. We map the URL for this web page to the Voice In command overleaf <ProjID> so that we can open the projects web page in Overleaf by using the voice command. We likewise track the number of words written per day for a project and the time spent on the project in a Project Specific sheet inside of a Google Sheets workbook. Each such project sheet has its own URL. We map the voice command sheet <ProjID> to this URL so that we can quickly pop open the corresponding project sheet for the entry of the day's writing progress on that particular project.

The above script is set up for LaTeX markup, but it could be easily converted for use with other markup languages such as Markdown, reStructuredText, org-mode, and HTML. We intend to make such variants of the script when time permits.

Example usage

chmod +x ./newproj.py
./newproj.py 0101 0101hotPaper

new-writing-project-voice-in's People

Contributors

mooerslab avatar

Stargazers

 avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.