title: Is there a machine learning method to learn the structure of a sentence instead of the words?
body: <p>I'm trying to use HMM to do named entity recognition but later on, I found most of the sentences that contain the entities are very structured. For example:
  What's Apple's price today? Than instead to teach the model to learn each word within the sentence, can i teach it to learn the structure of the sentence? Like every word after "What's " or "What is" should be the name of a kind of fruit?</p>
  
  <p>Thanks!</p>