7 lines
216 B
Python
7 lines
216 B
Python
![]() |
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
|