Josh 37 Posted October 11, 2012 Report Share Posted October 11, 2012 I'm trying to separate articles into single sentences, but I'm not sure about the best way to go about it. Would this be something I would need to use regex to complete? Any thoughts? Ideas? Quote Link to post Share on other sites
LoWrIdErTJ - BotGuru 904 Posted October 11, 2012 Report Share Posted October 11, 2012 so say you have an article with sentences, and paragraphs. you want it broke down to sentences yes? could do a replace on any punctuation marks and replace with that same punctuation mark, and new line then add list to list, list from text the new text available and would be 1 sentence per row in the list. if you have an example article post here and ill show you example code when i get back to the pc. Quote Link to post Share on other sites
Josh 37 Posted October 11, 2012 Author Report Share Posted October 11, 2012 so say you have an article with sentences, and paragraphs. you want it broke down to sentences yes? could do a replace on any punctuation marks and replace with that same punctuation mark, and new line then add list to list, list from text the new text available and would be 1 sentence per row in the list. if you have an example article post here and ill show you example code when i get back to the pc. Thanks! That is way more simple then I was thinking. That will work just fine. Quote Link to post Share on other sites
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.