from_serialized Document A class method for creating and initializing a new document from a serialized string generated by Document.to_serialized_string(). ![]() to_serialized bytes Dumps (with pickle) the whole document including text to a byte array containing a list of list of dictionaries for each token in each sentence in the doc. ![]() to_dict List] Dumps the whole document into a list of list of dictionaries, each dictionary representing a token, which are grouped by sentences in the document. iter_tokens Iterator An iterator that returns all of the tokens in this Document in order. Method Return Type Description iter_words Iterator An iterator that returns all of the words in this Document in order. This site is based on a Jekyll theme Just the Docs. ![]() Stanza is created by the Stanford NLP Group.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |