jeffbonasso

Forum Replies Created

Viewing 7 posts - 1 through 7 (of 7 total)

  • Author
    Posts
  • in reply to: Can utterances only bring back what is in dictionary? #1032034
    jeffbonasso
    Participant

    Since there is no rejecto for grammar, are there any strategies that could be done to simulate rejecto. One thing I just tried was I added every letter of the alphabet to the dictionary, and now almost anytime time it hears anything it picks one of those unless I say a phrase specifically in the dictionary which definitely is helping a lot.

    Still confused why using a grammar it seems like it always wants to match with something in the dictionary. When I say almost anything it is always coming back now with one of the letters. It seems like there would be something that if in the time it started recognizing to the silence delay if there was what was clearly many syllables and words being said that it wouldn’t match to something with one syllable.

    in reply to: Can utterances only bring back what is in dictionary? #1032032
    jeffbonasso
    Participant

    OK, I have done that. Still very weird behavior. I am testing this in pretty ideal conditions with no background noise and a very good headset and noise cancelling mic. When I say the words that appear in the dictionary it works flawlessly. When I saw am just saying other long phrases, it trips almost every time.

    “THAT IS NOT VERY GOOD” and it came back with “NEGATIVE”
    “THIS IS A TEST” and it came back with “MIRA SECURING”
    “THIS IS A TEST” and it came back with “MIRA SPEEDS”
    “THERE REALLY IS SOMETHING WRONG” and it came back with “MIRA RADIO-OUT”
    “THAT IS WEIRD” and it came back with “READ ITEM”

    in reply to: Can utterances only bring back what is in dictionary? #1032028
    jeffbonasso
    Participant

    I just copied the strings from the debug output. I am passing those to the generate grammar method in an NSDictiinary under a ThisWillBeSaidOnce and using JSGF to YES when listening.

    in reply to: Can utterances only bring back what is in dictionary? #1032026
    jeffbonasso
    Participant

    Almost every phrase is at least two words. Most are two words or more. This is one dictionary…

    AFFIRMATIVE,
    NEGATIVE,
    “GO BACK”,
    “READ CURRENT ITEM”,
    “READ ITEM”,
    CHECK,
    “CHECK ITEM”,
    NEXT,
    “NEXT ITEM”,
    SKIP,
    “SKIP ITEM”,
    LOCATE,
    “LOCATE ITEM”,
    EMERGENCY,
    “EMERGENCY LIST”,
    “OPEN COMMENTS”,
    “CLOSE COMMENTS”,
    “SHOW COMMENTS”,
    “HIDE COMMENTS”,
    “OPEN NOTES”,
    “CLOSE NOTES”,
    “SHOW NOTES”,
    “HIDE NOTES”,
    “OPEN LOGBOOK”,
    “CLOSE LOGBOOK”,
    “SHOW LOGBOOK”,
    “HIDE LOGBOOK”,
    “OPEN CLOCK”,
    “CLOSE CLOCK”,
    “SHOW CLOCK”,
    “HIDE CLOCK”,
    “NEXT LIST”,
    “PREVIOUS LIST”,
    “NEXT SECTION”,
    “PREVIOUS SECTION”,
    “MIRA SILENCE”,
    “MIRA SHUT UP”,
    “MIRA BE QUIET”,
    “READ SECTION”,
    “READ CURRENT SECTION”,
    “CHECK SECTION”,
    “CHECK CURRENT SECTION”,
    “RESET CHECKLIST”,
    “RESET CURRENT CHECKLIST”,
    “RESET LIST”,
    “RESET CURRENT LIST”,
    “RESET SECTION”,
    “RESET CURRENT SECTION”,
    “OPEN NAV OVERLAY”,
    “CLOSE NAV OVERLAY”,
    “SHOW NAV OVERLAY”,
    “HIDE NAV OVERLAY”,
    “OPEN BIG CHECK OVERLAY”,
    “CLOSE BIG CHECK OVERLAY”,
    “SHOW BIG CHECK OVERLAY”,
    “HIDE BIG CHECK OVERLAY”,
    QUIDNUNC,
    “MIRA PREFLIGHT”,
    “MIRA INITIAL”,
    “MIRA EXTERIOR”,
    “MIRA INTERIOR”,
    “MIRA START”,
    “MIRA TAXI”,
    “MIRA RUN-UP”,
    “MIRA INFLIGHT”,
    “MIRA PRE-TAKEOFF”,
    “MIRA TAKEOFF”,
    “MIRA CLIMB”,
    “MIRA CRUISE”,
    “MIRA DESCENT”,
    “MIRA PRE-LANDING”,
    “MIRA LANDING”,
    “MIRA GO-AROUND”,
    “MIRA POSTFLIGHT”,
    “MIRA AFTER LANDING”,
    “MIRA SECURING”,
    “MIRA SPEEDS”,
    “MIRA QUICK SPEEDS”,
    “MIRA NORMAL OPERATION”,
    “MIRA REFERENCE”,
    “MIRA SPECS”,
    “MIRA FREQUENCIES”,
    “MIRA EMERGENCY”,
    “MIRA HELP”,
    “MIRA MAYDAY”,
    “MIRA POWER LOSS ON TAKEOFF”,
    “MIRA TAKEOFF POWER LOSS”,
    “MIRA POWER LOSS INFLIGHT”,
    “MIRA INFLIGHT POWER LOSS”,
    “MIRA NO RESTART WITH TIME”,
    “MIRA ELECTRICAL FIRE”,
    “MIRA ENGINE FIRE ON STARTUP”,
    “MIRA STARTUP ENGINE FIRE”,
    “MIRA ENGINE FIRE INFLIGHT”,
    “MIRA INFLIGHT ENGINE FIRE”,
    “MIRA ICING”,
    “MIRA EXCESS CHARGE”,
    “MIRA LOW VOLTAGE”,
    “MIRA RADIO OUT”

    I do understand I could use the the following format to build more of a hierarchy, but I am not sure if doing that will improve the results…

    @{
    ThisWillBeSaidOnce : @[
    @{ OneOfTheseCanBeSaidOnce : @[@”HELLO COMPUTER”, @”GREETINGS ROBOT”]},
    @{ OneOfTheseWillBeSaidOnce : @[@”DO THE FOLLOWING”, @”INSTRUCTION”]},
    @{ OneOfTheseWillBeSaidOnce : @[@”GO”, @”MOVE”]},
    @{ThisWillBeSaidWithOptionalRepetitions : @[
    @{ OneOfTheseWillBeSaidOnce : @[@”10″, @”20″,@”30″]},
    @{ OneOfTheseWillBeSaidOnce : @[@”LEFT”, @”RIGHT”, @”FORWARD”]}
    ]},
    @{ OneOfTheseWillBeSaidOnce : @[@”EXECUTE”, @”DO IT”]},
    @{ ThisCanBeSaidOnce : @[@”THANK YOU”]}
    ]
    };

    in reply to: Can utterances only bring back what is in dictionary? #1032024
    jeffbonasso
    Participant

    Yes. I put in slider in my app where at anytime I change it from 1 to 5 in 0.1 increments. When I get to 4.2 or above it doesn’t recognize most words. At 4 it usually recognizes words but it still trips up a lot when saying words where there definitely are no phrases anywhere near what is being said, .

    in reply to: Can utterances only bring back what is in dictionary? #1032022
    jeffbonasso
    Participant

    Thanks Halle. So I am now using the grammar instead of language model and when I now say the phrases in the dictionary it is way more accurate than before which is great. One thing I am seeing though is because there is no Rejecto it seems to be overly aggressive in returning something in the dictionary even if what is being said is not even close to the phrases. Even when I say a single syllable, single word it will bring back phrases. Is there any strategies to mimic what something like Rejecto does or maybe I am missing something that can make things being said not trip it always wanting to bring back an utterance?

    in reply to: Can utterances only bring back what is in dictionary? #1032013
    jeffbonasso
    Participant

    Thanks! I am using Rejecto which seems to only have the method…

    generateRejectingLanguageModelFromArray

    Is there a similar one for generating a grammar while using Rejecto?

Viewing 7 posts - 1 through 7 (of 7 total)