title: Parse text to get the proper nouns (names and organizations) - python nltk
body: <p>I am trying to extract proper nouns as in Names and Organization names from very small chunks of texts like sms, the basic parsers available with nltk <a href="https://stackoverflow.com/questions/17669952/finding-proper-nouns-using-nltk-wordnet">Finding Proper Nouns using NLTK WordNet</a> are being able to get the nouns but the problem is when we get proper nouns <strong>not</strong> starting with a capital letter , for texts like this the names like sumit do not get recognized as proper nouns</p>
  
  <pre><code>&gt;&gt;&gt; sentence = "i spoke with sumit and rajesh and Samit about the gridlock situation last night @ around 8 pm last nite"
  &gt;&gt;&gt; tagged_sent = pos_tag(sentence.split())
  &gt;&gt;&gt; print tagged_sent
  [('i', 'PRP'), ('spoke', 'VBP'), ('with', 'IN'), **('sumit', 'NN')**, ('and', 'CC'), ('rajesh', 'JJ'), ('and', 'CC'), **('Samit', 'NNP'),** ('about', 'IN'), ('the', 'DT'), ('gridlock', 'NN'), ('situation', 'NN'), ('last', 'JJ'), ('night', 'NN'), ('@', 'IN'), ('around', 'IN'), ('8', 'CD'), ('pm', 'NN'), ('last', 'JJ'), ('nite', 'NN')]
  </code></pre>