I am attempting to extract this type of information from the following paragraph structure: women_ran men_ran kids_ran walked 1 2 1 3 2 4 3 1 3 6 5 2 text = ["On Tuesday, one women ran on the street while 2 men ran and 1 child ran on the sidewalk. Also, there were 3 people walking.", "One person was walking yesterday, but there were 2 women running as well as 4 men and 3 kids running.", "The other day, there were three women running and also 6 men and 5 kids running on the sidewalk. Also, there were 2 people walking in the park."] I am using Python's spaCy as my NLP library. What would be the best way to extract this tabular information from such sentences? If it was simply a matter of identifying whether there were individuals running or walking, I would just use sklearn to fit a classification model, but the information that I need to extract is obviously more granular than that (I am trying to retrieve subcategories and values for each). Continue reading...