GithubHelp home page GithubHelp logo

rule-based-nlu-for-voice-commands-detection's Introduction

Rule-Based-NLU-for-Voice-Commands-Detection-

This is a rule based approach for Natural Language Understanding (NLU) for Voice Commands detection for Voice Assistants.

This is an approach for the solution of problem statement given by Samsung R&D Institute Bangalore during Hackfest 2018 at IIT(ISM) Dhanbad.

In this problem, various concept and grammar files were given and rules for each commands were given and we had to come up with an approach to detect the commands from the input sentence given by the user.For more detailed explanation of problem statement, refer to Samsung Problem statement1.doc and Samsung Problem statement1.doc files.

Our Approach - We basically used a binary string matching approach to detect the commands.We basically preprocessed all the grammar files of the various commands by making binary strings for each grammer of the commands given.We are making binary strings on the basis of which concept/placeholder is present there in that grammar of that specific command.Then, we made a binary string for the input command and matched with all the binary strings for all the commands and select that command which has the most match.Exact match is not required as we are following a probabilistic approach and trying to find that command which has the most match.

One of the problem was there with the open phrases which was somewhat solved bt was not working efficiently.Kindly refer to Samsung Problem statement2.doc for detailed explanation of the open phrases.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.