diff --git a/src/main.py b/src/main.py index 5c20fb1..8150f48 100644 --- a/src/main.py +++ b/src/main.py @@ -1,7 +1,11 @@ from model.frame import Frame from service.dialog_state_monitor import DialogStateMonitor from service.dialog_policy import DialogPolicy +from service.natural_languag_understanding import NaturalLanguageUnderstanding +print("Natural language understanding, example:") +naturalLanguageUnderstanding = NaturalLanguageUnderstanding() +print(naturalLanguageUnderstanding.convertTextToFrame("Cześć, jak masz na imię?")) # Example print("Dialog state monitor, examples:") diff --git a/src/service/NaturalLanguageUnderstanding.py b/src/service/natural_languag_understanding.py similarity index 71% rename from src/service/NaturalLanguageUnderstanding.py rename to src/service/natural_languag_understanding.py index 96ae838..8e2672f 100644 --- a/src/service/NaturalLanguageUnderstanding.py +++ b/src/service/natural_languag_understanding.py @@ -12,7 +12,3 @@ class NaturalLanguageUnderstanding: if(word in self.dictionary): frame+=self.dictionary[word]+"&" return frame[0:-1] - - -naturalLanguageUnderstanding = NaturalLanguageUnderstanding() -print(naturalLanguageUnderstanding.convertTextToFrame("Cześć, jak masz na imię?")) \ No newline at end of file