Commit Graph

738 Commits (f7c781d119ab1e057cb7a49f1a8d25aa74124fde)

Author SHA1 Message Date
kfezer f7c781d119 Update core.py
Fixed Pep8 Issue
2017-03-29 16:27:49 -07:00
kfezer 4c24466120 Merge branch 'dev' into feature/issue-553 2017-03-29 17:28:10 +00:00
kfezer 80b54296b3 Merge pull request #591 from MycroftAI/bugfix/issue-588
Fixes Issue 588
2017-03-29 16:40:06 +00:00
kfezer de27ad4caa Merge pull request #572 from SoloVeniaASaludar/bugfix/issue-571
Update core.py
2017-03-29 16:39:06 +00:00
kfezer@gmail.com 348a9111a2 modified: mycroft/skills/core.py
Fixed typo
2017-03-27 13:56:13 -07:00
kfezer d793c9893b Update README.md
Added note about it being default on dev
2017-03-24 14:08:32 -07:00
Augusto Monteiro 0fe6ee65e0 Merge pull request #576 from forslund/expect_response
Add expect_response option to speak_methods
2017-03-20 14:55:24 -05:00
Augusto Monteiro 988f408c49 Merge pull request #587 from SoloVeniaASaludar/bufix/issue-586
Bufix/issue 586
2017-03-20 14:16:41 -05:00
SoloVeniaASaludar 4df486da82 Update mic.py 2017-03-20 19:41:33 +01:00
SoloVeniaASaludar 3c6a40c5ea Update mic.py 2017-03-20 19:40:30 +01:00
Augusto Monteiro 9dce2d7c5f Merge pull request #584 from MatthewScholefield/update-readme
Update readme for 3 build host setup scripts
2017-03-20 11:53:41 -05:00
Augusto Monteiro f6568bd8c6 Merge pull request #580 from forslund/bugfix/issue-579
Fetch all from mimic before updating
2017-03-20 11:42:05 -05:00
MatthewScholefield 09f5ac8626 Update readme for 3 build host setup scripts 2017-03-20 10:23:33 -05:00
Augusto Monteiro 90c4c8f0d5 Merge pull request #575 from SoloVeniaASaludar/bugfix/issue-574
i18n: create_wakeup_recognizer must be configurable
2017-03-20 09:58:13 -05:00
Åke Forslund 4a498d9721 Update mimic to version 1.2.0.2 2017-03-18 08:45:11 -05:00
Åke Forslund 04f411935f Fetch all from mimic before updating 2017-03-18 11:35:42 +01:00
Åke Forslund be8dd47250 Add expect_response option to speak_methods
if expect_response flag is set to True the stt will be triggered just as if the wakeword has been received or the button on the mycroft enclosure has been pressed.
2017-03-17 20:20:27 +01:00
SoloVeniaASaludar ae59b1f69f Update listener.py 2017-03-17 19:06:29 +01:00
SoloVeniaASaludar 02195d22cd Update listener.py 2017-03-17 18:51:18 +01:00
SoloVeniaASaludar 08e7778538 Update listener.py 2017-03-17 18:21:06 +01:00
SoloVeniaASaludar 852d1d3c15 Update core.py 2017-03-16 16:43:53 +01:00
SoloVeniaASaludar a8f7e84a2c Update core.py 2017-03-16 16:29:11 +01:00
kfezer 62e7f37210 Merge pull request #569 from SoloVeniaASaludar/dev
Update build_host_setup_debian.sh
2017-03-15 13:41:42 -07:00
SoloVeniaASaludar 04e147552a Update build_host_setup_debian.sh 2017-03-15 20:47:58 +01:00
kfezer a7bf0d2726 Merge pull request #567 from MycroftAI/feature/issue-566
#566 - Adding normalize import on wolfranalpha
2017-03-15 12:39:18 -07:00
Augusto Monteiro 319f39801a #566 - Adding normalize import on wolfranalpha 2017-03-15 14:31:10 -05:00
Åke Forslund 8df393c813 Remove handler from registered_intents list, it wasn't used 2017-03-14 22:01:48 +01:00
Åke Forslund 49c5a3e523 Add debug and error logging 2017-03-14 21:55:04 +01:00
Augusto Monteiro 7c25e56b96 #560 - fixing pep8 2017-03-14 14:34:53 -05:00
Augusto Monteiro 2464e87118 #560 - loading skills sorted 2017-03-14 14:34:53 -05:00
Augusto Monteiro 435b254a54 Merge pull request #531 from MycroftAI/feature/issue-539
Normalize text before intent parsing #530
2017-03-14 14:22:34 -05:00
Augusto Monteiro eaac4a1f08 #539 - fixing pep8 2017-03-14 13:57:17 -05:00
Augusto Monteiro 0901f1bafc #539 - fixing pep8 2017-03-14 13:43:45 -05:00
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
Augusto Monteiro 9433167eab Merge pull request #549 from JarbasAI/patch-2
added blacklist check to load_skill#551
2017-03-13 14:53:52 -05:00
Augusto Monteiro dc53c9571b Merge pull request #548 from MycroftAI/feature/issue-547
This implements CLI enhancements per issue #547
2017-03-13 14:38:33 -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
penrods bc9956cd68 Fixing sloppy copy/paste errors. 2017-03-10 16:23:00 -06:00
penrods 9fce7d4620 This implements CLI enhancements per issue #547
Main CLI enhancements:
* Microphone meter
* Long log line left/right scrolling
* Eliminated flicker
* VT100 ESC key code support (used by some terms)

In addition, to achieve the meter it was necessary to implement a mechanism for local Inter Process Communication (IPC).  This is achieved using the file-system.  By default a folder structure is created under /tmp/mycroft/ipc, but it can be directed to somewhere else by setting the config value in mycroft.conf:
    "ipc_path" : "/path/to/somewhere"
In the future, Mark 1 and Picroft will get RAM disks to avoid burning out the SD card.  This is also a very fast communication mechanism.  This is all hidden under util.get_ipc_directory()

Further, the named signal mechanism was changed to use the IPC folder.  The signal can have a lifetime now (not just one shot).
2017-03-10 01:30:15 -06:00
JarbasAI b13070f276 added reload_skill flag 2017-03-09 01:56:23 -06:00