code: def get_phrase_texts(self, text, np_labels):
          ''' Given a Text, and a list describing text annotations in the 
              B-I-O format (*np_label*), extracts phrases and returns as a
              list of phrase texts;
              
              Assumes that the input is same as the input acceptable for 
              the method NounPhraseChunker.get_phrases();
              
              Returns
              -------
              list of string
                  Returns a list of phrase texts;
          '''
          phrases = self.get_phrases(text, np_labels)
          texts = []
          for phrase in phrases:
              phrase_str = ' '.join([word[TEXT] for word in phrase])
              texts.append( phrase_str )
          return textf get_phrase_texts(self, text, np_labels):
          ''' Given a Text, and a list describing text annotations in the 
              B-I-O format (*np_label*), extracts phrases and returns as a
              list of phrase texts;
              
              Assumes that the input is same as the input acceptable for 
              the method NounPhraseChunker.get_phrases();
              
              Returns
              -------
              list of string
                  Returns a list of phrase texts;
          '''
          phrases = self.get_phrases(text, np_labels)
          texts = []
          for phrase in phrases:
              phrase_str = ' '.join([word[TEXT] for word in phrase])
              texts.append( phrase_str )
          return texts
docs: Given a Text, and a list describing text annotations in the 
              B-I-O format (*np_label*), extracts phrases and returns as a
              list of phrase texts;
              
              Assumes that the input is same as the input acceptable for 
              the method NounPhraseChunker.get_phrases();
              
              Returns
              -------
              list of string
                  Returns a list of phrase texts;