Suggestions for an AI concept

This is a concept I have for a faster and simpler voice model. It uses tesorflow and java and I am hoping on implementing this in ara, an app I am working on.

In my basic version of the ara voice recognition there is this code:

 switch (labelIndex - 2) {
    case 0:
        resulttxt = "yes";

        break;
    case 1:
        resulttxt = "no";
        break;
    case 2:
        resulttxt = "up";
        break;
    case 3:
        resulttxt = "down";
        break;
    case 4:
        resulttxt = "left";
        break;
    case 5:
        resulttxt = "right";
        break;
    case 6:
        resulttxt = "on";
        break;
    case 7:
        resulttxt = "off";
        break;
    case 8:
        resulttxt = "stop";
        break;
    case 9:
        resulttxt = "go";
        break;
                                }

Enter fullscreen mode Exit fullscreen mode

My idea take this basic concept but instead of full words looks for sounds an then words. this could be the new recognition code:

 switch (labelIndex - 2) {
    case 0:
        resulttxt = resulttxt + "LongA";

        break;
    case 1:
        resulttxt = resulttxt + "ShortA";
        break;
    case 2:
        resulttxt = resulttxt +"ShortB";
        break;
    case 3:
        resulttxt = resulttxt +"LongB"; // Such as the words be and bee.
        break;
    case 4:
        resulttxt = resulttxt +"ShortC";
        break;
        // .......................................................
                                }

Enter fullscreen mode Exit fullscreen mode

Please give your input, I am no expert on AI, so if its dumb tell me.

原文链接:Suggestions for an AI concept

© 版权声明
THE END
喜欢就支持一下吧
点赞7 分享
评论 抢沙发

请登录后发表评论

    暂无评论内容