Skip to content

Commit f87fcce

Browse files
committed
Final bits of documentation
1 parent b01bee3 commit f87fcce

File tree

2 files changed

+46
-75
lines changed

2 files changed

+46
-75
lines changed

README.md

Lines changed: 22 additions & 70 deletions
Original file line numberDiff line numberDiff line change
@@ -26,15 +26,12 @@ when coding python 3 by voice.
2626
- [Documentation](#documentation)
2727
- [Motivation](#motivation)
2828
- [Release and Version](#release-and-version)
29-
- [Update 0.0.5](#update-005)
3029
- [Limitations](#limitations)
3130
- [Installation](#installation)
3231
- [Package Control](#package-control)
3332
- [note for those who installed between 0.0.4 and 0.0.5](#note-for-those-who-installed-between-004-and-005)
3433
- [Git Install](#git-install)
3534
- [Support for voice coding framework](#support-for-voice-coding-framework)
36-
- [Short version:](#short-version)
37-
- [Long version:](#long-version)
3835
- [License](#license)
3936
- [Dependencies](#dependencies)
4037
- [Acknowledgements](#acknowledgements)
@@ -102,7 +99,7 @@ I want to be honest. This is not exactly the best code ever written. It is far f
10299
* is partly customizable. If you find yourself using certain commands with some given parameters often and want a shorthand smaller command, you can always follow my commented banana example:)
103100

104101

105-
![](docgif/op37.gif)
102+
![](doc/gif/op37.gif)
106103

107104
As I said, far (really far) from perfect but nonetheless an out-of-the-box solution which I hope to be helpful ,especially for beginners to get up to speed , and a step towards the right direction. I hope you enjoy using it as much as I have enjoyed coding it:)
108105

@@ -111,15 +108,9 @@ Needless to say, while coding PythonVoiceCodingPlugin , PythonVoiceCodingPlugin
111108
## Release and Version
112109

113110
The code is available on [github](https://github.com/mpourmpoulis/PythonVoiceCodingPlugin)
114-
along with its initial release (0.0.0)!
115111

116-
### Update 0.0.5
112+
The latest release is 0.1.0!
117113

118-
Release 0.0.5 he's out fixing problems of 0.0.4 regarding the installation via package control and adds a useful utilities under Preferences > Package Settings > PythonVoiceCodingPlugin
119-
120-
Update: release 0.0.2 is out and with many thanks to @LexiconCode there are now bundles for Caster 0.6.11!
121-
Update: Due an important error I missed, you might be faced with a situation where the pluggin cannot load and thus no commands are executed. in such a case please upgrade to release 0.0.3 which fixes it. I am sorry for any disconvenience caused!
122-
Update: release 0.0.4 is out shipping with aenea support.
123114

124115
## Limitations
125116

@@ -142,7 +133,7 @@ There are currently two installation methods for performing the first task
142133

143134
### Package Control
144135

145-
Release 0.0.5 fixes the errors that prevented 0.0.4 from installing directly from package control. You can now install the package simply by
136+
Release 0.0.5 fixed the errors that prevented 0.0.4 from installing directly from package control. You can now install the package simply by
146137

147138
- open Command Palette
148139

@@ -223,11 +214,11 @@ python3 -m pip install --target third_party -r requirements.txt
223214

224215
## Support for voice coding framework
225216

226-
### Short version:
217+
227218

228219
they are available grammars for Caster 0.5.11,0.6.11 as well as >=1.0.0 with many thanks to [LexiconCode](https://github.com/LexiconCode)!
229220

230-
It is my highest recommendation if you are using older versions of Caster that you upgrade to the latest master. Sooner or later the plug-in is going to drop support for those older versions and either way the newer version has a lot of improvements!
221+
It is my highest recommendation if you are using older versions of Caster that you upgrade to the latest one. Sooner or later the plug-in is going to drop support for those older versions and either way the newer version has a lot of improvements!
231222

232223
Regarding operating system support, the plug-in has been tested both on Windows 10 and on Ubuntu 16.04 as release 0.0.4 introduced support for [aenea](https://github.com/mpourmpoulis/PythonVoiceCodingPlugin/blob/master/bundles/Aenea/README.md)!
233224

@@ -236,61 +227,6 @@ Regarding operating system support, the plug-in has been tested both on Windows
236227

237228

238229

239-
240-
241-
### Long version:
242-
243-
Ok this can get a little bit complicated because there is a variety of operating systems, speech recognition backends, macro systems and toolkits built upon them which may or may not introduce complications. To give you an example lets see a few cases of how Caster with Dragon Naturally Speaking can be used:
244-
245-
- everything native in Windows
246-
247-
- in combination with aenea on linux host with windows guest where dragon is running and keystrokes are send to the host via rpc commands
248-
249-
- linux guest receiving keystrokes from pure dragonfly windows host
250-
251-
- oh and what about that linux guest receiving aenea rpc from windows host?:)
252-
253-
254-
255-
To understand why all this may become an issue, we need to take a look at how communication between dragonfly and the plugin works.
256-
257-
258-
Probably by far the most convenient way is via sublime comand line interface. This is the default method used. For example after a command of the form
259-
260-
```python
261-
"[smart] [<adjective>] argument <argument_index>"
262-
```
263-
like
264-
265-
```
266-
"first argument 2"
267-
```
268-
269-
The script invokes the subl cli tool with a command like that:
270-
271-
``` bash
272-
subl --command python_voice_coding_plugin { "arg" : {
273-
"command":"argument",
274-
"format":1,
275-
"adjective":"first",
276-
"argument_index":2,
277-
}
278-
}
279-
```
280-
So effectively we trigger the command our plugin provides in its top file and pass information about the type of query we want and the parameters we used as a dict encoded as a json string.
281-
282-
Of course this does not work across virtual machine barriers:)
283-
284-
To counter this issue the simplest idea, which involves only keystrokes, is to open with some key command sublime console and using a text command to invoke the PythonVoiceCodingPlugin command from the command line. But
285-
from my experience this is often way to slow if there are a lot of parameters to pass and messes up with user-interface, as it opens up the console.
286-
287-
So this is not implemented, even though it does not need custom rpc.
288-
289-
290-
For the time being I have bundles for 0.5.11 release of Caster that work as expected on Windows 10 64bit.
291-
292-
293-
294230
## License
295231

296232
All code (grammar bundles and plugin) is licensed under 2-clause BSD License.
@@ -335,6 +271,8 @@ Many thanks to the contributors and maintainers of the following pypi packages:
335271

336272
For specific versions be sure to check the requirements.txt
337273

274+
For their licensees check out the dedicated [file](https://github.com/mpourmpoulis/PythonVoiceCodingPlugin/blob/master/DEPENDENCES_LICENSE.md)
275+
338276
## Acknowledgements
339277

340278
### Useful Learning Resources
@@ -362,9 +300,23 @@ Many thanks to all of the developers that have put their time and effort behind
362300

363301
* Natlink
364302

365-
* Dragonfly and Dragonfly2
303+
* Dragonfly and [Dragonfly2](https://github.com/dictation-toolbox/dragonfly)
366304

367305
* Caster
368306

369307

308+
also some of the other tools I found useful developing this project
309+
310+
* TabNine
311+
312+
* Quoda
313+
314+
* Automatic Package Reloader
315+
316+
* MarkdownTOC
317+
318+
* ScreenToGif
319+
320+
* Jedi
321+
370322

messages/install.txt

Lines changed: 24 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,31 @@
1-
PythonVoiceCodingPlugin
1+
Thanks For downloading or upgrading to the latest 0.1.0 version of PythonVoiceCodingPlugin! Release 0.1.0 introduces a variety of new features. Just to name a few
22

3-
Release 0.0.5 he's out fixing problems of 0.0.4 regarding the installation via package control and adds a useful utilities under Preferences > Package Settings > PythonVoiceCodingPlugin iincluding links to online documentation issues, grammar bundles and so on.
3+
1) you can now execute paste/delete/swap operations in a single step instead of 2
4+
2) partial support for multiple cursors and multiple results
5+
3) drastic improvements in sub indexing and new dedicated commands!
6+
4) richer argument and big ROI queries
47

5-
Code wise it is identical in its core with 0.0.4, which makes it almost 2 months old. However
6-
I am currently wrapping up the development of 0.1.0. Also you should know that Caster 1.x.x is also supported but you must enable it by saying
8+
and much more, including some experimental features you can manually enable! You can find more information in my documentation, links to the online version of which you can find along with other useful utilities under
79

10+
Preferences > Package Settings > PythonVoiceCodingPlugin
11+
12+
It supports all version of Caster 0.5, 0.6, 1.x but please upgrade as support for older versions will sooner or later be dropped! as a note if you're using any version above 1.0.0 except for copy pasting the grammar in the appropriate folder you must also enable it by saying
813

914
enable python voice coding plugin
1015

16+
if you have any problem or questions regarding installation , whether of the plug-in itself or the grammar necessary to use it please let me know at my issues!
17+
18+
NOTE FOR MAC Installers
19+
20+
Honestly you called me a little bit unprepared,i didn't expect anyone to download on Mac:P
21+
22+
Firstly the core plug-in has not been tested on Mac, though it is pure Python so probably should work?
23+
24+
Secondly currently the grammar is written to be used with Caster which does not support Mac. Nonetheless you could adapt it to standalone dragonfly or what ever suits your system.
25+
26+
27+
If you are using Talon , an alternative you might want to check out is
28+
29+
https://github.com/dwiel/talon_community/blob/master/apps/jetbrains_psi.py
1130

12-
if you have any problem or questions regarding installation , whether of the plug-in itself or the grammar necessary to use it please let me know at my issues!
31+
though I have not tested it.

0 commit comments

Comments
 (0)