title: NLP - subject of sentence
body: <p>I am trying to get the main subject of a sentence, i.e what a sentence is talking about (not the grammatical subject which may be different).</p>
  
  <p>So far I have got </p>
  
  <p>1.) OpenNLP in Java which is giving me sentence detection, POS tagging, parsing, tokenizer and Name Finder.</p>
  
  <p>2.) MatlParser,stanford Parser - which can give the grammatical subject of a simple sentence by dependency parsing.</p>
  
  <p>I think a noun or a noun phrase will always be subject in more general sense,but a sentence can have many nouns and noun phrases.
  Any help would be much appreciated.</p>