Compare commits

..

No commits in common. "3a6965c2d9ae5c72f01281f76a7880df0b4fac6c" and "1c21ed4065db45ea8aced801d9d8e079e92b027c" have entirely different histories.

2 changed files with 0 additions and 13 deletions

View File

@ -1,7 +0,0 @@
from NaturalLanguageAnalyzer import NaturalLanguageAnalyzer
if __name__ == "__main__":
text = "Cześć, jak masz na imię?"
nla = NaturalLanguageAnalyzer()
user_act = nla.process(text)
print(user_act)

View File

@ -1,6 +0,0 @@
class NaturalLanguageAnalyzer:
def process(self, text):
user_act = None
if ("imie" in text or "imię" in text) and "?" in text:
user_act = "request(firstname)"
return user_act