Commit Graph

888 Commits (3fea4b1e6fa2d3bfd6f620fcd3e188feb4903780)

Author SHA1 Message Date
penrods eafcc1abfb Several extensions to text normalization:
* intent_failure message now carries along the utterance's lang code
* normalizing query for Wolfram Alpha
* added normalization of "whats" to "what is".  This is technically incorrect ("whats" means more than one instance of "what", as in "the whats and whys of open source"), but that is a rare phrase.  Unfortunately, several STT engines incorrectly output things like "whats 8 + 4", which is grammatically incorrect.  So we'll handle the common and potentially screw up the uncommon.
* more parsing test cases, including a few corrections
2017-03-14 13:43:45 -05:00
Steve Penrod 883848fa11 Fixed typo (parser instead of parse)
Fixed typo (parser instead of parse)
2017-03-14 13:43:45 -05:00
penrods cfa79e03a2 Fixes issue #539
The utterance is now placed on the bus along with its language code.  If not specified, it uses "en-us".

Added a new mycroft.util.parse module.  It contains the normalize() function.  Normalization currently does two things:
  * Expands contractions ("they're" -> "they are", etc)
  * Optionally removes articles ("a", "an", "the").  Removing is the default.
  * Textual numbers become digits, up to 20.  E.g. "What is the weather in four days" becomes "What is weather in 4 days".

NOTE:  This is potentially a breaking change!  Remove "the", "a" and "an" from your .voc files!

Skill changes:
  * I cleaned up the .voc files for the default Skills.
  * Split the date_time keyword into an extra entity.  Now a "QueryKeyword.voc" exists, with "what|tell" instead of combing that into "what is time" in the TimeKeyword.voc.
  * Volume skill now accepts 1-11, e.g. "turn volume to 11"
2017-03-14 13:43:45 -05:00
Augusto Monteiro 621faef118 Merge pull request #550 from JarbasAI/patch-3
load intent skill first #552
2017-03-14 11:43:39 -05:00
JarbasAI 12c299789a autopep8 missed line 85 2017-03-14 11:33:15 -05:00
JarbasAI 870e827b5d autopep 8 2017-03-14 11:12:34 -05:00
Åke Forslund f0eb55effb Add functionality to remove and restore intents. 2017-03-13 18:15:12 +01:00
JarbasAI 9d55a6ab2d Update main.py 2017-03-12 16:44:46 -05:00
JarbasAI 07864cb6c9 list of pripritary skills
generalized for more skills
2017-03-12 16:42:42 -05:00
JarbasAI 5714bc608f pep 8 2017-03-11 16:03:41 -06:00
JarbasAI 00cfbd7f1b load intent skill first
intents for skills loaded before intent skill were not executing because register_intent messages were missed
2017-03-11 15:50:30 -06:00
JarbasAI b0bca504ee added blacklist check to load_skill
skill blacklisting was checked in load_skills which is no longer used in favor of watch_skills calling load_skill directly
2017-03-11 13:46:18 -06:00
JarbasAI b13070f276 added reload_skill flag 2017-03-09 01:56:23 -06:00
JarbasAI 7258dc6214 do not reload intent
or register_intent messages are missed and wolphram alpha always executes
2017-03-09 01:56:23 -06:00
JarbasAI 964fdb838e added do not reload flag 2017-03-09 01:56:23 -06:00
Augusto Monteiro 9fa77c4452 #521 - Ensuring that skill only try to load once 2017-02-23 23:03:12 -08:00
Augusto Monteiro 67e3c5f4a5 #521 - Using while instead of recursive function 2017-02-23 23:03:12 -08:00
Augusto Monteiro da01755fe6 #521 - Fixing pep8 2017-02-23 23:03:12 -08:00
Augusto Monteiro d50f2990f1 #521 - Refactoring watch_skill method 2017-02-23 23:03:12 -08:00
Augusto Monteiro 0044e154df #521 - removing comment 2017-02-23 23:03:12 -08:00
Augusto Monteiro 1b0afe92de #521 - Skill auto reload 2017-02-23 23:03:12 -08:00
Arron Atchison 8599146dc4 fix pep8 in skills folder 2017-02-15 15:37:52 -06:00
Karl Fezer d3fef6be61 modified: mycroft/skills/pairing/__init__.py 2017-02-15 15:37:52 -06:00
kfezer 58d3b214ae Update __init__.py 2017-02-15 15:37:52 -06:00
Karl Fezer 3c5afbe63d new file: mycroft/skills/pairing/__init__.py 2017-02-15 15:37:52 -06:00
Karl Fezer 2da508498d deleted: mycroft/skills/pairing/__init__.py 2017-02-15 15:37:52 -06:00
kfezer fb2f8e11ef Update __init__.py 2017-02-15 15:37:52 -06:00
kfezer 7cc59f7522 Update __init__.py 2017-02-15 15:37:52 -06:00
kfezer 7304be098f Update __init__.py 2017-02-15 15:37:52 -06:00
kfezer 5c03efc6e6 Update __init__.py 2017-02-15 15:37:52 -06:00
kfezer f1da181c9f Update __init__.py 2017-02-15 15:37:52 -06:00
Karl Fezer d4e169c4a3 modified: mycroft/skills/core.py
Added more verbose logging to the core.py file which adds skills on boot-up.

