AutoVoice AutoVoice 'Contains All' matching option does not work

Discussion in 'AutoApps' started by stavrox, Sep 8, 2016.

  1. stavrox

    stavrox New Member

    Joined:
    Sep 8, 2016
    Messages:
    3
    Likes Received:
    0
    Hi there,
    I've been using AutoVoice with Tasker for a little while now and when using the Recognize option it works great for commands which exactly match the filter although the 'Contains All' option does not seem to do anything for me.. %avmatched stays false..

    AutoVoice profile in:
    command to match: "bus werk"
    Contains All: enabled

    Tasker task checks if %avmatched equals true

    These are the logs from AutoVoice:
    version 2.0.47

    OS Build UMI SUPER.V3.02_20160810
    OS Code 23
    Device UMI_SUPER
    Manufacturer UMI
    Product SUPER

    Trigger Words - 2016-09-08 02:44:09.357 - Current trigger words:
    de volgende bus naar werk
    de volgende bus naar het werk
    is de volgende bus naar werk
    de volgende bus naar Berk
    op de volgende bus naar werk
    Trigger Words - 2016-09-08 02:44:09.350 - Added trigger words:
    de volgende bus naar werk
    de volgende bus naar het werk
    is de volgende bus naar werk
    de volgende bus naar Berk
    op de volgende bus naar werk
    Profile Matches - 2016-09-08 02:44:09.330 - "bus werk" matches "op de volgende bus naar werk": false
    Profile Matches - 2016-09-08 02:44:09.323 - "bus werk" matches "de volgende bus naar berk": false
    Profile Matches - 2016-09-08 02:44:09.305 - "bus werk" matches "is de volgende bus naar werk": false
    Profile Matches - 2016-09-08 02:44:09.299 - "bus werk" matches "de volgende bus naar het werk": false
    Profile Matches - 2016-09-08 02:44:09.269 - "bus werk" matches "de volgende bus naar werk": false
    Recognition - 2016-09-08 02:44:09.250 - Got commands: Received possible commands:
    de volgende bus naar werk
    de volgende bus naar het werk
    is de volgende bus naar werk
    de volgende bus naar berk
    op de volgende bus naar werk

    Recognition - 2016-09-08 02:44:04.504 - Getting Voice command...
    Recognizer - 2016-09-08 02:44:04.499 - Not using headset.
    Recognizer - 2016-09-08 02:44:04.491 - Action: com.twofortyfouram.locale.intent.action.FIRE_SETTING
    Remote - 2016-09-08 02:43:54.159 - Got 1 devices for
     
  2. joaomgcd

    joaomgcd Administrator Staff Member

    Joined:
    Feb 3, 2015
    Messages:
    9,479
    Likes Received:
    806
    Can you please export your profile's description (not xml) so I can take a look? Long-click the profile in Tasker->export description Thanks in advance
     
  3. stavrox

    stavrox New Member

    Joined:
    Sep 8, 2016
    Messages:
    3
    Likes Received:
    0
    Hi Joaomgcd,

    Here is the description:

    Now Bus (12)
    A1: AutoVoice Recognize [ Configuration:

    Voice command without headset
    Report Partial Results: false
    Command: "bus werk"
    Error if Not Recognized: false
    Error if No Match: false
    Don't Trigger Conditions: false
    Use Regex Replacements: false Timeout (Seconds):120 ]
    A2: If [ %avmatched ~ true ]
    A3: Say [ Text:Hooray Engine:Voice:com.cereproc.William:eng-GBR Stream:3 Pitch:5 Speed:5 Respect Audio Focus:On Network:Off Continue Task Immediately:Off ]
    A4: End If
     
  4. joaomgcd

    joaomgcd Administrator Staff Member

    Joined:
    Feb 3, 2015
    Messages:
    9,479
    Likes Received:
    806
    Is it me or is Contains All not enabled for you in that profile?
     
  5. stavrox

    stavrox New Member

    Joined:
    Sep 8, 2016
    Messages:
    3
    Likes Received:
    0
    It's enabled.
    I also exported the specific task to XML and I'm not sure but the following two rules are I think relevant to the AutoVoice matching option 'Contains All':
    Code (Text):
    <Contains>true</Contains>
    <Contains-type>java.lang.Boolean</Contains-type>
     

Share This Page