Python Forum
a function to look for dates in a string
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
a function to look for dates in a string
#7
nice page. some good stuff there.

what i need is position relationships with other recognized text like people's names and select words. some things won't always be present. some text examples might be:
Henry Tudor born 28 Jun 1491, died 28 Jan 1547, became King Henry VIII on 24 Jun 1509 at his official coronation.
Prince Henry b. 28 Jun 1491 d. Jan 1547, m. Catherine of Aragon 11 Jun 1509.
Henry Tudor (1491-1547) married his 1st wife before he became king.
the date parsing is effectively to assist the text parsing to make it trivial to spot dates and/or times in the text. other kinds of text will be spotted or recognized by other tools to reduce some historical text for genealogical purposes.

interesting! i got back a message that said there was an error posting ... it faded away before i could read it all. i only got to read about half of it. but it posted, anyway.
Tradition is peer pressure from dead people

What do you call someone who speaks three languages? Trilingual. Two languages? Bilingual. One language? American.
Reply


Messages In This Thread
RE: a function to look for dates in a string - by Skaperen - May-09-2020, 11:03 PM

Possibly Related Threads…
Thread Author Replies Views Last Post
  passing a string to a function to be a f-string Skaperen 3 4,092 Nov-06-2020, 06:14 AM
Last Post: Gribouillis
  f-string capability in a function Skaperen 8 5,804 Dec-26-2019, 03:19 AM
Last Post: Skaperen
  function t split a string Skaperen 2 1,861 Apr-23-2019, 06:03 PM
Last Post: Skaperen

Forum Jump:

User Panel Messages

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