def get_words(self, include_freq=False, on_unicode_error='<STR_LIT:strict>'):
pair = self.f.getVocab(on_unicode_error)<EOL>if include_freq:<EOL><INDENT>return (pair[<NUM_LIT:0>], np.array(pair[<NUM_LIT:1>]))<EOL><DEDENT>else:<EOL><INDENT>return pair[<NUM_LIT:0>]<EOL><DEDENT>
Get the entire list of words of the dictionary optionally
including the frequency of the individual words. This
does not include any subwords. For that please consult
the function get_subwords.