Skip to content

change program name of pycrfsuite #1

@fanchyna

Description

@fanchyna

pycrfsuite is the same name as a function used in NLTK, so anytime NLTK is imported, its submodules import a module called crf.py which imports a module called pycrfsuite. Because there is a local file called pycrfsuite.py, NLTK imports the local copy which is buggy. As a result, anytime I try to run a program that imports nltk, it runs a statement inside the local pycrfsuite, which prints an error message.

Please change its name to something else to avoid such an issue. Thanks.

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