Parse Story Text
Closed this issue · 2 comments
liliumorion commented
-
Create a function parseStory(rawStory) to parse the raw story into an array of objects with words and their corresponding parts of speech.
-
Use regular expressions to identify words and their parts of speech.
-
Return the array of parsed objects.
riadhmouamnia commented
I have created the story parser function here you can check it out: 680e0ba
mohamed70601 commented
Thank you everyone, issue solved.