Skip to content

Memoize tokenization and pos tagging within the Document class. #135

@kenalba

Description

@kenalba

Tokenization and parts-of-speech tagging is some of the most resource-intensive stuff we do, and there are several functions (like run_adj_analysis) where we do this multiple times to the same document. Memoizing this information once it's been computed within the Document function should provide substantial performance improvements with little overhead.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions