Python Forum
Intelligent interpreter
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Intelligent interpreter
#1
I m a python beginner. I m trying to figure out how to get a specific information from a paragraph. For example I have a following paragraph about PM Boris jhonson-“ Boris Johnson (born 19 June 1964) is a British politician, author, and former journalist who has served as Prime Minister of the United Kingdom since 2019. He was Foreign Secretary from 2016 to 2018 and Mayor of London from 2008 to 2016. Johnson has been MP for Uxbridge and South Ruislip since 2015. ”. I want to write a program that when asked a specific question it should reply. For example for question- Boris Johnson was mayor of London during which dates? I should get a correct reply.which python or nltk libraries can be helpful? Plz advise.
Reply
#2
Please be more specific as far as:
  • Format and source of text. for example, plain text file, word document, etc. include file name.
  • Sample of above would be great
  • Full code written to date.
  • Any errors generated, complete and unaltered.
  • Expected categories of questions.
Reply


Possibly Related Threads…
Thread Author Replies Views Last Post
  Multilingual translator with intelligent intermediate form AndrzejB 1 1,781 Jul-26-2020, 03:08 PM
Last Post: AndrzejB

Forum Jump:

User Panel Messages

Announcements
Announcement #1 8/1/2020
Announcement #2 8/2/2020
Announcement #3 8/6/2020