Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Lookup Intent Parser #759

Merged
merged 28 commits into from
Jul 11, 2019
Merged

Lookup Intent Parser #759

merged 28 commits into from
Jul 11, 2019

Commits on Feb 22, 2019

  1. New Intent Parser: LookupIntentParser

    What
    --
    This introduces a new dictionary-based deterministic intent parser.
    
    The parser uses a hashmap to map normalized utterances to their
    expected intent and slots.
    
    Symbol tables are used to store the intents names and slot names
    and this reduces the amount of information stored in the dictionary
    values.
    
    Why
    --
    This implementation is compact enough to store a huge number of
    utterances and their expected outputs. It also out performs the
    regex implementation as dict lookups are faster.
    
    **NOTE**: The space usage can even be reduced further by hashing the
    dictionary keys. (_this is a future plan once this impl is stabilized_)
    mattgathu committed Feb 22, 2019
    Configuration menu
    Copy the full SHA
    2e2599d View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    0afc9ed View commit details
    Browse the repository at this point in the history

Commits on Feb 25, 2019

  1. remove unused attr

    mattgathu committed Feb 25, 2019
    Configuration menu
    Copy the full SHA
    a1251ef View commit details
    Browse the repository at this point in the history

Commits on Feb 28, 2019

  1. fix: refactor based on review

    * simplify implementation for consistency and simplicity:
        - avoid calculating range mappings
        - refactor text preprocessing and avoid code duplication
    * fix bug
        - fix key collision handling
    * fix up the docs
    mattgathu committed Feb 28, 2019
    Configuration menu
    Copy the full SHA
    f4c77cb View commit details
    Browse the repository at this point in the history
  2. fix preprocessing text

    mattgathu committed Feb 28, 2019
    Configuration menu
    Copy the full SHA
    98b938e View commit details
    Browse the repository at this point in the history
  3. fix text preprocessing

    mattgathu committed Feb 28, 2019
    Configuration menu
    Copy the full SHA
    09d9b89 View commit details
    Browse the repository at this point in the history
  4. linting fixes

    mattgathu committed Feb 28, 2019
    Configuration menu
    Copy the full SHA
    b93cc68 View commit details
    Browse the repository at this point in the history
  5. linting fixes

    mattgathu committed Feb 28, 2019
    Configuration menu
    Copy the full SHA
    74033d6 View commit details
    Browse the repository at this point in the history

Commits on Mar 1, 2019

  1. remove unnecessary logic

    mattgathu committed Mar 1, 2019
    Configuration menu
    Copy the full SHA
    18ef68b View commit details
    Browse the repository at this point in the history
  2. fixes from review

    mattgathu committed Mar 1, 2019
    Configuration menu
    Copy the full SHA
    b79b1e9 View commit details
    Browse the repository at this point in the history
  3. lint fixes

    mattgathu committed Mar 1, 2019
    Configuration menu
    Copy the full SHA
    16e34d1 View commit details
    Browse the repository at this point in the history

Commits on Mar 6, 2019

  1. Add key hashing to Lookup Intent Parser for perf

    Use hashes as dictionary keys instead of actual strings. This
    reduces the size of the model.
    
    Add utility function to handle key deserialization from JSON.
    mattgathu committed Mar 6, 2019
    Configuration menu
    Copy the full SHA
    14f2893 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    39483c3 View commit details
    Browse the repository at this point in the history
  3. Fix failing test

    mattgathu committed Mar 6, 2019
    Configuration menu
    Copy the full SHA
    241cf45 View commit details
    Browse the repository at this point in the history
  4. Merge pull request #766 from snipsco/feature/lookup_intent_parser_key…

    …_hashing
    
    Add key hashing to Lookup Intent Parser for perf
    mattgathu committed Mar 6, 2019
    Configuration menu
    Copy the full SHA
    aedc7f2 View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    df308f0 View commit details
    Browse the repository at this point in the history

Commits on May 15, 2019

  1. Configuration menu
    Copy the full SHA
    5645ff8 View commit details
    Browse the repository at this point in the history

Commits on May 16, 2019

  1. Configuration menu
    Copy the full SHA
    e16647b View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    a3c3039 View commit details
    Browse the repository at this point in the history

Commits on May 17, 2019

  1. Configuration menu
    Copy the full SHA
    0a80829 View commit details
    Browse the repository at this point in the history
  2. Fix non deterministic test

    adrienball committed May 17, 2019
    Configuration menu
    Copy the full SHA
    91a30fb View commit details
    Browse the repository at this point in the history

Commits on May 20, 2019

  1. Configuration menu
    Copy the full SHA
    d1766f5 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    4db17e1 View commit details
    Browse the repository at this point in the history

Commits on May 21, 2019

  1. Improve test

    adrienball committed May 21, 2019
    Configuration menu
    Copy the full SHA
    86cfac3 View commit details
    Browse the repository at this point in the history

Commits on Jul 11, 2019

  1. Configuration menu
    Copy the full SHA
    f303fcb View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    dc33e7e View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    8b61db9 View commit details
    Browse the repository at this point in the history
  4. Fix tests

    adrienball committed Jul 11, 2019
    Configuration menu
    Copy the full SHA
    8a666e9 View commit details
    Browse the repository at this point in the history