id int64 0 328k | repository_name stringlengths 7 58 | file_path stringlengths 9 302 | class_name stringlengths 5 256 | human_written_code stringlengths 16 2.16M | class_skeleton stringlengths 18 1.49M ⌀ | total_program_units int64 1 1.76k | total_doc_str int64 0 771 | AvgCountLine float64 0 7.89k | AvgCountLineBlank float64 0 297 | AvgCountLineCode float64 0 7.89k | AvgCountLineComment float64 0 7.89k | AvgCyclomatic float64 0 130 | CommentToCodeRatio float64 0 168 | CountClassBase float64 0 40 | CountClassCoupled float64 0 583 | CountClassCoupledModified float64 0 575 | CountClassDerived float64 0 5.35k | CountDeclInstanceMethod float64 0 529 | CountDeclInstanceVariable float64 0 296 | CountDeclMethod float64 0 599 | CountDeclMethodAll float64 0 1.12k | CountLine float64 1 40.4k | CountLineBlank float64 0 8.16k | CountLineCode float64 1 25.7k | CountLineCodeDecl float64 1 8.15k | CountLineCodeExe float64 0 24.2k | CountLineComment float64 0 16.5k | CountStmt float64 1 9.71k | CountStmtDecl float64 1 8.15k | CountStmtExe float64 0 9.69k | MaxCyclomatic float64 0 759 | MaxInheritanceTree float64 0 16 | MaxNesting float64 0 34 | SumCyclomatic float64 0 2.9k |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
13,100 | explosion/spaCy | explosion_spaCy/spacy/cli/init_config.py | spacy.cli.init_config.Optimizations | from enum import Enum
class Optimizations(str, Enum):
efficiency = 'efficiency'
accuracy = 'accuracy' |
class Optimizations(str, Enum):
pass | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 2 | 0 | 0 | 0 | 0 | 0 | 0 | 115 | 3 | 0 | 3 | 3 | 2 | 0 | 3 | 3 | 2 | 0 | 4 | 0 | 0 |
13,101 | explosion/spaCy | explosion_spaCy/spacy/displacy/render.py | spacy.displacy.render.DependencyRenderer | from ..errors import Errors
from .templates import TPL_DEP_ARCS, TPL_DEP_SVG, TPL_DEP_WORDS, TPL_DEP_WORDS_LEMMA, TPL_ENT, TPL_ENT_RTL, TPL_ENTS, TPL_FIGURE, TPL_KB_LINK, TPL_PAGE, TPL_SPAN, TPL_SPAN_RTL, TPL_SPAN_SLICE, TPL_SPAN_SLICE_RTL, TPL_SPAN_START, TPL_SPAN_START_RTL, TPL_SPANS, TPL_TITLE
from ..util import esc... |
class DependencyRenderer:
'''Render dependency parses as SVGs.'''
def __init__(self, options: Dict[str, Any]={}) -> None:
'''Initialise dependency renderer.
options (dict): Visualiser-specific options (compact, word_spacing,
arrow_spacing, arrow_width, arrow_stroke, distance, offse... | 9 | 9 | 25 | 1 | 17 | 7 | 4 | 0.39 | 0 | 10 | 1 | 0 | 8 | 18 | 8 | 8 | 211 | 17 | 141 | 67 | 123 | 55 | 97 | 58 | 88 | 7 | 0 | 2 | 28 |
13,102 | explosion/spaCy | explosion_spaCy/spacy/displacy/render.py | spacy.displacy.render.EntityRenderer | from ..util import escape_html, minify_html, registry
from ..errors import Errors
from .templates import TPL_DEP_ARCS, TPL_DEP_SVG, TPL_DEP_WORDS, TPL_DEP_WORDS_LEMMA, TPL_ENT, TPL_ENT_RTL, TPL_ENTS, TPL_FIGURE, TPL_KB_LINK, TPL_PAGE, TPL_SPAN, TPL_SPAN_RTL, TPL_SPAN_SLICE, TPL_SPAN_SLICE_RTL, TPL_SPAN_START, TPL_SPAN_... |
class EntityRenderer:
'''Render named entities as HTML.'''
def __init__(self, options: Dict[str, Any]={}) -> None:
'''Initialise entity renderer.
options (dict): Visualiser-specific options (colors, ents)
'''
pass
def render(self, parsed: List[Dict[str, Any]], page: bool=F... | 4 | 4 | 34 | 1 | 28 | 6 | 7 | 0.21 | 0 | 9 | 2 | 0 | 3 | 6 | 3 | 3 | 110 | 7 | 86 | 39 | 78 | 18 | 73 | 35 | 69 | 9 | 0 | 3 | 21 |
13,103 | explosion/spaCy | explosion_spaCy/spacy/displacy/render.py | spacy.displacy.render.SpanRenderer | from typing import Any, Dict, List, Optional, Tuple, Union
from .templates import TPL_DEP_ARCS, TPL_DEP_SVG, TPL_DEP_WORDS, TPL_DEP_WORDS_LEMMA, TPL_ENT, TPL_ENT_RTL, TPL_ENTS, TPL_FIGURE, TPL_KB_LINK, TPL_PAGE, TPL_SPAN, TPL_SPAN_RTL, TPL_SPAN_SLICE, TPL_SPAN_SLICE_RTL, TPL_SPAN_START, TPL_SPAN_START_RTL, TPL_SPANS, T... |
class SpanRenderer:
'''Render Spans as SVGs.'''
def __init__(self, options: Dict[str, Any]={}) -> None:
'''Initialise span renderer
options (dict): Visualiser-specific options (colors, spans)
'''
pass
def render(self, parsed: List[Dict[str, Any]], page: bool=False, minify:... | 9 | 8 | 32 | 2 | 23 | 8 | 4 | 0.35 | 0 | 9 | 2 | 0 | 6 | 10 | 7 | 7 | 237 | 19 | 162 | 68 | 144 | 57 | 109 | 58 | 101 | 8 | 0 | 4 | 29 |
13,104 | explosion/spaCy | explosion_spaCy/spacy/errors.py | spacy.errors.Errors | class Errors(metaclass=ErrorsWithCodes):
E001 = "No component '{name}' found in pipeline. Available names: {opts}"
E002 = "Can't find factory for '{name}' for language {lang} ({lang_code}). This usually happens when spaCy calls `nlp.{method}` with a custom component name that's not registered on the current lan... | class Errors(metaclass=ErrorsWithCodes):
pass | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0.01 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 14 | 765 | 1 | 763 | 331 | 762 | 4 | 331 | 331 | 330 | 0 | 3 | 0 | 0 |
13,105 | explosion/spaCy | explosion_spaCy/spacy/errors.py | spacy.errors.ErrorsWithCodes | class ErrorsWithCodes(type):
def __getattribute__(self, code):
msg = super().__getattribute__(code)
if code.startswith('__'):
return msg
else:
return '[{code}] {msg}'.format(code=code, msg=msg) | class ErrorsWithCodes(type):
def __getattribute__(self, code):
pass | 2 | 0 | 6 | 0 | 6 | 1 | 2 | 0.14 | 1 | 1 | 0 | 3 | 1 | 0 | 1 | 14 | 7 | 0 | 7 | 3 | 5 | 1 | 6 | 3 | 4 | 2 | 2 | 1 | 2 |
13,106 | explosion/spaCy | explosion_spaCy/spacy/errors.py | spacy.errors.MatchPatternError | class MatchPatternError(ValueError):
def __init__(self, key, errors):
"""Custom error for validating match patterns.
key (str): The name of the matcher rule.
errors (dict): Validation errors (sequence of strings) mapped to pattern
ID, i.e. the index of the added pattern.
... | class MatchPatternError(ValueError):
def __init__(self, key, errors):
'''Custom error for validating match patterns.
key (str): The name of the matcher rule.
errors (dict): Validation errors (sequence of strings) mapped to pattern
ID, i.e. the index of the added pattern.
... | 2 | 1 | 12 | 1 | 6 | 5 | 2 | 0.71 | 1 | 0 | 0 | 0 | 1 | 0 | 1 | 12 | 13 | 1 | 7 | 5 | 5 | 5 | 7 | 5 | 5 | 2 | 4 | 1 | 2 |
13,107 | explosion/spaCy | explosion_spaCy/spacy/errors.py | spacy.errors.Warnings | class Warnings(metaclass=ErrorsWithCodes):
W005 = "Doc object not parsed. This means displaCy won't be able to generate a dependency visualization for it. Make sure the Doc was processed with a model that supports dependency parsing, and not just a language class like `English()`. For more info, see the docs:\nhttp... | class Warnings(metaclass=ErrorsWithCodes):
pass | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0.03 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 14 | 174 | 1 | 172 | 56 | 171 | 5 | 56 | 56 | 55 | 0 | 3 | 0 | 0 |
13,108 | explosion/spaCy | explosion_spaCy/spacy/lang/af/__init__.py | spacy.lang.af.Afrikaans | from ...language import BaseDefaults, Language
class Afrikaans(Language):
lang = 'af'
Defaults = AfrikaansDefaults |
class Afrikaans(Language):
pass | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 64 | 3 | 0 | 3 | 3 | 2 | 0 | 3 | 3 | 2 | 0 | 1 | 0 | 0 |
13,109 | explosion/spaCy | explosion_spaCy/spacy/lang/af/__init__.py | spacy.lang.af.AfrikaansDefaults | from .stop_words import STOP_WORDS
from ...language import BaseDefaults, Language
class AfrikaansDefaults(BaseDefaults):
stop_words = STOP_WORDS |
class AfrikaansDefaults(BaseDefaults):
pass | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 2 | 0 | 2 | 2 | 1 | 0 | 2 | 2 | 1 | 0 | 1 | 0 | 0 |
13,110 | explosion/spaCy | explosion_spaCy/spacy/lang/am/__init__.py | spacy.lang.am.Amharic | from ...language import BaseDefaults, Language
class Amharic(Language):
lang = 'am'
Defaults = AmharicDefaults |
class Amharic(Language):
pass | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 64 | 3 | 0 | 3 | 3 | 2 | 0 | 3 | 3 | 2 | 0 | 1 | 0 | 0 |
13,111 | explosion/spaCy | explosion_spaCy/spacy/lang/am/__init__.py | spacy.lang.am.AmharicDefaults | from .tokenizer_exceptions import TOKENIZER_EXCEPTIONS
from ...language import BaseDefaults, Language
from .lex_attrs import LEX_ATTRS
from ...util import update_exc
from ..tokenizer_exceptions import BASE_EXCEPTIONS
from .stop_words import STOP_WORDS
from .punctuation import TOKENIZER_SUFFIXES
from ...attrs import LAN... |
class AmharicDefaults(BaseDefaults):
pass | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 8 | 0 | 8 | 6 | 7 | 0 | 8 | 6 | 7 | 0 | 1 | 0 | 0 |
13,112 | explosion/spaCy | explosion_spaCy/spacy/lang/ar/__init__.py | spacy.lang.ar.Arabic | from ...language import BaseDefaults, Language
class Arabic(Language):
Defaults = ArabicDefaults
lang = 'ar' |
class Arabic(Language):
pass | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 64 | 3 | 0 | 3 | 3 | 2 | 0 | 3 | 3 | 2 | 0 | 1 | 0 | 0 |
13,113 | explosion/spaCy | explosion_spaCy/spacy/lang/ar/__init__.py | spacy.lang.ar.ArabicDefaults | from .punctuation import TOKENIZER_SUFFIXES
from .tokenizer_exceptions import TOKENIZER_EXCEPTIONS
from ...language import BaseDefaults, Language
from .stop_words import STOP_WORDS
from .lex_attrs import LEX_ATTRS
class ArabicDefaults(BaseDefaults):
tokenizer_exceptions = TOKENIZER_EXCEPTIONS
suffixes = TOKENI... |
class ArabicDefaults(BaseDefaults):
pass | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 | 0 | 6 | 6 | 5 | 0 | 6 | 6 | 5 | 0 | 1 | 0 | 0 |
13,114 | explosion/spaCy | explosion_spaCy/spacy/lang/az/__init__.py | spacy.lang.az.Azerbaijani | from ...language import BaseDefaults, Language
class Azerbaijani(Language):
lang = 'az'
Defaults = AzerbaijaniDefaults |
class Azerbaijani(Language):
pass | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 64 | 3 | 0 | 3 | 3 | 2 | 0 | 3 | 3 | 2 | 0 | 1 | 0 | 0 |
13,115 | explosion/spaCy | explosion_spaCy/spacy/lang/az/__init__.py | spacy.lang.az.AzerbaijaniDefaults | from .lex_attrs import LEX_ATTRS
from .stop_words import STOP_WORDS
from ...language import BaseDefaults, Language
class AzerbaijaniDefaults(BaseDefaults):
lex_attr_getters = LEX_ATTRS
stop_words = STOP_WORDS |
class AzerbaijaniDefaults(BaseDefaults):
pass | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 | 0 | 3 | 3 | 2 | 0 | 3 | 3 | 2 | 0 | 1 | 0 | 0 |
13,116 | explosion/spaCy | explosion_spaCy/spacy/lang/bg/__init__.py | spacy.lang.bg.Bulgarian | from ...language import BaseDefaults, Language
class Bulgarian(Language):
lang = 'bg'
Defaults = BulgarianDefaults |
class Bulgarian(Language):
pass | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 64 | 3 | 0 | 3 | 3 | 2 | 0 | 3 | 3 | 2 | 0 | 1 | 0 | 0 |
13,117 | explosion/spaCy | explosion_spaCy/spacy/lang/bg/__init__.py | spacy.lang.bg.BulgarianDefaults | from ...util import update_exc
from .lex_attrs import LEX_ATTRS
from ...language import BaseDefaults, Language
from ..punctuation import COMBINING_DIACRITICS_TOKENIZER_INFIXES, COMBINING_DIACRITICS_TOKENIZER_SUFFIXES
from ...attrs import LANG
from .stop_words import STOP_WORDS
from .tokenizer_exceptions import TOKENIZE... |
class BulgarianDefaults(BaseDefaults):
pass | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 10 | 2 | 8 | 6 | 7 | 0 | 8 | 6 | 7 | 0 | 1 | 0 | 0 |
13,118 | explosion/spaCy | explosion_spaCy/spacy/lang/bn/__init__.py | spacy.lang.bn.Bengali | from ...language import BaseDefaults, Language
class Bengali(Language):
lang = 'bn'
Defaults = BengaliDefaults |
class Bengali(Language):
pass | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 64 | 3 | 0 | 3 | 3 | 2 | 0 | 3 | 3 | 2 | 0 | 1 | 0 | 0 |
13,119 | explosion/spaCy | explosion_spaCy/spacy/lang/bn/__init__.py | spacy.lang.bn.BengaliDefaults | from .stop_words import STOP_WORDS
from .tokenizer_exceptions import TOKENIZER_EXCEPTIONS
from .punctuation import TOKENIZER_INFIXES, TOKENIZER_PREFIXES, TOKENIZER_SUFFIXES
from ...language import BaseDefaults, Language
class BengaliDefaults(BaseDefaults):
tokenizer_exceptions = TOKENIZER_EXCEPTIONS
prefixes =... |
class BengaliDefaults(BaseDefaults):
pass | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 | 0 | 6 | 6 | 5 | 0 | 6 | 6 | 5 | 0 | 1 | 0 | 0 |
13,120 | explosion/spaCy | explosion_spaCy/spacy/lang/bo/__init__.py | spacy.lang.bo.Tibetan | from ...language import BaseDefaults, Language
class Tibetan(Language):
lang = 'bo'
Defaults = TibetanDefaults |
class Tibetan(Language):
pass | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 64 | 3 | 0 | 3 | 3 | 2 | 0 | 3 | 3 | 2 | 0 | 1 | 0 | 0 |
13,121 | explosion/spaCy | explosion_spaCy/spacy/lang/bo/__init__.py | spacy.lang.bo.TibetanDefaults | from .stop_words import STOP_WORDS
from ...language import BaseDefaults, Language
from .lex_attrs import LEX_ATTRS
class TibetanDefaults(BaseDefaults):
lex_attr_getters = LEX_ATTRS
stop_words = STOP_WORDS |
class TibetanDefaults(BaseDefaults):
pass | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 | 0 | 3 | 3 | 2 | 0 | 3 | 3 | 2 | 0 | 1 | 0 | 0 |
13,122 | explosion/spaCy | explosion_spaCy/spacy/lang/ca/__init__.py | spacy.lang.ca.Catalan | from ...language import BaseDefaults, Language
class Catalan(Language):
lang = 'ca'
Defaults = CatalanDefaults |
class Catalan(Language):
pass | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 64 | 3 | 0 | 3 | 3 | 2 | 0 | 3 | 3 | 2 | 0 | 1 | 0 | 0 |
13,123 | explosion/spaCy | explosion_spaCy/spacy/lang/ca/__init__.py | spacy.lang.ca.CatalanDefaults | from ...language import BaseDefaults, Language
from .syntax_iterators import SYNTAX_ITERATORS
from .punctuation import TOKENIZER_INFIXES, TOKENIZER_PREFIXES, TOKENIZER_SUFFIXES
from .lex_attrs import LEX_ATTRS
from .tokenizer_exceptions import TOKENIZER_EXCEPTIONS
from .stop_words import STOP_WORDS
class CatalanDefaul... |
class CatalanDefaults(BaseDefaults):
pass | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 8 | 0 | 8 | 8 | 7 | 0 | 8 | 8 | 7 | 0 | 1 | 0 | 0 |
13,124 | explosion/spaCy | explosion_spaCy/spacy/lang/ca/lemmatizer.py | spacy.lang.ca.lemmatizer.CatalanLemmatizer | from ...tokens import Token
from typing import List, Tuple
from ...pipeline import Lemmatizer
class CatalanLemmatizer(Lemmatizer):
"""
Copied from French Lemmatizer
Catalan language lemmatizer applies the default rule based lemmatization
procedure with some modifications for better Catalan language sup... |
class CatalanLemmatizer(Lemmatizer):
'''
Copied from French Lemmatizer
Catalan language lemmatizer applies the default rule based lemmatization
procedure with some modifications for better Catalan language support.
The parts of speech 'ADV', 'PRON', 'DET', 'ADP' and 'AUX' are added to use
the r... | 4 | 1 | 31 | 1 | 30 | 1 | 7 | 0.15 | 1 | 4 | 0 | 0 | 1 | 0 | 2 | 2 | 75 | 4 | 62 | 19 | 58 | 9 | 45 | 18 | 42 | 12 | 1 | 4 | 14 |
13,125 | explosion/spaCy | explosion_spaCy/spacy/lang/cs/__init__.py | spacy.lang.cs.Czech | from ...language import BaseDefaults, Language
class Czech(Language):
lang = 'cs'
Defaults = CzechDefaults |
class Czech(Language):
pass | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 64 | 3 | 0 | 3 | 3 | 2 | 0 | 3 | 3 | 2 | 0 | 1 | 0 | 0 |
13,126 | explosion/spaCy | explosion_spaCy/spacy/lang/cs/__init__.py | spacy.lang.cs.CzechDefaults | from ...language import BaseDefaults, Language
from .stop_words import STOP_WORDS
from .lex_attrs import LEX_ATTRS
class CzechDefaults(BaseDefaults):
lex_attr_getters = LEX_ATTRS
stop_words = STOP_WORDS |
class CzechDefaults(BaseDefaults):
pass | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 | 0 | 3 | 3 | 2 | 0 | 3 | 3 | 2 | 0 | 1 | 0 | 0 |
13,127 | explosion/spaCy | explosion_spaCy/spacy/lang/da/__init__.py | spacy.lang.da.Danish | from ...language import BaseDefaults, Language
class Danish(Language):
lang = 'da'
Defaults = DanishDefaults |
class Danish(Language):
pass | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 64 | 3 | 0 | 3 | 3 | 2 | 0 | 3 | 3 | 2 | 0 | 1 | 0 | 0 |
13,128 | explosion/spaCy | explosion_spaCy/spacy/lang/da/__init__.py | spacy.lang.da.DanishDefaults | from .lex_attrs import LEX_ATTRS
from .punctuation import TOKENIZER_INFIXES, TOKENIZER_SUFFIXES
from .tokenizer_exceptions import TOKENIZER_EXCEPTIONS
from .syntax_iterators import SYNTAX_ITERATORS
from .stop_words import STOP_WORDS
from ...language import BaseDefaults, Language
class DanishDefaults(BaseDefaults):
... |
class DanishDefaults(BaseDefaults):
pass | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 7 | 0 | 7 | 7 | 6 | 0 | 7 | 7 | 6 | 0 | 1 | 0 | 0 |
13,129 | explosion/spaCy | explosion_spaCy/spacy/lang/de/__init__.py | spacy.lang.de.German | from ...language import BaseDefaults, Language
class German(Language):
lang = 'de'
Defaults = GermanDefaults |
class German(Language):
pass | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 64 | 3 | 0 | 3 | 3 | 2 | 0 | 3 | 3 | 2 | 0 | 1 | 0 | 0 |
13,130 | explosion/spaCy | explosion_spaCy/spacy/lang/de/__init__.py | spacy.lang.de.GermanDefaults | from .syntax_iterators import SYNTAX_ITERATORS
from .stop_words import STOP_WORDS
from .punctuation import TOKENIZER_INFIXES, TOKENIZER_PREFIXES, TOKENIZER_SUFFIXES
from ...language import BaseDefaults, Language
from .tokenizer_exceptions import TOKENIZER_EXCEPTIONS
class GermanDefaults(BaseDefaults):
tokenizer_ex... |
class GermanDefaults(BaseDefaults):
pass | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 7 | 0 | 7 | 7 | 6 | 0 | 7 | 7 | 6 | 0 | 1 | 0 | 0 |
13,131 | explosion/spaCy | explosion_spaCy/spacy/lang/dsb/__init__.py | spacy.lang.dsb.LowerSorbian | from ...language import BaseDefaults, Language
class LowerSorbian(Language):
lang = 'dsb'
Defaults = LowerSorbianDefaults |
class LowerSorbian(Language):
pass | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 64 | 3 | 0 | 3 | 3 | 2 | 0 | 3 | 3 | 2 | 0 | 1 | 0 | 0 |
13,132 | explosion/spaCy | explosion_spaCy/spacy/lang/dsb/__init__.py | spacy.lang.dsb.LowerSorbianDefaults | from .lex_attrs import LEX_ATTRS
from .stop_words import STOP_WORDS
from ...language import BaseDefaults, Language
class LowerSorbianDefaults(BaseDefaults):
lex_attr_getters = LEX_ATTRS
stop_words = STOP_WORDS |
class LowerSorbianDefaults(BaseDefaults):
pass | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 | 0 | 3 | 3 | 2 | 0 | 3 | 3 | 2 | 0 | 1 | 0 | 0 |
13,133 | explosion/spaCy | explosion_spaCy/spacy/lang/el/__init__.py | spacy.lang.el.Greek | from ...language import BaseDefaults, Language
class Greek(Language):
lang = 'el'
Defaults = GreekDefaults |
class Greek(Language):
pass | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 64 | 3 | 0 | 3 | 3 | 2 | 0 | 3 | 3 | 2 | 0 | 1 | 0 | 0 |
13,134 | explosion/spaCy | explosion_spaCy/spacy/lang/el/__init__.py | spacy.lang.el.GreekDefaults | from ...language import BaseDefaults, Language
from .syntax_iterators import SYNTAX_ITERATORS
from .punctuation import TOKENIZER_INFIXES, TOKENIZER_PREFIXES, TOKENIZER_SUFFIXES
from .stop_words import STOP_WORDS
from .tokenizer_exceptions import TOKENIZER_EXCEPTIONS
from .lex_attrs import LEX_ATTRS
class GreekDefaults... |
class GreekDefaults(BaseDefaults):
pass | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 8 | 0 | 8 | 8 | 7 | 0 | 8 | 8 | 7 | 0 | 1 | 0 | 0 |
13,135 | explosion/spaCy | explosion_spaCy/spacy/lang/el/lemmatizer.py | spacy.lang.el.lemmatizer.GreekLemmatizer | from ...tokens import Token
from typing import List
from ...pipeline import Lemmatizer
class GreekLemmatizer(Lemmatizer):
"""
Greek language lemmatizer applies the default rule based lemmatization
procedure with some modifications for better Greek language support.
The first modification is that it ch... |
class GreekLemmatizer(Lemmatizer):
'''
Greek language lemmatizer applies the default rule based lemmatization
procedure with some modifications for better Greek language support.
The first modification is that it checks if the word for lemmatization is
already a lemma and if yes, it just returns it... | 2 | 2 | 45 | 3 | 38 | 4 | 11 | 0.31 | 1 | 3 | 0 | 0 | 1 | 0 | 1 | 1 | 56 | 5 | 39 | 15 | 37 | 12 | 37 | 15 | 35 | 11 | 1 | 4 | 11 |
13,136 | explosion/spaCy | explosion_spaCy/spacy/lang/en/__init__.py | spacy.lang.en.English | from ...language import BaseDefaults, Language
class English(Language):
lang = 'en'
Defaults = EnglishDefaults |
class English(Language):
pass | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 64 | 3 | 0 | 3 | 3 | 2 | 0 | 3 | 3 | 2 | 0 | 1 | 0 | 0 |
13,137 | explosion/spaCy | explosion_spaCy/spacy/lang/en/__init__.py | spacy.lang.en.EnglishDefaults | from .tokenizer_exceptions import TOKENIZER_EXCEPTIONS
from ...language import BaseDefaults, Language
from .stop_words import STOP_WORDS
from .punctuation import TOKENIZER_INFIXES
from .syntax_iterators import SYNTAX_ITERATORS
from .lex_attrs import LEX_ATTRS
class EnglishDefaults(BaseDefaults):
tokenizer_exceptio... |
class EnglishDefaults(BaseDefaults):
pass | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 | 0 | 6 | 6 | 5 | 0 | 6 | 6 | 5 | 0 | 1 | 0 | 0 |
13,138 | explosion/spaCy | explosion_spaCy/spacy/lang/en/lemmatizer.py | spacy.lang.en.lemmatizer.EnglishLemmatizer | from ...tokens import Token
from ...pipeline import Lemmatizer
class EnglishLemmatizer(Lemmatizer):
"""English lemmatizer. Only overrides is_base_form."""
def is_base_form(self, token: Token) -> bool:
"""
Check whether we're dealing with an uninflected paradigm, so we can
avoid lemmati... |
class EnglishLemmatizer(Lemmatizer):
'''English lemmatizer. Only overrides is_base_form.'''
def is_base_form(self, token: Token) -> bool:
'''
Check whether we're dealing with an uninflected paradigm, so we can
avoid lemmatization entirely.
univ_pos (str / int): The token's univ... | 2 | 2 | 33 | 1 | 23 | 9 | 8 | 0.42 | 1 | 1 | 0 | 0 | 1 | 0 | 1 | 1 | 36 | 2 | 24 | 4 | 22 | 10 | 13 | 4 | 11 | 8 | 1 | 1 | 8 |
13,139 | explosion/spaCy | explosion_spaCy/spacy/lang/es/__init__.py | spacy.lang.es.Spanish | from ...language import BaseDefaults, Language
class Spanish(Language):
lang = 'es'
Defaults = SpanishDefaults |
class Spanish(Language):
pass | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 64 | 3 | 0 | 3 | 3 | 2 | 0 | 3 | 3 | 2 | 0 | 1 | 0 | 0 |
13,140 | explosion/spaCy | explosion_spaCy/spacy/lang/es/__init__.py | spacy.lang.es.SpanishDefaults | from .tokenizer_exceptions import TOKENIZER_EXCEPTIONS
from .syntax_iterators import SYNTAX_ITERATORS
from .punctuation import TOKENIZER_INFIXES, TOKENIZER_SUFFIXES
from .stop_words import STOP_WORDS
from ...language import BaseDefaults, Language
from .lex_attrs import LEX_ATTRS
class SpanishDefaults(BaseDefaults):
... |
class SpanishDefaults(BaseDefaults):
pass | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 7 | 0 | 7 | 7 | 6 | 0 | 7 | 7 | 6 | 0 | 1 | 0 | 0 |
13,141 | explosion/spaCy | explosion_spaCy/spacy/lang/es/lemmatizer.py | spacy.lang.es.lemmatizer.SpanishLemmatizer | import re
from typing import List, Optional, Tuple
from ...tokens import Token
from ...pipeline import Lemmatizer
class SpanishLemmatizer(Lemmatizer):
"""
Spanish rule-based lemmatizer with morph-based rule selection.
"""
@classmethod
def get_lookups_config(cls, mode: str) -> Tuple[List[str], List... |
class SpanishLemmatizer(Lemmatizer):
'''
Spanish rule-based lemmatizer with morph-based rule selection.
'''
@classmethod
def get_lookups_config(cls, mode: str) -> Tuple[List[str], List[str]]:
pass
def rule_lemmatize(self, token: Token) -> List[str]:
pass
def select_rule(se... | 13 | 8 | 37 | 3 | 24 | 10 | 8 | 0.41 | 1 | 6 | 0 | 0 | 10 | 0 | 11 | 11 | 421 | 49 | 265 | 83 | 236 | 108 | 200 | 66 | 188 | 20 | 1 | 7 | 91 |
13,142 | explosion/spaCy | explosion_spaCy/spacy/lang/et/__init__.py | spacy.lang.et.Estonian | from ...language import BaseDefaults, Language
class Estonian(Language):
lang = 'et'
Defaults = EstonianDefaults |
class Estonian(Language):
pass | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 64 | 3 | 0 | 3 | 3 | 2 | 0 | 3 | 3 | 2 | 0 | 1 | 0 | 0 |
13,143 | explosion/spaCy | explosion_spaCy/spacy/lang/et/__init__.py | spacy.lang.et.EstonianDefaults | from .stop_words import STOP_WORDS
from ...language import BaseDefaults, Language
class EstonianDefaults(BaseDefaults):
stop_words = STOP_WORDS |
class EstonianDefaults(BaseDefaults):
pass | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 2 | 0 | 2 | 2 | 1 | 0 | 2 | 2 | 1 | 0 | 1 | 0 | 0 |
13,144 | explosion/spaCy | explosion_spaCy/spacy/lang/eu/__init__.py | spacy.lang.eu.Basque | from ...language import BaseDefaults, Language
class Basque(Language):
lang = 'eu'
Defaults = BasqueDefaults |
class Basque(Language):
pass | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 64 | 3 | 0 | 3 | 3 | 2 | 0 | 3 | 3 | 2 | 0 | 1 | 0 | 0 |
13,145 | explosion/spaCy | explosion_spaCy/spacy/lang/eu/__init__.py | spacy.lang.eu.BasqueDefaults | from .punctuation import TOKENIZER_SUFFIXES
from ...language import BaseDefaults, Language
from .stop_words import STOP_WORDS
from .lex_attrs import LEX_ATTRS
class BasqueDefaults(BaseDefaults):
suffixes = TOKENIZER_SUFFIXES
stop_words = STOP_WORDS
lex_attr_getters = LEX_ATTRS |
class BasqueDefaults(BaseDefaults):
pass | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 | 0 | 4 | 4 | 3 | 0 | 4 | 4 | 3 | 0 | 1 | 0 | 0 |
13,146 | explosion/spaCy | explosion_spaCy/spacy/lang/fa/__init__.py | spacy.lang.fa.Persian | from ...language import BaseDefaults, Language
class Persian(Language):
lang = 'fa'
Defaults = PersianDefaults |
class Persian(Language):
pass | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 64 | 3 | 0 | 3 | 3 | 2 | 0 | 3 | 3 | 2 | 0 | 1 | 0 | 0 |
13,147 | explosion/spaCy | explosion_spaCy/spacy/lang/fa/__init__.py | spacy.lang.fa.PersianDefaults | from .punctuation import TOKENIZER_SUFFIXES
from .lex_attrs import LEX_ATTRS
from .tokenizer_exceptions import TOKENIZER_EXCEPTIONS
from ...language import BaseDefaults, Language
from .syntax_iterators import SYNTAX_ITERATORS
from .stop_words import STOP_WORDS
class PersianDefaults(BaseDefaults):
tokenizer_excepti... |
class PersianDefaults(BaseDefaults):
pass | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 7 | 0 | 7 | 7 | 6 | 0 | 7 | 7 | 6 | 0 | 1 | 0 | 0 |
13,148 | explosion/spaCy | explosion_spaCy/spacy/lang/fi/__init__.py | spacy.lang.fi.Finnish | from ...language import BaseDefaults, Language
class Finnish(Language):
lang = 'fi'
Defaults = FinnishDefaults |
class Finnish(Language):
pass | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 64 | 3 | 0 | 3 | 3 | 2 | 0 | 3 | 3 | 2 | 0 | 1 | 0 | 0 |
13,149 | explosion/spaCy | explosion_spaCy/spacy/lang/fi/__init__.py | spacy.lang.fi.FinnishDefaults | from ...language import BaseDefaults, Language
from .lex_attrs import LEX_ATTRS
from .punctuation import TOKENIZER_INFIXES, TOKENIZER_SUFFIXES
from .tokenizer_exceptions import TOKENIZER_EXCEPTIONS
from .stop_words import STOP_WORDS
from .syntax_iterators import SYNTAX_ITERATORS
class FinnishDefaults(BaseDefaults):
... |
class FinnishDefaults(BaseDefaults):
pass | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 7 | 0 | 7 | 7 | 6 | 0 | 7 | 7 | 6 | 0 | 1 | 0 | 0 |
13,150 | explosion/spaCy | explosion_spaCy/spacy/lang/fo/__init__.py | spacy.lang.fo.Faroese | from ...language import BaseDefaults, Language
class Faroese(Language):
lang = 'fo'
Defaults = FaroeseDefaults |
class Faroese(Language):
pass | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 64 | 3 | 0 | 3 | 3 | 2 | 0 | 3 | 3 | 2 | 0 | 1 | 0 | 0 |
13,151 | explosion/spaCy | explosion_spaCy/spacy/lang/fo/__init__.py | spacy.lang.fo.FaroeseDefaults | from .tokenizer_exceptions import TOKENIZER_EXCEPTIONS
from ..punctuation import TOKENIZER_INFIXES, TOKENIZER_PREFIXES, TOKENIZER_SUFFIXES
from ...language import BaseDefaults, Language
class FaroeseDefaults(BaseDefaults):
tokenizer_exceptions = TOKENIZER_EXCEPTIONS
infixes = TOKENIZER_INFIXES
suffixes = T... |
class FaroeseDefaults(BaseDefaults):
pass | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 5 | 0 | 5 | 5 | 4 | 0 | 5 | 5 | 4 | 0 | 1 | 0 | 0 |
13,152 | explosion/spaCy | explosion_spaCy/spacy/lang/fr/__init__.py | spacy.lang.fr.French | from ...language import BaseDefaults, Language
class French(Language):
lang = 'fr'
Defaults = FrenchDefaults |
class French(Language):
pass | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 64 | 3 | 0 | 3 | 3 | 2 | 0 | 3 | 3 | 2 | 0 | 1 | 0 | 0 |
13,153 | explosion/spaCy | explosion_spaCy/spacy/lang/fr/__init__.py | spacy.lang.fr.FrenchDefaults | from .lex_attrs import LEX_ATTRS
from .syntax_iterators import SYNTAX_ITERATORS
from .stop_words import STOP_WORDS
from ...language import BaseDefaults, Language
from .punctuation import TOKENIZER_INFIXES, TOKENIZER_PREFIXES, TOKENIZER_SUFFIXES
from .tokenizer_exceptions import TOKEN_MATCH, TOKENIZER_EXCEPTIONS
class ... |
class FrenchDefaults(BaseDefaults):
pass | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 9 | 0 | 9 | 9 | 8 | 0 | 9 | 9 | 8 | 0 | 1 | 0 | 0 |
13,154 | explosion/spaCy | explosion_spaCy/spacy/lang/fr/lemmatizer.py | spacy.lang.fr.lemmatizer.FrenchLemmatizer | from ...pipeline import Lemmatizer
from typing import List, Tuple
from ...tokens import Token
class FrenchLemmatizer(Lemmatizer):
"""
French language lemmatizer applies the default rule based lemmatization
procedure with some modifications for better French language support.
The parts of speech 'ADV',... |
class FrenchLemmatizer(Lemmatizer):
'''
French language lemmatizer applies the default rule based lemmatization
procedure with some modifications for better French language support.
The parts of speech 'ADV', 'PRON', 'DET', 'ADP' and 'AUX' are added to use
the rule-based lemmatization. As a last re... | 4 | 1 | 35 | 2 | 30 | 3 | 7 | 0.19 | 1 | 4 | 0 | 0 | 1 | 0 | 2 | 2 | 81 | 7 | 62 | 19 | 58 | 12 | 45 | 18 | 42 | 12 | 1 | 4 | 14 |
13,155 | explosion/spaCy | explosion_spaCy/spacy/lang/ga/__init__.py | spacy.lang.ga.Irish | from ...language import BaseDefaults, Language
class Irish(Language):
lang = 'ga'
Defaults = IrishDefaults |
class Irish(Language):
pass | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 64 | 3 | 0 | 3 | 3 | 2 | 0 | 3 | 3 | 2 | 0 | 1 | 0 | 0 |
13,156 | explosion/spaCy | explosion_spaCy/spacy/lang/ga/__init__.py | spacy.lang.ga.IrishDefaults | from ...language import BaseDefaults, Language
from .stop_words import STOP_WORDS
from .tokenizer_exceptions import TOKENIZER_EXCEPTIONS
class IrishDefaults(BaseDefaults):
tokenizer_exceptions = TOKENIZER_EXCEPTIONS
stop_words = STOP_WORDS |
class IrishDefaults(BaseDefaults):
pass | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 | 0 | 3 | 3 | 2 | 0 | 3 | 3 | 2 | 0 | 1 | 0 | 0 |
13,157 | explosion/spaCy | explosion_spaCy/spacy/lang/ga/lemmatizer.py | spacy.lang.ga.lemmatizer.IrishLemmatizer | from ...pipeline import Lemmatizer
from typing import Dict, List, Tuple
from ...tokens import Token
class IrishLemmatizer(Lemmatizer):
@classmethod
def get_lookups_config(cls, mode: str) -> Tuple[List[str], List[str]]:
if mode == 'pos_lookup':
required = ['lemma_lookup_adj', 'lemma_lookup_... |
class IrishLemmatizer(Lemmatizer):
@classmethod
def get_lookups_config(cls, mode: str) -> Tuple[List[str], List[str]]:
pass
def pos_lookup_lemmatize(self, token: Token) -> List[str]:
pass
def to_list(value):
pass | 5 | 0 | 20 | 1 | 18 | 1 | 5 | 0.12 | 1 | 3 | 0 | 0 | 1 | 0 | 2 | 2 | 60 | 4 | 50 | 14 | 45 | 6 | 40 | 13 | 36 | 10 | 1 | 2 | 15 |
13,158 | explosion/spaCy | explosion_spaCy/spacy/lang/gd/__init__.py | spacy.lang.gd.Scottish | from ...language import BaseDefaults, Language
class Scottish(Language):
lang = 'gd'
Defaults = ScottishDefaults |
class Scottish(Language):
pass | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 64 | 3 | 0 | 3 | 3 | 2 | 0 | 3 | 3 | 2 | 0 | 1 | 0 | 0 |
13,159 | explosion/spaCy | explosion_spaCy/spacy/lang/gd/__init__.py | spacy.lang.gd.ScottishDefaults | from ...language import BaseDefaults, Language
from .stop_words import STOP_WORDS
from .tokenizer_exceptions import TOKENIZER_EXCEPTIONS
class ScottishDefaults(BaseDefaults):
tokenizer_exceptions = TOKENIZER_EXCEPTIONS
stop_words = STOP_WORDS |
class ScottishDefaults(BaseDefaults):
pass | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 | 0 | 3 | 3 | 2 | 0 | 3 | 3 | 2 | 0 | 1 | 0 | 0 |
13,160 | explosion/spaCy | explosion_spaCy/spacy/lang/grc/__init__.py | spacy.lang.grc.AncientGreek | from ...language import BaseDefaults, Language
class AncientGreek(Language):
lang = 'grc'
Defaults = AncientGreekDefaults |
class AncientGreek(Language):
pass | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 64 | 3 | 0 | 3 | 3 | 2 | 0 | 3 | 3 | 2 | 0 | 1 | 0 | 0 |
13,161 | explosion/spaCy | explosion_spaCy/spacy/lang/grc/__init__.py | spacy.lang.grc.AncientGreekDefaults | from .punctuation import TOKENIZER_INFIXES, TOKENIZER_PREFIXES, TOKENIZER_SUFFIXES
from .tokenizer_exceptions import TOKENIZER_EXCEPTIONS
from ...language import BaseDefaults, Language
from .stop_words import STOP_WORDS
from .lex_attrs import LEX_ATTRS
class AncientGreekDefaults(BaseDefaults):
tokenizer_exceptions... |
class AncientGreekDefaults(BaseDefaults):
pass | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 7 | 0 | 7 | 7 | 6 | 0 | 7 | 7 | 6 | 0 | 1 | 0 | 0 |
13,162 | explosion/spaCy | explosion_spaCy/spacy/lang/gu/__init__.py | spacy.lang.gu.Gujarati | from ...language import BaseDefaults, Language
class Gujarati(Language):
lang = 'gu'
Defaults = GujaratiDefaults |
class Gujarati(Language):
pass | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 64 | 3 | 0 | 3 | 3 | 2 | 0 | 3 | 3 | 2 | 0 | 1 | 0 | 0 |
13,163 | explosion/spaCy | explosion_spaCy/spacy/lang/gu/__init__.py | spacy.lang.gu.GujaratiDefaults | from .stop_words import STOP_WORDS
from ...language import BaseDefaults, Language
class GujaratiDefaults(BaseDefaults):
stop_words = STOP_WORDS |
class GujaratiDefaults(BaseDefaults):
pass | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 2 | 0 | 2 | 2 | 1 | 0 | 2 | 2 | 1 | 0 | 1 | 0 | 0 |
13,164 | explosion/spaCy | explosion_spaCy/spacy/lang/he/__init__.py | spacy.lang.he.Hebrew | from ...language import BaseDefaults, Language
class Hebrew(Language):
lang = 'he'
Defaults = HebrewDefaults |
class Hebrew(Language):
pass | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 64 | 3 | 0 | 3 | 3 | 2 | 0 | 3 | 3 | 2 | 0 | 1 | 0 | 0 |
13,165 | explosion/spaCy | explosion_spaCy/spacy/lang/he/__init__.py | spacy.lang.he.HebrewDefaults | from ...language import BaseDefaults, Language
from .lex_attrs import LEX_ATTRS
from .stop_words import STOP_WORDS
class HebrewDefaults(BaseDefaults):
stop_words = STOP_WORDS
lex_attr_getters = LEX_ATTRS
writing_system = {'direction': 'rtl', 'has_case': False, 'has_letters': True} |
class HebrewDefaults(BaseDefaults):
pass | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 | 0 | 4 | 4 | 3 | 0 | 4 | 4 | 3 | 0 | 1 | 0 | 0 |
13,166 | explosion/spaCy | explosion_spaCy/spacy/lang/hi/__init__.py | spacy.lang.hi.Hindi | from ...language import BaseDefaults, Language
class Hindi(Language):
lang = 'hi'
Defaults = HindiDefaults |
class Hindi(Language):
pass | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 64 | 3 | 0 | 3 | 3 | 2 | 0 | 3 | 3 | 2 | 0 | 1 | 0 | 0 |
13,167 | explosion/spaCy | explosion_spaCy/spacy/lang/hi/__init__.py | spacy.lang.hi.HindiDefaults | from .lex_attrs import LEX_ATTRS
from .stop_words import STOP_WORDS
from ...language import BaseDefaults, Language
class HindiDefaults(BaseDefaults):
stop_words = STOP_WORDS
lex_attr_getters = LEX_ATTRS |
class HindiDefaults(BaseDefaults):
pass | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 | 0 | 3 | 3 | 2 | 0 | 3 | 3 | 2 | 0 | 1 | 0 | 0 |
13,168 | explosion/spaCy | explosion_spaCy/spacy/lang/hr/__init__.py | spacy.lang.hr.Croatian | from ...language import BaseDefaults, Language
class Croatian(Language):
lang = 'hr'
Defaults = CroatianDefaults |
class Croatian(Language):
pass | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 64 | 3 | 0 | 3 | 3 | 2 | 0 | 3 | 3 | 2 | 0 | 1 | 0 | 0 |
13,169 | explosion/spaCy | explosion_spaCy/spacy/lang/hr/__init__.py | spacy.lang.hr.CroatianDefaults | from ...language import BaseDefaults, Language
from .stop_words import STOP_WORDS
class CroatianDefaults(BaseDefaults):
stop_words = STOP_WORDS |
class CroatianDefaults(BaseDefaults):
pass | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 2 | 0 | 2 | 2 | 1 | 0 | 2 | 2 | 1 | 0 | 1 | 0 | 0 |
13,170 | explosion/spaCy | explosion_spaCy/spacy/lang/hsb/__init__.py | spacy.lang.hsb.UpperSorbian | from ...language import BaseDefaults, Language
class UpperSorbian(Language):
lang = 'hsb'
Defaults = UpperSorbianDefaults |
class UpperSorbian(Language):
pass | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 64 | 3 | 0 | 3 | 3 | 2 | 0 | 3 | 3 | 2 | 0 | 1 | 0 | 0 |
13,171 | explosion/spaCy | explosion_spaCy/spacy/lang/hsb/__init__.py | spacy.lang.hsb.UpperSorbianDefaults | from .lex_attrs import LEX_ATTRS
from .tokenizer_exceptions import TOKENIZER_EXCEPTIONS
from .stop_words import STOP_WORDS
from ...language import BaseDefaults, Language
class UpperSorbianDefaults(BaseDefaults):
lex_attr_getters = LEX_ATTRS
stop_words = STOP_WORDS
tokenizer_exceptions = TOKENIZER_EXCEPTION... |
class UpperSorbianDefaults(BaseDefaults):
pass | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 | 0 | 4 | 4 | 3 | 0 | 4 | 4 | 3 | 0 | 1 | 0 | 0 |
13,172 | explosion/spaCy | explosion_spaCy/spacy/lang/hu/__init__.py | spacy.lang.hu.Hungarian | from ...language import BaseDefaults, Language
class Hungarian(Language):
lang = 'hu'
Defaults = HungarianDefaults |
class Hungarian(Language):
pass | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 64 | 3 | 0 | 3 | 3 | 2 | 0 | 3 | 3 | 2 | 0 | 1 | 0 | 0 |
13,173 | explosion/spaCy | explosion_spaCy/spacy/lang/hu/__init__.py | spacy.lang.hu.HungarianDefaults | from .tokenizer_exceptions import TOKEN_MATCH, TOKENIZER_EXCEPTIONS
from ...language import BaseDefaults, Language
from .punctuation import TOKENIZER_INFIXES, TOKENIZER_PREFIXES, TOKENIZER_SUFFIXES
from .stop_words import STOP_WORDS
class HungarianDefaults(BaseDefaults):
tokenizer_exceptions = TOKENIZER_EXCEPTIONS... |
class HungarianDefaults(BaseDefaults):
pass | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 7 | 0 | 7 | 7 | 6 | 0 | 7 | 7 | 6 | 0 | 1 | 0 | 0 |
13,174 | explosion/spaCy | explosion_spaCy/spacy/lang/hy/__init__.py | spacy.lang.hy.Armenian | from ...language import BaseDefaults, Language
class Armenian(Language):
lang = 'hy'
Defaults = ArmenianDefaults |
class Armenian(Language):
pass | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 64 | 3 | 0 | 3 | 3 | 2 | 0 | 3 | 3 | 2 | 0 | 1 | 0 | 0 |
13,175 | explosion/spaCy | explosion_spaCy/spacy/lang/hy/__init__.py | spacy.lang.hy.ArmenianDefaults | from .lex_attrs import LEX_ATTRS
from ...language import BaseDefaults, Language
from .stop_words import STOP_WORDS
class ArmenianDefaults(BaseDefaults):
lex_attr_getters = LEX_ATTRS
stop_words = STOP_WORDS |
class ArmenianDefaults(BaseDefaults):
pass | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 | 0 | 3 | 3 | 2 | 0 | 3 | 3 | 2 | 0 | 1 | 0 | 0 |
13,176 | explosion/spaCy | explosion_spaCy/spacy/lang/id/__init__.py | spacy.lang.id.Indonesian | from ...language import BaseDefaults, Language
class Indonesian(Language):
lang = 'id'
Defaults = IndonesianDefaults |
class Indonesian(Language):
pass | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 64 | 3 | 0 | 3 | 3 | 2 | 0 | 3 | 3 | 2 | 0 | 1 | 0 | 0 |
13,177 | explosion/spaCy | explosion_spaCy/spacy/lang/id/__init__.py | spacy.lang.id.IndonesianDefaults | from .syntax_iterators import SYNTAX_ITERATORS
from .tokenizer_exceptions import TOKENIZER_EXCEPTIONS
from .stop_words import STOP_WORDS
from .lex_attrs import LEX_ATTRS
from .punctuation import TOKENIZER_INFIXES, TOKENIZER_PREFIXES, TOKENIZER_SUFFIXES
from ...language import BaseDefaults, Language
class IndonesianDef... |
class IndonesianDefaults(BaseDefaults):
pass | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 8 | 0 | 8 | 8 | 7 | 0 | 8 | 8 | 7 | 0 | 1 | 0 | 0 |
13,178 | explosion/spaCy | explosion_spaCy/spacy/lang/is/__init__.py | spacy.lang.is.Icelandic | from ...language import BaseDefaults, Language
class Icelandic(Language):
lang = 'is'
Defaults = IcelandicDefaults |
class Icelandic(Language):
pass | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 64 | 3 | 0 | 3 | 3 | 2 | 0 | 3 | 3 | 2 | 0 | 1 | 0 | 0 |
13,179 | explosion/spaCy | explosion_spaCy/spacy/lang/is/__init__.py | spacy.lang.is.IcelandicDefaults | from ...language import BaseDefaults, Language
from .stop_words import STOP_WORDS
class IcelandicDefaults(BaseDefaults):
stop_words = STOP_WORDS |
class IcelandicDefaults(BaseDefaults):
pass | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 2 | 0 | 2 | 2 | 1 | 0 | 2 | 2 | 1 | 0 | 1 | 0 | 0 |
13,180 | explosion/spaCy | explosion_spaCy/spacy/lang/it/__init__.py | spacy.lang.it.Italian | from ...language import BaseDefaults, Language
class Italian(Language):
lang = 'it'
Defaults = ItalianDefaults |
class Italian(Language):
pass | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 64 | 3 | 0 | 3 | 3 | 2 | 0 | 3 | 3 | 2 | 0 | 1 | 0 | 0 |
13,181 | explosion/spaCy | explosion_spaCy/spacy/lang/it/__init__.py | spacy.lang.it.ItalianDefaults | from .syntax_iterators import SYNTAX_ITERATORS
from .punctuation import TOKENIZER_INFIXES, TOKENIZER_PREFIXES
from ...language import BaseDefaults, Language
from .tokenizer_exceptions import TOKENIZER_EXCEPTIONS
from .stop_words import STOP_WORDS
class ItalianDefaults(BaseDefaults):
tokenizer_exceptions = TOKENIZE... |
class ItalianDefaults(BaseDefaults):
pass | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 | 0 | 6 | 6 | 5 | 0 | 6 | 6 | 5 | 0 | 1 | 0 | 0 |
13,182 | explosion/spaCy | explosion_spaCy/spacy/lang/it/lemmatizer.py | spacy.lang.it.lemmatizer.ItalianLemmatizer | from ...pipeline import Lemmatizer
from ...tokens import Token
from typing import Dict, List, Tuple
class ItalianLemmatizer(Lemmatizer):
"""This lemmatizer was adapted from the Polish one (version of April 2021).
It implements lookup lemmatization based on the morphological lexicon
morph-it (Baroni and Zan... |
class ItalianLemmatizer(Lemmatizer):
'''This lemmatizer was adapted from the Polish one (version of April 2021).
It implements lookup lemmatization based on the morphological lexicon
morph-it (Baroni and Zanchetta). The table lemma_lookup with non-POS-aware
entries is used as a backup for words that ar... | 9 | 1 | 16 | 0 | 16 | 0 | 4 | 0.06 | 1 | 3 | 0 | 0 | 6 | 0 | 7 | 7 | 126 | 7 | 113 | 28 | 94 | 7 | 65 | 17 | 57 | 11 | 1 | 2 | 30 |
13,183 | explosion/spaCy | explosion_spaCy/spacy/lang/ja/__init__.py | spacy.lang.ja.Japanese | from ...language import BaseDefaults, Language
class Japanese(Language):
lang = 'ja'
Defaults = JapaneseDefaults |
class Japanese(Language):
pass | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 64 | 3 | 0 | 3 | 3 | 2 | 0 | 3 | 3 | 2 | 0 | 1 | 0 | 0 |
13,184 | explosion/spaCy | explosion_spaCy/spacy/lang/ja/__init__.py | spacy.lang.ja.JapaneseDefaults | from ...util import DummyTokenizer, load_config_from_str, registry
from .syntax_iterators import SYNTAX_ITERATORS
from ...language import BaseDefaults, Language
from .stop_words import STOP_WORDS
class JapaneseDefaults(BaseDefaults):
config = load_config_from_str(DEFAULT_CONFIG)
stop_words = STOP_WORDS
syn... |
class JapaneseDefaults(BaseDefaults):
pass | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 5 | 0 | 5 | 5 | 4 | 0 | 5 | 5 | 4 | 0 | 1 | 0 | 0 |
13,185 | explosion/spaCy | explosion_spaCy/spacy/lang/ja/__init__.py | spacy.lang.ja.JapaneseTokenizer | from ...training import validate_examples
import re
from ... import util
from ...scorer import Scorer
from ...util import DummyTokenizer, load_config_from_str, registry
from pathlib import Path
from ...vocab import Vocab
from ...tokens import Doc, MorphAnalysis
import srsly
from typing import Any, Callable, Dict, Optio... |
class JapaneseTokenizer(DummyTokenizer):
def __init__(self, vocab: Vocab, split_mode: Optional[str]=None) -> None:
pass
def __reduce__(self):
pass
def __call__(self, text: str) -> Doc:
pass
def _get_dtokens(self, sudachipy_tokens, need_sub_tokens: bool=True):
pass
... | 13 | 0 | 11 | 0 | 10 | 2 | 2 | 0.18 | 1 | 9 | 1 | 0 | 12 | 4 | 12 | 18 | 140 | 13 | 116 | 36 | 103 | 21 | 77 | 36 | 64 | 9 | 1 | 3 | 27 |
13,186 | explosion/spaCy | explosion_spaCy/spacy/lang/kmr/__init__.py | spacy.lang.kmr.Kurmanji | from ...language import BaseDefaults, Language
class Kurmanji(Language):
lang = 'kmr'
Defaults = KurmanjiDefaults |
class Kurmanji(Language):
pass | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 64 | 3 | 0 | 3 | 3 | 2 | 0 | 3 | 3 | 2 | 0 | 1 | 0 | 0 |
13,187 | explosion/spaCy | explosion_spaCy/spacy/lang/kmr/__init__.py | spacy.lang.kmr.KurmanjiDefaults | from ...language import BaseDefaults, Language
from .stop_words import STOP_WORDS
from .lex_attrs import LEX_ATTRS
class KurmanjiDefaults(BaseDefaults):
stop_words = STOP_WORDS
lex_attr_getters = LEX_ATTRS |
class KurmanjiDefaults(BaseDefaults):
pass | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 | 0 | 3 | 3 | 2 | 0 | 3 | 3 | 2 | 0 | 1 | 0 | 0 |
13,188 | explosion/spaCy | explosion_spaCy/spacy/lang/kn/__init__.py | spacy.lang.kn.Kannada | from ...language import BaseDefaults, Language
class Kannada(Language):
lang = 'kn'
Defaults = KannadaDefaults |
class Kannada(Language):
pass | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 64 | 3 | 0 | 3 | 3 | 2 | 0 | 3 | 3 | 2 | 0 | 1 | 0 | 0 |
13,189 | explosion/spaCy | explosion_spaCy/spacy/lang/kn/__init__.py | spacy.lang.kn.KannadaDefaults | from .stop_words import STOP_WORDS
from ...language import BaseDefaults, Language
class KannadaDefaults(BaseDefaults):
stop_words = STOP_WORDS |
class KannadaDefaults(BaseDefaults):
pass | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 2 | 0 | 2 | 2 | 1 | 0 | 2 | 2 | 1 | 0 | 1 | 0 | 0 |
13,190 | explosion/spaCy | explosion_spaCy/spacy/lang/ko/__init__.py | spacy.lang.ko.Korean | from ...language import BaseDefaults, Language
class Korean(Language):
lang = 'ko'
Defaults = KoreanDefaults |
class Korean(Language):
pass | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 64 | 3 | 0 | 3 | 3 | 2 | 0 | 3 | 3 | 2 | 0 | 1 | 0 | 0 |
13,191 | explosion/spaCy | explosion_spaCy/spacy/lang/ko/__init__.py | spacy.lang.ko.KoreanDefaults | from .punctuation import TOKENIZER_INFIXES
from ...language import BaseDefaults, Language
from .stop_words import STOP_WORDS
from ...util import DummyTokenizer, load_config_from_str, registry
from .lex_attrs import LEX_ATTRS
class KoreanDefaults(BaseDefaults):
config = load_config_from_str(DEFAULT_CONFIG)
lex_... |
class KoreanDefaults(BaseDefaults):
pass | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 6 | 0 | 6 | 6 | 5 | 0 | 6 | 6 | 5 | 0 | 1 | 0 | 0 |
13,192 | explosion/spaCy | explosion_spaCy/spacy/lang/ko/__init__.py | spacy.lang.ko.KoreanTokenizer | from ...symbols import POS, X
from ...vocab import Vocab
from ...util import DummyTokenizer, load_config_from_str, registry
from .tag_map import TAG_MAP
from ...tokens import Doc
from typing import Any, Dict, Iterator
from ...scorer import Scorer
from ...training import validate_examples
class KoreanTokenizer(DummyTok... |
class KoreanTokenizer(DummyTokenizer):
def __init__(self, vocab: Vocab):
pass
@property
def mecab_tokenizer(self):
pass
def __reduce__(self):
pass
def __call__(self, text: str) -> Doc:
pass
def detailed_tokens(self, text: str) -> Iterator[Dict[str, Any]]:
... | 8 | 0 | 8 | 0 | 6 | 2 | 2 | 0.25 | 1 | 5 | 1 | 0 | 6 | 3 | 6 | 12 | 53 | 5 | 40 | 21 | 32 | 10 | 38 | 20 | 31 | 4 | 1 | 2 | 12 |
13,193 | explosion/spaCy | explosion_spaCy/spacy/lang/ky/__init__.py | spacy.lang.ky.Kyrgyz | from ...language import BaseDefaults, Language
class Kyrgyz(Language):
lang = 'ky'
Defaults = KyrgyzDefaults |
class Kyrgyz(Language):
pass | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 64 | 3 | 0 | 3 | 3 | 2 | 0 | 3 | 3 | 2 | 0 | 1 | 0 | 0 |
13,194 | explosion/spaCy | explosion_spaCy/spacy/lang/ky/__init__.py | spacy.lang.ky.KyrgyzDefaults | from ...language import BaseDefaults, Language
from .tokenizer_exceptions import TOKENIZER_EXCEPTIONS
from .lex_attrs import LEX_ATTRS
from .stop_words import STOP_WORDS
from .punctuation import TOKENIZER_INFIXES
class KyrgyzDefaults(BaseDefaults):
tokenizer_exceptions = TOKENIZER_EXCEPTIONS
infixes = TOKENIZE... |
class KyrgyzDefaults(BaseDefaults):
pass | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 5 | 0 | 5 | 5 | 4 | 0 | 5 | 5 | 4 | 0 | 1 | 0 | 0 |
13,195 | explosion/spaCy | explosion_spaCy/spacy/lang/la/__init__.py | spacy.lang.la.Latin | from ...language import BaseDefaults, Language
class Latin(Language):
lang = 'la'
Defaults = LatinDefaults |
class Latin(Language):
pass | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 64 | 3 | 0 | 3 | 3 | 2 | 0 | 3 | 3 | 2 | 0 | 1 | 0 | 0 |
13,196 | explosion/spaCy | explosion_spaCy/spacy/lang/la/__init__.py | spacy.lang.la.LatinDefaults | from .lex_attrs import LEX_ATTRS
from .stop_words import STOP_WORDS
from .tokenizer_exceptions import TOKENIZER_EXCEPTIONS
from .syntax_iterators import SYNTAX_ITERATORS
from ...language import BaseDefaults, Language
class LatinDefaults(BaseDefaults):
tokenizer_exceptions = TOKENIZER_EXCEPTIONS
stop_words = ST... |
class LatinDefaults(BaseDefaults):
pass | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 5 | 0 | 5 | 5 | 4 | 0 | 5 | 5 | 4 | 0 | 1 | 0 | 0 |
13,197 | explosion/spaCy | explosion_spaCy/spacy/lang/lb/__init__.py | spacy.lang.lb.Luxembourgish | from ...language import BaseDefaults, Language
class Luxembourgish(Language):
lang = 'lb'
Defaults = LuxembourgishDefaults |
class Luxembourgish(Language):
pass | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 64 | 3 | 0 | 3 | 3 | 2 | 0 | 3 | 3 | 2 | 0 | 1 | 0 | 0 |
13,198 | explosion/spaCy | explosion_spaCy/spacy/lang/lb/__init__.py | spacy.lang.lb.LuxembourgishDefaults | from ...language import BaseDefaults, Language
from .stop_words import STOP_WORDS
from .tokenizer_exceptions import TOKENIZER_EXCEPTIONS
from .lex_attrs import LEX_ATTRS
from .punctuation import TOKENIZER_INFIXES
class LuxembourgishDefaults(BaseDefaults):
tokenizer_exceptions = TOKENIZER_EXCEPTIONS
infixes = T... |
class LuxembourgishDefaults(BaseDefaults):
pass | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 5 | 0 | 5 | 5 | 4 | 0 | 5 | 5 | 4 | 0 | 1 | 0 | 0 |
13,199 | explosion/spaCy | explosion_spaCy/spacy/lang/lg/__init__.py | spacy.lang.lg.Luganda | from ...language import BaseDefaults, Language
class Luganda(Language):
lang = 'lg'
Defaults = LugandaDefaults |
class Luganda(Language):
pass | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 64 | 3 | 0 | 3 | 3 | 2 | 0 | 3 | 3 | 2 | 0 | 1 | 0 | 0 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.