mirror of
https://github.com/explosion/spaCy.git
synced 2024-11-14 21:57:15 +03:00
fc91660aa2
* Initialize Malayalam Language class * Add lex_attrs and examples for Malayalam * Add spaCy Contributor Agreement * Add test for ml tokenizer
19 lines
303 B
Python
19 lines
303 B
Python
# coding: utf8
|
|
from __future__ import unicode_literals
|
|
|
|
from .stop_words import STOP_WORDS
|
|
|
|
from ...language import Language
|
|
|
|
|
|
class MalayalamDefaults(Language.Defaults):
|
|
stop_words = STOP_WORDS
|
|
|
|
|
|
class Malayalam(Language):
|
|
lang = "ml"
|
|
Defaults = MalayalamDefaults
|
|
|
|
|
|
__all__ = ["Malayalam"]
|