title: What does the spaCy PhraseMatcher match on?
body: <p>What attributes of the tokens within a <code>doc</code> object does a <code>PhraseMatcher</code> check for and require to find a match?</p>
  
  <p>For example, if I just create a <code>doc</code> using</p>
  
  <pre><code>doc1 = nlp('lead')
  </code></pre>
  
  <p>then the 'lead' token is an ADJ, whereas if I have a doc such as</p>
  
  <pre><code>doc2 = nlp('lead plate')
  </code></pre>
  
  <p>then the 'lead' token is a NOUN. </p>
  
  <p>If I add <code>doc1</code> to a <code>PhraseMatcher</code> instance, should I expect that this matcher finds a match in <code>doc2</code>?</p>
  
  <p>Similarly for if I have, e.g.</p>
  
  <pre><code>doc1 = nlp('Lead')
  doc2 = nlp('lead')
  </code></pre>
  
  <p>I.e. is it case sensitive?</p>
  
  <p>This is not to mention token attributes like dependency, etc. I didn't find the documentation to be clear on this.</p>