Skip to content

Bug in tokenizer for Tibetian Language #50

@asusdisciple

Description

@asusdisciple

At the moment you cant use tibetian language tokenizer. It gives the error message:

TypeError: "module" object is not callable

The error is thrown here in sentence_split.py:

    elif split_algo == "bodnlp":
        logger.info(f" - Tibetan NLTK sentence splitter applied to '{lang}'")
        from botok.tokenizers import sentencetokenizer as bod_sent_tok

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