You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
A module specifies the entities it needs to be parsed using the Enum EntityType
The entities needed by that module are parsed from the json holding the module info, and stored in the db when the module is installed
Parser gets them @runtime after the sentence is entered by the user and returns a dict of [entity_type: [value, text in the original sentence before being parsed]
The Enum mentioned earlier is in branch Alfred45
The text was updated successfully, but these errors were encountered:
Entities needed by a module are parsed from json file named "needed_entities.json" that should be created in the resources folder
This json file is optional, if the module doesn't need any parsing it will run normally without it
# Please enter the commit message for your changes. Lines starting
# with '#' will be kept; you may remove them yourself if you want to.
# An empty message aborts the commit.
#
# Date: Sun Jul 9 01:54:17 2017 +0200
#
# interactive rebase in progress; onto 5f5ce44
# Last command done (1 command done):
# reword d746d8d#54 - Send entities to modules
# Next command to do (1 remaining command):
# pick 3e2abe7 Hotfix: Workarounds for incompatibility bug between spacy and duckling
# You are currently editing a commit while rebasing branch 'master' on '5f5ce44'.
#
# Changes to be committed:
# modified: alfred/alfred.py
# modified: alfred/modules/api/a_base_module.py
# modified: alfred/modules/module_info.py
#
Scenario
The Enum mentioned earlier is in branch Alfred45
The text was updated successfully, but these errors were encountered: