code: def test_py35_dict_keyerror(self):
      text = "linear constraints over the set of natural numbers"
      doc = self.nlp(text)
      phrases = [p.text for p in doc._.phrases]
  
      print("\nUSING: |{}|\n  =>{}".format(text, phrases))
      self.assertTrue(any(map(lambda x: "constraints" in x, phrases)))
  
file_path: pytextrank/deprecated/test.py
imports: import spacy
  import pytextrank
  import traceback
  import unittest
label_desc: Use image node_id 3 for calling the TestPTR obj's underlying member method code with example usage: obj.test_py35_dict_keyerror() without return types