Closed macbre closed 5 years ago
Support the following type of questions:
Where does Cristiano Ronaldo play? Where is Cristiano Ronaldo playing now? Which club Cristiano Ronaldo plays for?
INFO:get_intent:Parsing question: Which club Cristiano Ronaldo plays for? INFO:NLPParser:Loading a parsing model for NLP... INFO:NLPParser:Model loaded INFO:get_intent:Parsed and filtered question: [('WDT', 'Which'), ('NN', 'club'), ('NP', 'Cristiano Ronaldo'), ('VBZ', 'plays'), ('IN', 'for')] INFO:get_intent:Filtered words of the question: {'WDT': 'Which', 'NN': 'club', 'NP': 'Cristiano Ronaldo', 'VBZ': 'plays', 'IN': 'for'} INFO:get_intent:Available intents: ['PersonFactIntent', 'EpisodeFactIntent', 'WoWGroupsMemberIntent', 'FootballPlayerFactIntent'] INFO:root:Trying PersonFactIntent ... INFO:root:Trying EpisodeFactIntent ... INFO:root:Trying WoWGroupsMemberIntent ... INFO:root:Trying FootballPlayerFactIntent ... INFO:root:Selected <class 'ask_fandom.intents.wiki.football.FootballPlayerFactIntent'> with {'name': 'Cristiano Ronaldo', 'property': 'plays'} INFO:FootballPlayerFactIntent:You've asked: 'Which club Cristiano Ronaldo plays for?' ({'name': 'Cristiano Ronaldo', 'property': 'plays'}) INFO:FootballPlayerFactIntent:Asking football.fandom.com wiki for 'Cristiano Ronaldo' page's 'Infobox Biography' template 'currentclub' parameter INFO:root:Which club Cristiano Ronaldo plays for? -> Cristiano Ronaldo plays for Juventus F.C. now. (FootballPlayerFactIntent: {'answer': 'Juventus F.C.', 'name': 'Cristiano Ronaldo', 'property': 'plays'})
Support the following type of questions:
Where does Cristiano Ronaldo play? Where is Cristiano Ronaldo playing now? Which club Cristiano Ronaldo plays for?
An example