mirror of
https://github.com/explosion/spaCy.git
synced 2025-02-03 21:24:11 +03:00
Replace dev-resources links with real examples
This commit is contained in:
parent
59c0620487
commit
3abf0e6b9f
|
@ -39,9 +39,9 @@ together all components and creating the `Language` subclass – for example,
|
||||||
| **Morph rules**<br />[`morph_rules.py`][morph_rules.py] | Exception rules for morphological analysis of irregular words like personal pronouns. |
|
| **Morph rules**<br />[`morph_rules.py`][morph_rules.py] | Exception rules for morphological analysis of irregular words like personal pronouns. |
|
||||||
|
|
||||||
[stop_words.py]:
|
[stop_words.py]:
|
||||||
https://github.com/explosion/spacy-dev-resources/tree/master/templates/new_language/stop_words.py
|
https://github.com/explosion/spaCy/tree/master/spacy/lang/en/stop_words.py
|
||||||
[tokenizer_exceptions.py]:
|
[tokenizer_exceptions.py]:
|
||||||
https://github.com/explosion/spacy-dev-resources/tree/master/templates/new_language/tokenizer_exceptions.py
|
https://github.com/explosion/spaCy/tree/master/spacy/lang/de/tokenizer_exceptions.py
|
||||||
[norm_exceptions.py]:
|
[norm_exceptions.py]:
|
||||||
https://github.com/explosion/spaCy/tree/master/spacy/lang/norm_exceptions.py
|
https://github.com/explosion/spaCy/tree/master/spacy/lang/norm_exceptions.py
|
||||||
[punctuation.py]:
|
[punctuation.py]:
|
||||||
|
@ -49,12 +49,12 @@ together all components and creating the `Language` subclass – for example,
|
||||||
[char_classes.py]:
|
[char_classes.py]:
|
||||||
https://github.com/explosion/spaCy/tree/master/spacy/lang/char_classes.py
|
https://github.com/explosion/spaCy/tree/master/spacy/lang/char_classes.py
|
||||||
[lex_attrs.py]:
|
[lex_attrs.py]:
|
||||||
https://github.com/explosion/spacy-dev-resources/tree/master/templates/new_language/lex_attrs.py
|
https://github.com/explosion/spaCy/tree/master/spacy/lang/en/lex_attrs.py
|
||||||
[syntax_iterators.py]:
|
[syntax_iterators.py]:
|
||||||
https://github.com/explosion/spaCy/tree/master/spacy/lang/en/syntax_iterators.py
|
https://github.com/explosion/spaCy/tree/master/spacy/lang/en/syntax_iterators.py
|
||||||
[lemmatizer.py]:
|
[lemmatizer.py]:
|
||||||
https://github.com/explosion/spacy-dev-resources/tree/master/templates/new_language/lemmatizer.py
|
https://github.com/explosion/spaCy/tree/master/spacy/lang/de/lemmatizer.py
|
||||||
[tag_map.py]:
|
[tag_map.py]:
|
||||||
https://github.com/explosion/spacy-dev-resources/tree/master/templates/new_language/tag_map.py
|
https://github.com/explosion/spaCy/tree/master/spacy/lang/en/tag_map.py
|
||||||
[morph_rules.py]:
|
[morph_rules.py]:
|
||||||
https://github.com/explosion/spaCy/tree/master/spacy/lang/en/morph_rules.py
|
https://github.com/explosion/spaCy/tree/master/spacy/lang/en/morph_rules.py
|
||||||
|
|
|
@ -121,9 +121,9 @@ spaCy, named according to the language's
|
||||||
code and resources specific to Spanish are placed into a directory
|
code and resources specific to Spanish are placed into a directory
|
||||||
`spacy/lang/es`, which can be imported as `spacy.lang.es`.
|
`spacy/lang/es`, which can be imported as `spacy.lang.es`.
|
||||||
|
|
||||||
To get started, you can use our
|
To get started, you can check out the
|
||||||
[templates](https://github.com/explosion/spacy-dev-resources/templates/new_language)
|
[existing languages](https://github.com/explosion/spacy/tree/master/spacy/lang).
|
||||||
for the most important files. Here's what the class template looks like:
|
Here's what the class could look like:
|
||||||
|
|
||||||
```python
|
```python
|
||||||
### __init__.py (excerpt)
|
### __init__.py (excerpt)
|
||||||
|
|
Loading…
Reference in New Issue
Block a user