Downloads · 30 days
0
JephteyAdolphe/ht_core_news_sm
ht_core_news_sm is a machine learning model from JephteyAdolphe. Use it for the machine learning task on the model card, and read the license before you ship it in a product. It is set up for spacy. The card lists the license as mit.
Language: Haitian Creole (ht) Type: spaCy pipeline (tokenizer, POS tagger, dependency parser) Size: Small (optimized for efficiency)
Downloads · 30 days
0
Access
Public
Updated May 1, 2025
Repo size
19.4 MB
Likes
0
Public
Click a slice to open those files.
.gz6.5 MB · 100%
From the Hugging Face model README
Language: Haitian Creole (ht)
Type: spaCy pipeline (tokenizer, POS tagger, dependency parser)
Size: Small (optimized for efficiency)
import spacy
texts = [
"Si'm ka vini, m'ap pale ak li.", "M ap teste model lan (pou kounye a).",
"Map manje gato a pandan map gade televizyon lem lakay mwen.",
"M ap pale ak ou le w vini demen.", "M'ap vini, eske wap la avek lajan'm? Si ou, di'l non pou fre'w."
]
nlp = spacy.load("ht_core_news_sm")
for text in texts:
doc = nlp(text)
# Tokenization, POS tagging, Lemmatization, Dependency parsing
print("Tokens, NORM, POS (tag), Dependency:")
print(len(doc))
for token in doc:
print(f"{token.text} | {token.norm_} | {token.tag_} | {token.dep_}")
print("\n")