diff --git a/website/meta/universe.json b/website/meta/universe.json index db533c3b2..954e9b682 100644 --- a/website/meta/universe.json +++ b/website/meta/universe.json @@ -4151,6 +4151,33 @@ "description": "Episodes about spaCy or interviews with the spaCy team" } ] + }, + { + "id": "spacy-pythainlp", + "title": "spaCy-PyThaiNLP", + "slogan": "PyThaiNLP For spaCy", + "description": "This package wraps the PyThaiNLP library to add support Thai for spaCy.", + "github": "PyThaiNLP/spaCy-PyThaiNLP", + "code_example": [ + "import spacy", + "from spacy_pythainlp.core import *", + "", + "nlp = spacy.blank('th')", + "nlp.add_pipe('pythainlp')", + "doc = nlp('ผมเป็นคนไทย แต่มะลิอยากไปโรงเรียนส่วนผมจะไปไหน ผมอยากไปเที่ยว')", + "", + "print(list(list(doc.sents)))", + "# output: [ผมเป็นคนไทย แต่มะลิอยากไปโรงเรียนส่วนผมจะไปไหน , ผมอยากไปเที่ยว]" + ], + "code_language": "python", + "author": "Wannaphong Phatthiyaphaibun", + "author_links": { + "twitter": "@wannaphong_p", + "github": "wannaphong", + "website": "https://github.com/PyThaiNLP/spaCy-PyThaiNLP" + }, + "category": ["pipeline", "research"], + "tags": ["Thai"] } ] }