Lightweight NLP library in pure Python - currently implements a text classifier
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
# SPDX-License-Identifier: GPL-3.0-or-later |
|
|
|
"""General-Purpose Text Classifier""" |
|
|
|
from gptc.pack import pack |
|
from gptc.model import Model |
|
from gptc.tokenizer import normalize |
|
from gptc.exceptions import ( |
|
GPTCError, |
|
ModelError, |
|
InvalidModelError, |
|
)
|
|
|