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

Extend Duckling to be able to parse custom entities #41

Open
MennaCC opened this issue Mar 16, 2017 · 0 comments
Open

Extend Duckling to be able to parse custom entities #41

MennaCC opened this issue Mar 16, 2017 · 0 comments

Comments

@MennaCC
Copy link
Contributor

MennaCC commented Mar 16, 2017

Story

As a module developer I can define custom entities for a certain module, so that it would be parsed from a sentence when classified as this module.

Assumptions

  • Entities are passed as a dict of (key: entity_name , value: list of values)
  • We have access to module_info[name]

Technical Details

  • This is done through extending duckling, by adding to corpus files
  • This issue is adding a python wrapper for duckling dependency
    (editing the requirements.txt will be needed)

Acceptance Criteria

  • create corpus file by the name of module
  • the name of dim created inside the corpus file is in format 'nameOfModule_nameOfEntity'
  • created corpus file is added to the duckling jar though a function added to the library wrapper ( in wrapper.py)
  • any further re-installations of packages, or loading of corpora is handled
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants