Zmiana nazwy pliku CamelCase -> snake_case
This commit is contained in:
parent
c70685682d
commit
20531d729d
@ -1,7 +1,11 @@
|
|||||||
from model.frame import Frame
|
from model.frame import Frame
|
||||||
from service.dialog_state_monitor import DialogStateMonitor
|
from service.dialog_state_monitor import DialogStateMonitor
|
||||||
from service.dialog_policy import DialogPolicy
|
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
|
# Example
|
||||||
print("Dialog state monitor, examples:")
|
print("Dialog state monitor, examples:")
|
||||||
|
@ -12,7 +12,3 @@ class NaturalLanguageUnderstanding:
|
|||||||
if(word in self.dictionary):
|
if(word in self.dictionary):
|
||||||
frame+=self.dictionary[word]+"&"
|
frame+=self.dictionary[word]+"&"
|
||||||
return frame[0:-1]
|
return frame[0:-1]
|
||||||
|
|
||||||
|
|
||||||
naturalLanguageUnderstanding = NaturalLanguageUnderstanding()
|
|
||||||
print(naturalLanguageUnderstanding.convertTextToFrame("Cześć, jak masz na imię?"))
|
|
Loading…
Reference in New Issue
Block a user