Last active
October 2, 2018 23:29
-
-
Save alaakh42/ab39792302c0c6cc091a556c0f93d7e3 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
from rasa_nlu.model import Interpreter | |
import json | |
interpreter = Interpreter.load("./models/current/nlu") | |
message = ' '.join([x.strip() for x in "tell me about the foundation of the Barcelona team".split()]) | |
result = interpreter.parse(message) | |
print(json.dumps(result, indent=2)) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment