Skip to content

Commit bdb69ef

Browse files
Copilotwannaphong
andcommitted
Add type hints, docstrings, and improve code quality in core.py
Co-authored-by: wannaphong <8536487+wannaphong@users.noreply.github.com>
1 parent 59613e4 commit bdb69ef

3 files changed

Lines changed: 237 additions & 121 deletions

File tree

spacy_pythainlp/ __init__.py

Whitespace-only changes.

spacy_pythainlp/__init__.py

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
"""
2+
spaCy-PyThaiNLP: Thai language support for spaCy using PyThaiNLP.
3+
4+
This package provides a spaCy pipeline component that integrates PyThaiNLP's
5+
Thai NLP capabilities, including tokenization, POS tagging, NER, sentence
6+
segmentation, dependency parsing, and word vectors.
7+
"""
8+
9+
from spacy_pythainlp.core import PyThaiNLP
10+
11+
__version__ = "0.1.0"
12+
__all__ = ["PyThaiNLP"]

0 commit comments

Comments
 (0)