Commit Graph

143 Commits (c021bcbbb0c1e2a8bfcf7e22e7644cc2e78a1551)

Author SHA1 Message Date
isaacnward c021bcbbb0 Features/mouth stocks (#261)
* added mouth stock display

* changed sleep length

* pep8
2016-07-07 13:25:19 -05:00
Matthew D. Scholefield 9405dce4d9 Decreased "wake up" false positives - Fixes #189 (#252)
* Increased kws threshold for the wakeup_recognizer

* Fixed pep8 in listener

* Fixed unit tests
2016-06-30 14:22:53 -05:00
Matthew D. Scholefield 08ad57cee8 Decreased false positives (Fixes #200) (#202)
* Changed keyword to 'hey mycroft' and increased threshold
The threshold increase is necessary since the keyphrase is now more syllables

* Fixed pocketsphinxnot loading and pep8
Previously I tried using a new word called 'hey-mycroft' (with the appropriate phoenetic version in the .dict) however it worked just as well as how it is now as separate words

* Increased threshold further
2016-06-29 15:24:30 -04:00
Åke 3969a5624b Make skill directory a positional argument (#248)
this eliminates the need of always supplying --dir before the argument
that will basically always be needed.
2016-06-29 10:12:35 -05:00
Ethan Ward 90905d526c Issues 108 - Change regex to be localized (#222)
* Issues 108 - Add load_regex_files

* Issues 108 - Update weather skill with new regex syntax

* Issues 108 - Update stock skill with new regex syntax

* Issues 108 - Add stock regex file

* Issues 108 - Update time skill to use new regex syntax

* Issues 108 - Update desktop skill to use new regex syntax

* Issues 108 - Update volume skill to use new regex syntax

* Issues 108 - Update wikipedia skill to use new regex syntax

* Issues 108 - Update spelling skill to use new regex syntax

* Issues 108 - Update sms skill to use new regex syntax

* Issues 108 - Update calling skill to use new regex syntax

* Issues 108 - Remove unused argument

* Issues 108 - Add unit tests

* Issues 108 - Minor changes to fix tests

* Issues 108 - Preserve intended test logic

* Issues 108 - Address feedback

* Issues 108 - Update test formatting

* Issues 108 - Change file location
2016-06-28 16:20:48 -04:00
Matthew D. Scholefield eed03f3036 Added new compiled regex for "what's" in wolfram - Fixes #159 (#235)
* Added new compiled regex for what's
This is for verbs that don't have a space between the question word and verb

* Added support for 'whats' in wolfram

* Added tests for the EnglishQuestionParser
2016-06-28 15:13:30 -05:00
Matthew D. Scholefield d3c49b288c Removed the 'I am searching for' message from Wolfram (Fixes #193) (#206)
* Removed the 'I am searching for' message

* The interpreted question is now read instead of 'Sorry, I did not understand your request'

* Added rephrased question to the other areas where wolfram fails

* Fixed wolfram fail_response error thanks to ethanaward

* Added thinking animation
2016-06-28 15:11:45 -05:00
Arron Atchison 2e847418ac Revert version
Our enclosure builder now refuses to build any release tab beyond 0.1.3  :/
2016-06-27 17:06:51 -05:00
Arron Atchison d994593d47 Bump to current enclosure release 2016-06-27 16:47:01 -05:00
Ethan Ward 0a89a9016c WA skill will now search again if there is one `didyoumean` in the results (#236)
* Issues 192 - WA skill will now search again with top alternative

* Issues 192 - Add tests for new method

* Issues 192 - Fix pep8

* Issues 192 - Update test syntax

* Issues 192 - Change WA skill to use dialog

* Issues 192 - Address feedback
2016-06-27 17:30:45 -04:00
Ethan Ward 2a5e61bf34 Update scheduled skill formatting (Fixed #158) (#231)
* Issues 158 - Update ScheduledSkill time formatting

* Issues 158 - Add unit tests for new method changes

* Issues 158 - Change to not use date-based implementation to fix tests

* Issues 158 - Address feedback
2016-06-24 18:20:31 -04:00
Joshua McDonald 7026e334c2 Issue-212 added check_origin: true to messagebus server to allow browser connections to Mycroft (#215) 2016-06-24 15:25:59 -05:00
Arron Atchison a9c00d69c3 Merge pull request #230 from Wolfgange3311999/feature/issues-224
Added timeout override to listener - fixes #224
2016-06-23 17:27:29 -05:00
Matthew Scholefield d2dc5443ee Fixed pep8 for mic.py 2016-06-23 17:14:49 -05:00
Arron Atchison 8fa6d0a2d9 Merge pull request #228 from jasonehines/speak-skill
Speak skill
2016-06-23 16:13:10 -05:00
Matthew Scholefield 54cf720f8b Added timeout override to listener and fixed bug with it
previously the listner's behavior would be influenced by the buffer size. Now, however, it is not since the noise is increased by a factor of the seconds per buffer.
2016-06-23 16:03:47 -05:00
Jonathan D'Orleans 81be192801 Issues 209 - Keep user configuration by default (#211) 2016-06-23 16:42:46 -04:00
Jason Hines 6b54ff9daf added words to intent. Added second test sample 2016-06-23 14:11:52 -04:00
Jason Hines ce514c9361 Merge remote-tracking branch 'upstream/master' into speak-skill 2016-06-23 13:43:56 -04:00
Arron Atchison 88c74cc541 Enclosure version bump for update tests
0.1.3 -> 0.1.4
2016-06-23 12:36:55 -05:00
Jason Hines a18ee10996 Initial commit of speak_skill 2016-06-23 13:33:56 -04:00
Matthew D. Scholefield 874f521194 Merge pull request #207 from Wolfgange3311999/listener-fixes
Added back session manager behavior from old listener
2016-06-23 09:15:31 -05:00
isaacnward 6b38b7dfd6 Merge pull request #184 from ethanaward/feature/issues-86
Issues 86 - Add basic personal skill
2016-06-22 15:05:59 -05:00
isaacnward 083bda8e03 Issues/122 (#220)
* added mouth spelling

* spell word after talking

* removed speech to test

* test

* re-added speech

* used emitter

* mycroft/skills/spelling/__init__.py

* emitters 102: intermediate emitters

* emitters 103: importing the right method

* trying enclosure methods

* more fixing

* sorry slack

* added brief pause

* added api listener method

* fixed syntax

* further edited syntax

* slightly changed syntax

* added brief pause before listener reactivation

* changed ordering

* testing method

* further tests

* test test test

* logger

* further logger

* altered logic

* i really need to fork

* more debug

* changed boolean logic

* more debug

* fixed it??

* added brief pause again

* final commit

* test

* test

* fixed it

* sleep

* more testing

* stuff

* added constants:

* pep8
2016-06-22 14:36:56 -05:00
Ethan Ward 9cefb4ee5f Issues 187 - Make Wolfram default to pod 2 (#188)
* Issues 187 - Make Wolfram default to pod 2

* Issues 187 - Add tests

* Issues 187 - Add decimal truncating back

* Issues 187 - Rename method

* Issues 187 - Minor bugfix
2016-06-21 16:16:28 -04:00
Ethan Ward 2a2d3044c7 Issues 86 - Fix wording 2016-06-21 14:44:27 -05:00
Ethan Ward ac7fb50de9 Issues 86 - Add additional dialog and vocab 2016-06-21 14:44:27 -05:00
Ethan Ward a39bfce789 Issues 86 - Add personal tests 2016-06-21 14:44:27 -05:00
Ethan Ward 342e8b2e37 Issues 86 - Add personal vocab 2016-06-21 14:44:27 -05:00
Ethan Ward b19f2022c9 Issues 86 - Add personal vocab 2016-06-21 14:44:27 -05:00
Ethan Ward 6dcf5a6f0b Issues 86 - Add personal skill 2016-06-21 14:44:27 -05:00
Matthew Scholefield 7bcdea6604 Added back wakeword handler 2016-06-21 12:26:27 -05:00
Matthew Scholefield e759c8ab33 Added back some SessionManager lines to replicate old behavior more precisely
I'm not quiet sure where the session_id was ever used when emitted in the payload however just to be safe I kept it in there. This is to be sure there are no differences between the old and new listener that could be causing Cerberus problems.
2016-06-21 12:15:58 -05:00
Matthew Scholefield d9905a2d07 Removed unnecessary variable in ResponsiveRecognizer
This was left over from when I was testing with making the class be asynchronous
2016-06-21 11:54:41 -05:00
Ryan Sipes cc07330eaa Merge pull request #197 from ethanaward/feature/issues-180
Issues 180 - Add stock skill
2016-06-20 17:14:26 -05:00
Ethan Ward decd04f626 Issues 198 - fix pairing skill 2016-06-20 16:52:05 -05:00
Ethan Ward a069b6ec1e Issues 180 - Add stock skill 2016-06-20 16:25:42 -05:00
the7erm 11726d7d67 #131 added if for situations where the host is empty (#132)
* #131 added if for situations where the host is empty

* #132 modified mycroft.ini file and added exception.

* #132 modified mycroft.ini file and added exception.

* #132 removed comment

* #131 changed to ValueError, and added checks for ssl, port, host and path

* #131 changed to ValueError, and added checks for ssl, port, host and path

* #131 reverted utils - went another route

* #131 added empty string for ssl detection

* #131 created validate_param

* #131 pep8

* #131 oops missed route
2016-06-20 15:44:42 -04:00
Ethan Ward 77c35eb326 Issues 145 - Add localized naptime dialog (#183)
* Issues 145 - Add dialog file

* Issues 145 - Make naptime skill use dialog files
2016-06-20 14:48:06 -04:00
Eugene R. Miller 4f6b2abb9e #161 removed print that wasn't needed 2016-06-18 13:02:25 -06:00
Eugene R. Miller fbdf3b6e79 #161 refactored user dir 2016-06-18 13:02:25 -06:00
Ryan Sipes 159ece558d Revert "Revert "Listener improvements (Fixes #128)"" 2016-06-18 14:00:07 -05:00
Ryan Sipes 32ce7a492f Revert "Listener improvements (Fixes #128)" 2016-06-18 13:21:21 -05:00
Ryan Sipes 0394bfa01e Merge pull request #172 from Wolfgange3311999/feature/issues-128
Listener improvements (Fixes #128)
2016-06-18 12:19:18 -05:00
Wolfgange3311999 379e5361c5 Fixedbug causing remote STT to fail
It turns out that without giving the keyword 'metrics=' in the metrics argument, something strange would happen causing all remote STT to fail
2016-06-18 10:43:57 -05:00
Matthew D. Scholefield 5df1e5e59b Removed extra import from previous commit 2016-06-17 22:13:26 -05:00
Wolfgange3311999 99d125640a Added a timeout of 30 seconds for recording a phrase 2016-06-17 21:05:28 -05:00
Wolfgange3311999 153cd62abd Changed to using += operator
Previously I thought bytearrays were immutable for some reason (which is not the case)
2016-06-17 20:55:01 -05:00
Jonathan D'Orleans e010499302 Audio Record Skill - Remove unexpected arg during stop() call 2016-06-17 19:06:06 -04:00
Matthew Scholefield 596ea04078 Fixed try_wake_up method 2016-06-17 17:41:01 -05:00