Issue #511
2017-02-15 15:37:52 -06:00
kfezer 627e912e7b Update __init__.py 2017-02-15 15:37:52 -06:00
Åke Forslund 071de2bcd6 Remove load_data_files(...) from all skills where applicable 2017-02-15 15:37:52 -06:00
Steve Penrod 3af412988b Changed word-choice for Mimic pronunciations
Changed word-choice for Mimic pronunciations
2017-02-15 15:37:52 -06:00
kfezer ceaf289b77 Update __init__.py 2017-02-15 15:37:52 -06:00
Åke Forslund 4788664418 Load data files from skill directory when loading skill. 2017-02-15 15:37:52 -06:00
Åke Forslund 23fe0fff2b Load skill data nicely without throwing exceptions
Check if dialog and vocab dirs exist before trying to load files. Log an error if it fails.
2017-02-15 15:37:52 -06:00
penrods acfdff416b More Location integration for #487
For the Weather Skill:
* When talking about the current city, the city name is generally not spoken (more natural)
* A "pretty" name of just the city is used instead of the complete name
* Works around the recurring issue with OWM where they report bad min/max temps (same as the current temp)
* Changed "Location is not valid" to "I don't know that location" (people don't say "not valid")

For the Time Skill:
* The timezone is extracted from the device location setting
* Time responses are more varied and shorter

This change adds MycroftSkill.location_pretty and MycroftSkill.location_timezone properties.
2017-02-03 10:49:54 -06:00
Augusto Monteiro c07cdaef6f #487 - Integrate Location with mycroft-core
- Adding more phrases on location not found dialog
- Creating get_location method
- Fixing identation
2017-02-01 23:40:13 -03:00
Augusto Monteiro 3e092554e3 #487 - Checking if location exists if doesn't say location not found dialog 2017-02-01 23:40:13 -03:00
Augusto Monteiro d1068ab3ac #487 - Adding default values for location on weather skill 2017-02-01 23:40:13 -03:00
Augusto Monteiro bed6175b7d #487 - Saving all location object in the configuration instead of only the name 2017-02-01 23:40:13 -03:00
Augusto Monteiro 540cd893c2 #487 - Integrating location microservice with mycroft core 2017-02-01 23:40:13 -03:00
Augusto Monteiro 9c8f8992c4 #479 - Ensuring PairingSkill stop when skill process is terminated
- Implementing shutdown method to cancel activator thread
- Setting daemon to activator
- Creating activator in an isolated method to avoid duplication
2017-02-01 23:40:13 -03:00
Augusto Monteiro 8db3ac2b82 #479 - Refactoring SkillContainer
- Shuting down skill on stop process
2017-02-01 23:40:13 -03:00
Augusto Monteiro c7bfaa5760 #479 - Using ws instead of client on load third party skills 2017-02-01 23:40:13 -03:00
Augusto Monteiro 672b208b86 #479 - Fixing reminder stop
- Setting daemon on timer to True to make timer thread cancelable
- Refactoring shutdown to use super instead of static super
- Removing cleanup
2017-02-01 23:40:13 -03:00
Augusto Monteiro 6b324c6df2 #479 - Refactoring terminate process to use shutdown instead of cleanup 2017-02-01 23:40:13 -03:00
Augusto Monteiro 8815327dc0 #479 - Cleaning up all skills on stop process
- On stop mycroft-core executing cleanup of all skills
2017-02-01 23:40:13 -03:00
Åke 9d9ab7b826 Test allow test to finsh immediately (#453)
Add cleanup procedure to skills:
MycroftSkill cleanup does nothing, ScheduledSkill will cancel running timers to make sure it's not blocking termination.

Tests updated to use this allowing unit test to exit after completion.
2017-01-20 15:50:00 -06:00
Augusto Monteiro 29fc90cce1 Issues 401 - Adding log on pairing skill 2017-01-18 16:41:48 -03:00
Augusto Monteiro 63326a93c5 Issues 401 - Saying zero instead of oh 2017-01-18 16:41:48 -03:00
Ethan Ward 451f0f5195 Update for pep8 2017-01-18 16:41:48 -03:00
Ethan Ward 93893f3473 Update skills system to load from subfolders 2017-01-18 16:41:48 -03:00
Ethan Ward c4bc2ea161 Update to fix pep8 errors (#420) 2017-01-18 16:41:48 -03:00
Jonathan D'Orleans 99ff4e3ce8 Issues 351 - Tartarus Integration
- Master rebase
- Renaming Websocket variable from client to ws
- Resetting enclosure when ws open
- Formatting pairing skill
2016-12-17 14:53:22 -05:00
Augusto Monteiro eff50a5135 Issues 395 - Refactoring configurationSkill and adding log on mycroftSkill 2016-12-17 10:27:01 -05:00
Augusto Monteiro 9f6ecda338 Issues 395 - Creating not.paired event 2016-12-17 10:27:01 -05:00
Augusto Monteiro 657123577d Issues 395 - Creating configuration skill to sync tartarus 2016-12-17 10:27:01 -05:00
Arron Atchison 02de42f1f5 added "home dot mycroft dot ai" to both pairing dialogs 2016-12-17 10:27:01 -05:00
Arron Atchison 6d871f3a1b Changing pairing dialog to speak " home dot mycroft dot ai " 2016-12-17 10:27:01 -05:00
Jonathan D'Orleans d80e83d575 Issues 350 - Formatting date and time 2016-12-17 10:27:01 -05:00
Jonathan D'Orleans 416191e598 Issues 350 - Synchronizing local and remote configuration 2016-12-17 10:27:01 -05:00
Jonathan D'Orleans a5d8b6112b Issues 350 - Ensuring repairing process 2016-12-17 10:27:01 -05:00
Jonathan D'Orleans d444bdbe4c Issues 356 - Emitting paired event 2016-12-17 10:16:29 -05:00
Jonathan D'Orleans 58ba7f2558 Issues 356 - Tartarus integration
- Adding proxy flag to be used in WA and OWM skill
- Integrating Tartarus login session
- Refactoring OWM to use Tartarus api and removing owm repackaging
- Fixing WA data response
2016-12-17 10:16:29 -05:00
Jonathan D'Orleans f43d38dae7 Issues 356 - Adding get_data for Api response so it can overrided 2016-12-17 10:16:29 -05:00
Jonathan D'Orleans cd99159f9a Issues 356 - Implementing OWM api 2016-12-17 10:16:29 -05:00
Jonathan D'Orleans 82b9433891 Issues 356 - Moving WA api to WA skill 2016-12-17 10:16:29 -05:00
Jonathan D'Orleans 0b14030344 Issues 356 - Updating WA skill to use the new api 2016-12-17 10:16:29 -05:00
Jonathan D'Orleans 2438f66ef0 Issues 356 - Updating mouth events call 2016-12-17 10:16:29 -05:00
Jonathan D'Orleans 9e632a3c8a Issues 356 - Stopping processes during audio playback 2016-12-17 10:16:29 -05:00
Jonathan D'Orleans 4c1ba4e337 Issues 356 - Rebasing with master 2016-12-17 10:16:29 -05:00
Jonathan D'Orleans b1a4a9c22b Issues 351 - Making Identity static and unique 2016-12-17 10:15:24 -05:00
Jonathan D'Orleans 5fd8342868 Issues 356 - Removing unnecessary identity from pairing skill 2016-12-17 10:15:24 -05:00
Jonathan D'Orleans ccceb62b7a Issues 351 - Renaming metadata to data and simplifying data usage 2016-12-17 10:15:24 -05:00
Jonathan D'Orleans 348cc3fac0 Issues 351 - Renaming message_type to type 2016-12-17 10:15:24 -05:00
Jonathan D'Orleans db9c12c122 Issues 351 - Merging service and client web socket configuration 2016-12-17 10:14:42 -05:00
Jonathan D'Orleans 74abe9267d Issues 351 - Activating device 2016-12-17 10:14:42 -05:00
Jonathan D'Orleans 14050d70e8 Issues 354 - Implementing activation process 2016-12-17 10:14:42 -05:00
Jonathan D'Orleans 3304474a22 Issues 354 - Pairing device with remote server
- Getting pairing code from server
- Treating Api response after request
- Simplifying enclosure mouth events control, upgrade and test process
2016-12-17 10:12:10 -05:00
Jonathan D'Orleans 3280d57b18 Issues 351 - Tartarus Integration
- Creating API to communicate with remote server
- Updating Identity data
- Adapting RemoteConfiguration load to new server
2016-12-17 10:11:15 -05:00
Jonathan D'Orleans 0ecb369397 Issues 351 - Splitting date and time format 2016-12-17 10:11:15 -05:00
Arron Atchison 40627ead23 Fixing NPR News Skill by regexing https to http (#386)
* Fixing NPR News Skill by regexing https to http

* reduced line length to pass pep8.
2016-10-24 10:05:54 -05:00
Arron Atchison 8c3a33ce27 Removed weather condition dialog 2016-09-01 09:28:10 -05:00
Arron Atchison c7fd729504 added the eye volume event 2016-08-17 11:08:20 -05:00
Arron Atchison 6e5dfa10f9 Shortened the variable name 'proportion' to 'prop' to avoid pep8 error 2016-08-17 09:55:38 -05:00
Arron Atchison 6efa21d79a I threw a lot of int casting in to fix type errors. Volume seems to be workign great now. 2016-08-17 09:40:58 -05:00
Ethan Ward 27bc4d255e Merge branch 'master' into feature/issues-303 2016-08-16 13:57:46 -05:00
Isaac Ward 90843ef113 changed variable 2016-07-28 15:57:50 -05:00
Isaac Ward 0f69e3bdb8 added volume communication with enclosure 2016-07-28 15:23:24 -05:00
isaacnward 9d615cf21c Added enclosure functionality for IP skill (#309)
* added ip address display

* added ip address display

* added sleep for timing

* altered timing

* further increased sleep time

* altered logic

* pep8

* changed delay duration to depend on ip length

* updated sleep time

* updated sleep time

* updated sleep time

* pep8
2016-07-28 13:35:10 -05:00
Ethan Ward 49d644ff25 Issues #194 - Clean up Wolfram syntax (#302)
* Issues #194 - Clean up Wolfam syntax

* Issues #194 - Localize regex

* Issues #194 - fix pep8

* Issues #194 - Address feedback
2016-07-28 10:08:41 -05:00
Wolfgange3311999 b648492331 Added min and max volumes read from config 2016-07-26 10:12:14 -05:00
Wolfgange3311999 06d810903c Added different behavior when the volume is at max
Now it aknowledges the when you ask it to increase and it is at max.
When playing a noise, no noise is played
2016-07-21 11:15:55 -05:00
Wolfgange3311999 d81cc07573 Moved volume wav file and added to manifest 2016-07-21 10:07:49 -05:00
Wolfgange3311999 6fd22902a1 The volume knob now plays a noise for feedback
Before it would speak the response and degrade the UX
2016-07-20 21:22:16 -05:00
Ethan Ward b60bd99e79 Fix unused imports (#296) 2016-07-18 15:45:11 -05:00
Ethan Ward 743c430996 Update test coverage to include loading vocab (#294)
* Issues #226 - Add tests for adding vocab

* pep8

* Issues 226 - Update tests

* Issues #226 - Remove debug lines
2016-07-18 15:44:36 -05:00
Ethan Ward c08cf8b6c1 Issues #273 - Add case for when verb is 's (#283)
* Issues #273 - Add case for when vern is 's

* Issues #273 - Remove debug lines
2016-07-14 15:36:43 -05:00
isaacnward a7fb9d2fe5 Issues/234: Weather display on faceplate (#255)
* i really need to fork

* Added weather functionality

* pep8

* uncommented line

* removed variable default values

* changed enclosure version

* edited metadata syntax
2016-07-12 10:26:18 -05:00
Ethan Ward eed3dd3af8 Update load_data_files to load regex files (Fixes #256) (#271)
* Issues 256 - Change loading all files to load regex

* Issues 256 - Readd regex call
2016-07-08 18:11:18 -05:00
Ethan Ward 44e6016d3f Issues 274 - Add base media skill to blacklisted skills (#275) 2016-07-08 18:01:50 -04:00
Åke b78988bdfa Add media base class (#267)
* Add media base class

* Clean up media base vocabulary keywords

* Rename header for common MediaSkill settings to "MediaSkill"

* Stop procedure cleaned up

* mycroft.media.stop now contains information of the message origin, this is used by the handler to make sure the calling skill doesn't stop itself.
* the play() method was renamed before_play() for clarity

* Rename _set_sink to something understandable.
2016-07-08 15:06:57 -04:00
isaacnward c021bcbbb0 Features/mouth stocks (#261)
* added mouth stock display

* changed sleep length

* pep8
2016-07-07 13:25:19 -05: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
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
Jason Hines 6b54ff9daf added words to intent. Added second test sample 2016-06-23 14:11:52 -04:00
Jason Hines a18ee10996 Initial commit of speak_skill 2016-06-23 13:33:56 -04: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
Ethan Ward a069b6ec1e Issues 180 - Add stock skill 2016-06-20 16:25:42 -05: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
Jonathan D'Orleans e010499302 Audio Record Skill - Remove unexpected arg during stop() call 2016-06-17 19:06:06 -04:00
Wolfgange3311999 b1900c3d81 Rewrote listener 2016-06-17 16:50:41 -05:00
Ethan Ward 8215deaa89 Issues 160 - fix IP formatting 2016-06-17 15:47:55 -05:00
Ethan Ward c7f1c81e37 Issue 150 - Add unit tests 2016-06-17 09:44:51 -05:00
Ethan Ward 740f35fa60 Issues 150 - Update for pep8 2016-06-15 17:16:22 -05:00
Ethan Ward 6d364c2e1a Issues 150 - Update WA skill output formatting 2016-06-15 17:11:07 -05:00
Ethan Ward 78b917a71f Issues 63 - Ensuring pod.id usage in place of pod.title (#141) 2016-06-14 18:07:24 -04:00
Ethan Ward 30a00d72ca Issues 63 - Add more cases where Wolfram responds (#124)
* Issues 63 - Move result to own method

* Issues 63 - Add first test

* Issues 63 - Update syntax

* Issues 63 - Update syntax

* Issues 63 - Move test file

* Issues 63 - Make __find_value method more consistent

* Issues 63 - Add more extensive tests

* Issues 63 - Comply with pep8 formatting

* Issues 63 - Update test file for pep8

* Issues 63 - Refactor code to reduce size

* Issues 63 - Update for pep8
2016-06-10 17:16:26 -04:00
Ethan Ward 9aca0aec36 Issues 94 - Add remaining intent unit tests (#129)
* Issues 94 - Add Cerberus config intent tests

* Issues 94 - Add tests for pairing skill

* Issues 94 - Add intent tests for stop skill
2016-06-10 16:35:27 -04:00
Jonathan D'Orleans c46bc43e72 Issues 96 - Moving configuration to init 2016-06-09 18:26:10 -04:00
Jonathan D'Orleans 24232a6b5b Issues 96 - Ensuring ConfigurationManager use instead of RemoteConfiguration 2016-06-09 18:25:50 -04:00
Jonathan D'Orleans efff3dbda6 Issues 96 - Renaming get_config to get only 2016-06-09 18:25:37 -04:00
Jonathan D'Orleans 781c49ecb9 Issues 96 - Loading configuration from args in Skill Container 2016-06-09 18:25:37 -04:00
Ethan Ward d856b11de9 Issues 71 - Clean up unit test output (#95)
* Issues 71 - Update __init__.py to use MycroftSkill variable

* Issues 71 - Update to comply with pep8
2016-06-08 23:33:20 -04:00
Ethan Ward 99a736f04f Issues 94 - Add intent unit tests for most skills (#120)
* Issues 94 - Add unit tests for date/time skill

* Issues 94 - Update desktop launcher intent syntax

* Issues 94 - Add intent tests for desktop launcher skill

* Issues 94 - Add unit tests to Joke skill

* Issues 94 - Add unit tests to naptime skill

* Issues 94 - Add unit tests for spelling skill

* Issues 94 - Remove application-based desktop unit tests
2016-06-08 23:12:02 -04:00
Ethan Ward 5ac4d5c572 Issues 86 - Create tests for Hello World skill 2016-06-07 11:52:13 -05:00
Ethan Ward 1ebeb41ef2 Issues 86 - Fix formatting for pep8 2016-06-07 11:15:47 -05:00
Ethan Ward 61d5ca377e Issues 86 - Rename Welcome to Hello World 2016-06-07 11:09:48 -05:00
Sean Fitzgerald 414b7127e8 Merge pull request #106 from the7erm/feature/issue-89
Feature/issue 89
2016-06-06 23:29:59 -07:00
Eugene R. Miller 843b47fad6 #89 removed randomint() 2016-06-06 16:54:17 -06:00
Eugene R. Miller 9b0715117d #89 oops removed extra files and made 1 file. Sorry I'm new 2016-06-06 16:16:53 -06:00
Eugene R. Miller 743517c261 #89 made the list dynamic so it's future proof - when other languages come into play 2016-06-06 16:00:36 -06:00
Eugene R. Miller a2324352a7 #89 added adittional dialogs for response to 'thanks' 2016-06-06 15:48:16 -06:00
Ryan Sipes 171f811dea Merge pull request #104 from wligtenberg/news-skill-stop
it is nice if the news skill responds with audio to the stop command
2016-06-06 12:55:05 -05:00
wligtenberg 15d78b206c it is nice if the news skill responds with audio to the stop command 2016-06-05 21:42:43 +02:00
Jonathan D'Orleans c3e2a25630 Issues 58 - Fixing Cerberus URL pronunciation
- Ensuring "dot" is spoken for Cerberus URL
- Fixing "AI" pause
2016-06-02 21:17:25 -04:00
Jonathan D'Orleans 2dc3f854a7 Issues 54 - Removing 'Pairing code' msg from text 2016-06-02 19:30:11 -04:00
Jonathan D'Orleans 57bb62a629 Issues 54 - Displaying pairing code
- Ensuring displaying state is reset
2016-06-02 19:30:11 -04:00
Jonathan D'Orleans 27b1e2b22c Issues 54 - Displaying pairing code only once 2016-06-02 19:30:11 -04:00
Jonathan D'Orleans bd1888c642 Issues 54 - Displaying pairing code
- Ensuring Enclosure do not affect unit display state until paired
2016-06-02 19:30:11 -04:00
Jonathan D'Orleans c22861114e Issues 54 - Displaying pairing code
- Ensuring pairing code is sent to the device after speaking
2016-06-02 19:30:11 -04:00
Jonathan D'Orleans df8f9a7344 Issues-54 - Displaying pairing code
- Ensuring pairing code is displayed after mycroft speaks
2016-06-02 19:30:11 -04:00
Ethan Ward d4d6f8f57f Issues 86 - Add changed vocab file 2016-06-02 17:18:12 -05:00
Ethan Ward 6c5d299e59 Issues 86 - Comply with pep8 standards 2016-06-02 17:01:58 -05:00
Ethan Ward 4ed518ad99 Issues 86 - Add 'thanks' to vocab 2016-06-02 16:23:53 -05:00
Ethan Ward 9d8785588e Issues 86 - Fix formattting 2016-06-02 16:20:23 -05:00
Ethan Ward f81e135941 Issues 86 - Create welcome skill 2016-06-02 16:07:14 -05:00
Ethan Ward a75c5ca26b Issues 86 - Add basics of welcome skill 2016-06-02 15:38:05 -05:00
Ethan Ward 4d6defd126 Issues 76 - Add 'what does wikipedia say about' and remove 'who is/was' in wiki vocab file' 2016-06-01 13:03:24 -05:00
Ethan Ward 3518334b6b Issues 76 - Add 'what does wikipedia say about' and remove 'who is/was' as prefixes 2016-06-01 13:02:38 -05:00
Jonathan D'Orleans 2452c74abd Issues 55 - Stopping skills by voice command 2016-05-27 18:44:04 -04:00
Ryan Sipes 4748a262ef Updated Time Between Alarm and Message
Updated Time between the alarm and the message informing users how to turn off the alarm to avoid Mycroft "stepping on" the alarm.
2016-05-27 13:26:04 -05:00
Ryan Sipes 55dd0260d8 Stop Alarm Dialog Updated
In testing Mycroft very seldom understands "stop alarm" and "end alarm"  so I have removed them from the stop dialog in order to ensure Mycroft advises users as to the best way to disarm an alarm.
2016-05-27 13:24:57 -05:00
Ryan Sipes 93dad37b81 Fix to Alarm Distortion
Tested with new alarm, it sounded distorted. Looked at implementation of other sounds (news skill), and decided to try with MP3. Changed to using MP3 instead. Everything works properly now, tested on multiple devices.
2016-05-27 12:48:37 -05:00
Ryan Sipes ffb088ef7b Fixed Pyflakes errors
Fixed Pyflakes errors, had to add exceptions and debugs. May need further work.
2016-05-26 15:28:28 -05:00
Ryan Sipes bdcd8582aa Merge pull request #59 from MycroftAI/bugfix/issues-3-fix
Fixed Missing License Headers on All Files.
2016-05-26 13:19:53 -05:00
Ryan Sipes f8de5b92f5 Found and Fixed Remaining PEP8 Issue
Troubleshot with wrong file. Everything now meets the PEP8 standard.
2016-05-26 12:25:56 -05:00
Ryan Sipes 40b5cf0da9 Formatting Fix in Pairing Skill
Blank line at end of file removed.
2016-05-26 11:41:40 -05:00
Ryan Sipes 9c82f21f1a Rebase, and Fix PEP8 Errors
Fixed PEP8 errors in Weather Skill and Pairing skill. also rebased
2016-05-26 11:32:24 -05:00
Ryan Sipes 8f2c451938 Fixed Missing License Headers on All Files.
GPL LIcense added to the top of each python file.
2016-05-26 11:16:13 -05:00
Åke Forslund c12f2be742 Move new path append together with previous path append. 2016-05-25 08:32:36 +02:00
Åke Forslund 70d42133e8 Add skill directory to path. 2016-05-25 07:41:22 +02:00
Arron Atchison 3f1bb15256 added a blank line to satisfy travis 2016-05-23 17:38:18 -05:00
Arron Atchison c69832f63d removed two unused imports from OWM skill 2016-05-23 17:23:14 -05:00
Ryan Sipes f460cc80d0 Updated Alarm Sound
Donated under Creative Commons by Dana Brett Harris
2016-05-23 15:52:27 -05:00
Leo Arias d618676089 Issues-4 - Fix pep8 errors. 2016-05-23 17:23:47 +00:00
Jonathan D'Orleans 4ab3b39979 Issues 1 - Wolfram Alpha Skill Not Responding
- Using decoded content from response
2016-05-20 15:40:51 -04:00
Arron Atchison 6e42bb1736 In the 1970s computer users had to understand the arcane syntax of the machines they used. They programed their computers using the machine's native language and hardly gave it a thought.
The 1980s birthed a new form of interaction between computers and users.  For the first time computers became capable of understanding the most basic form of human communication - pointing and grunting.  The mouse and the GUI revolutionized computing and made computers accessible to the masses.

We have now entered a third era.  We are rapidly approaching a time when computer systems will understand human language and respond using the most natural form of human communication – speech.

This is an important development.  Some might even call it revolutionary.

Despite its importance, however, the technologies that will underpin this new method of interaction are the property of major tech firms who don't necessarily have the public's best interests at heart.

Not anymore.

Meet Mycroft – the worlds first open source natural language platform.  Mycroft understands human language and responds with speech.  It is being designed to run on anything from a phone to an automobile and will change the way we interact with open source technologies in profound ways.

Our goal here at Mycroft is to improve this technology to the point that when you interact with the software it is impossible to tell if you are talking to a human or a machine.

This initial release of the Mycroft software represents a significant effort by the Mycroft community to give the open source world access to this important technology.  We are all hoping that the software will be useful to the public and will help to usher in a new era of human machine interaction.

Our community welcomes everyone to use Mycroft, improve the software and contribute back to the project.  With your help and support we can truly make Mycroft an AI for everyone.

Joshua W Montgomery – May 17, 2016
2016-05-20 09:16:01 -05:00