The difficulty of extracting and parsing text from an unstructured source is will documented. A general formula that lets you parse text would be incredibly powerful because it can handle every kind of textual document that is thrown at it.
An easy way to do it would be to split the text on spaces, and tag each part of speech.