Author Topic: Issue when "Phrase" is a number of layer deep in"optional Phrase" layers  (Read 1828 times)

0 Members and 3 Guests are viewing this topic.

thesystemera

  • $upporter
  • Sr. Member
  • *****
  • Posts: 125
  • Karma: 0
    • View Profile
Okay how do I explain this..

I can not access the "Phrase" if it is not close to the top..  I have to use a number of optional phrasees first.  For instance I can't just say the phrase "Next" or "Something different".  I have to say "Can you play me something different" even though they are meant to be only optional.  Whats interesting is that if I drag the "Phrase" near the top, it seems to work.  I'd noticed this in the past but only now have identified the issue. 

I though maybe it was a conflict with other commands but have disabled all other commands while trying to identify the bug, it literally only seems to happen when the "phrase" is four or five lines deep in "additional phrases"

Any idea..  Thanks James.  PS: Going to fully integrate X-Ref Group soon into all of this, make universal advancements so much easier..

Code: [Select]
<?xml version="1.0" encoding="utf-16"?>
<command id="134" name="Something different" enabled="true" alwaysOn="False" confirm="False" requiredConfidence="0" loop="False" loopDelay="0" loopMax="0" description="">
  <action>
    <cmdType>XJson.Raw</cmdType>
    <cmdString>Input.ExecuteAction&amp;&amp;"action":"skipnext"</cmdString>
    <cmdRepeat>1</cmdRepeat>
  </action>
  <phrase optional="true">um</phrase>
  <phrase optional="true">yeah, yes, nah, no, yeah nah</phrase>
  <phrase optional="true">can, could, would</phrase>
  <phrase optional="true">you, we, I, I'm</phrase>
  <phrase optional="true">do not want to, don't want to, want to, wanting, need to, needing, would like, would like to, feel like, feeling like</phrase>
  <phrase optional="true">lets, let us, go and, go ahead and</phrase>
  <phrase optional="true">listen, put, play</phrase>
  <phrase optional="true">me, me the, me on, on, on the, to, to the, the, this, a</phrase>
  <phrase>next, another, something else, something different, different, not this, skip this, to this, skip</phrase>
  <phrase optional="true">song, track, tune, podcast, programme, show</phrase>
</command>

Kalle

  • $upporter
  • Hero Member
  • *****
  • Posts: 2320
  • Karma: 47
    • View Profile
Okay how do I explain this..

I can not access the "Phrase" if it is not close to the top..  I have to use a number of optional phrasees first.  For instance I can't just say the phrase "Next" or "Something different".  I have to say "Can you play me something different" even though they are meant to be only optional.  Whats interesting is that if I drag the "Phrase" near the top, it seems to work.  I'd noticed this in the past but only now have identified the issue.  

I though maybe it was a conflict with other commands but have disabled all other commands while trying to identify the bug, it literally only seems to happen when the "phrase" is four or five lines deep in "additional phrases"

Any idea..  Thanks James.  PS: Going to fully integrate X-Ref Group soon into all of this, make universal advancements so much easier..

Code: [Select]
<?xml version="1.0" encoding="utf-16"?>
<command id="134" name="Something different" enabled="true" alwaysOn="False" confirm="False" requiredConfidence="0" loop="False" loopDelay="0" loopMax="0" description="">
  <action>
    <cmdType>XJson.Raw</cmdType>
    <cmdString>Input.ExecuteAction&amp;&amp;"action":"skipnext"</cmdString>
    <cmdRepeat>1</cmdRepeat>
  </action>
  <phrase optional="true">um</phrase>
  <phrase optional="true">yeah, yes, nah, no, yeah nah</phrase>
  <phrase optional="true">can, could, would</phrase>
  <phrase optional="true">you, we, I, I'm</phrase>
  <phrase optional="true">do not want to, don't want to, want to, wanting, need to, needing, would like, would like to, feel like, feeling like</phrase>
  <phrase optional="true">lets, let us, go and, go ahead and</phrase>
  <phrase optional="true">listen, put, play</phrase>
  <phrase optional="true">me, me the, me on, on, on the, to, to the, the, this, a</phrase>
  <phrase>next, another, something else, something different, different, not this, skip this, to this, skip</phrase>
  <phrase optional="true">song, track, tune, podcast, programme, show</phrase>
</command>
Hi thesystemera, delete the phrase " I'm " or change it to " I am " also the same with " don't " and test it again. Don't use special characters in phrases!

I hope it helps
Kalle
« Last Edit: July 11, 2013, 09:41:23 AM by Kalle »
***********  get excited and make things  **********

jitterjames

  • Administrator
  • Hero Member
  • *****
  • Posts: 7714
  • Karma: 116
    • View Profile
    • VoxCommando
I think using an apostrophe is ok Kalle.

I tested this command without modifying it and it works fine when I say "something different" or if I say "something else" "another" etc.

It doesn't work with "next" but I have other commands using the word and it creates too much uncertainty for the engine.

Kalle

  • $upporter
  • Hero Member
  • *****
  • Posts: 2320
  • Karma: 47
    • View Profile
I think using an apostrophe is ok
thanks for the info
« Last Edit: July 11, 2013, 11:29:10 AM by jitterjames »
***********  get excited and make things  **********