FIX: Naming convention

This commit is contained in:
Damian Bregier 2021-04-26 15:30:26 +02:00
parent 711904c435
commit 2efe4b2d79

View File

@ -58,6 +58,7 @@ class Run:
self.arguments={
0: "name"
}
self.nlu = NLU(self.acts, self.arguments)
self.dp = DP(self.acts, self.arguments)
self.nlg = NLG(self.acts, self.arguments)
@ -65,11 +66,22 @@ class Run:
def process(self, command):
act = self.nlu.analyze(command)
self.dst.store(act)
dest_act = self.dp.tacticChoice(self.dst.transfer())
return self.nlg.vectorToText(dest_act)
basic_act = self.dp.tacticChoice(self.dst.transfer())
return self.nlg.vectorToText(basic_act)
run = Run()
while(1):
message = input("Napisz coś: ")
print(run.process(message))
print(run.process(message))