SD-project-22/trailminator/trailminator.py
2022-05-18 13:11:49 +02:00

16 lines
337 B
Python

import dst
import nlu
import dp
import nlg
if __name__ == "__main__":
msg = "Jak masz na imie?"
dp_params = nlu.Nlu().parse(msg)
# print(dp_params)
nlg_params = dp.Dp(*dp_params).identify()
# print(nlg_params)
print(f"{msg}\n{nlg.Nlg(nlg_params).response()}")
d = dst.Dst()
print(d.get_next_question())