mirror of
https://github.com/explosion/spaCy.git
synced 2025-07-07 21:33:13 +03:00
Port over typo corrections from #1245
This commit is contained in:
parent
c2bbd393af
commit
3c33003078
|
@ -229,7 +229,7 @@ Compile from source
|
||||||
The other way to install spaCy is to clone its
|
The other way to install spaCy is to clone its
|
||||||
`GitHub repository <https://github.com/explosion/spaCy>`_ and build it from
|
`GitHub repository <https://github.com/explosion/spaCy>`_ and build it from
|
||||||
source. That is the common way if you want to make changes to the code base.
|
source. That is the common way if you want to make changes to the code base.
|
||||||
You'll need to make sure that you have a development enviroment consisting of a
|
You'll need to make sure that you have a development environment consisting of a
|
||||||
Python distribution including header files, a compiler,
|
Python distribution including header files, a compiler,
|
||||||
`pip <https://pip.pypa.io/en/latest/installing/>`__, `virtualenv <https://virtualenv.pypa.io/>`_
|
`pip <https://pip.pypa.io/en/latest/installing/>`__, `virtualenv <https://virtualenv.pypa.io/>`_
|
||||||
and `git <https://git-scm.com>`_ installed. The compiler part is the trickiest.
|
and `git <https://git-scm.com>`_ installed. The compiler part is the trickiest.
|
||||||
|
|
|
@ -205,7 +205,7 @@ p Retokenize the document, such that the span is merged into a single token.
|
||||||
|
|
||||||
p
|
p
|
||||||
| The token within the span that's highest in the parse tree. If there's a
|
| The token within the span that's highest in the parse tree. If there's a
|
||||||
| tie, the earlist is prefered.
|
| tie, the earliest is preferred.
|
||||||
|
|
||||||
+aside-code("Example").
|
+aside-code("Example").
|
||||||
doc = nlp(u'I like New York in Autumn.')
|
doc = nlp(u'I like New York in Autumn.')
|
||||||
|
|
|
@ -39,7 +39,7 @@ p
|
||||||
+h(2, "special-cases") Adding special case tokenization rules
|
+h(2, "special-cases") Adding special case tokenization rules
|
||||||
|
|
||||||
p
|
p
|
||||||
| Most domains have at least some idiosyncracies that require custom
|
| Most domains have at least some idiosyncrasies that require custom
|
||||||
| tokenization rules. This could be very certain expressions, or
|
| tokenization rules. This could be very certain expressions, or
|
||||||
| abbreviations only used in this specific field.
|
| abbreviations only used in this specific field.
|
||||||
|
|
||||||
|
|
|
@ -109,7 +109,7 @@ p
|
||||||
| The other way to install spaCy is to clone its
|
| The other way to install spaCy is to clone its
|
||||||
| #[+a(gh("spaCy")) GitHub repository] and build it from source. That is
|
| #[+a(gh("spaCy")) GitHub repository] and build it from source. That is
|
||||||
| the common way if you want to make changes to the code base. You'll need to
|
| the common way if you want to make changes to the code base. You'll need to
|
||||||
| make sure that you have a development enviroment consisting of a Python
|
| make sure that you have a development environment consisting of a Python
|
||||||
| distribution including header files, a compiler,
|
| distribution including header files, a compiler,
|
||||||
| #[+a("https://pip.pypa.io/en/latest/installing/") pip],
|
| #[+a("https://pip.pypa.io/en/latest/installing/") pip],
|
||||||
| #[+a("https://virtualenv.pypa.io/") virtualenv] and
|
| #[+a("https://virtualenv.pypa.io/") virtualenv] and
|
||||||
|
|
|
@ -40,7 +40,7 @@ p
|
||||||
+cell #[code VerbForm=Fin], #[code Mood=Ind], #[code Tense=Pres]
|
+cell #[code VerbForm=Fin], #[code Mood=Ind], #[code Tense=Pres]
|
||||||
|
|
||||||
+row
|
+row
|
||||||
+cell I read the paper yesteday
|
+cell I read the paper yesterday
|
||||||
+cell read
|
+cell read
|
||||||
+cell read
|
+cell read
|
||||||
+cell verb
|
+cell verb
|
||||||
|
|
|
@ -94,7 +94,7 @@ p
|
||||||
| is mostly intended as a convenient, interactive wrapper. It performs
|
| is mostly intended as a convenient, interactive wrapper. It performs
|
||||||
| compatibility checks and prints detailed error messages and warnings.
|
| compatibility checks and prints detailed error messages and warnings.
|
||||||
| However, if you're downloading models as part of an automated build
|
| However, if you're downloading models as part of an automated build
|
||||||
| process, this only adds an unecessary layer of complexity. If you know
|
| process, this only adds an unnecessary layer of complexity. If you know
|
||||||
| which models your application needs, you should be specifying them directly.
|
| which models your application needs, you should be specifying them directly.
|
||||||
|
|
||||||
p
|
p
|
||||||
|
|
Loading…
Reference in New Issue
Block a user