title: Stanford parser and nltk produce (regular expression matching?) error
body: <p>I am trying to use Stanford parser with nltk, but this simple code </p>
  
  <pre><code>from nltk.parse.stanford import StanfordParser
  
  parser = StanfordParser('stanford-parser.jar','stanford-parser-3.5-models.jar')
  </code></pre>
  
  <p>gives me following error</p>
  
  <pre><code>Traceback (most recent call last):
    File "temp_parser_new.py", line 4, in &lt;module&gt;
      parser = StanfordParser('stanford-parser.jar','stanford-parser-3.5-models.jar')
    File     "/Library/Frameworks/Python.framework/Versions/3.4/lib/python3.4/site-packages/nltk/parse/stanford.py", line 99, in __init__
  key=lambda model_name: re.match(self._MODEL_JAR_PATTERN, model_name)
  TypeError: unorderable types: NoneType() &gt; _sre.SRE_Match()
  </code></pre>
  
  <p>Can you suggest me solution to this problem? Thank you!</p>
  
  <p>Edit: solved with rebooting. </p>