SpaCy: Difference between revisions

no edit summary
(Marked this version for translation)
No edit summary
Line 2: Line 2:
[[Category:Software]]
[[Category:Software]]
<translate>
<translate>
<!--T:21-->
 
[https://spacy.io/ spaCy] is a Python package that provides industrial-strength natural language processing.
[https://spacy.io/ spaCy] is a Python package that provides industrial-strength natural language processing.


= Installation = <!--T:20-->
= Installation =  
==Latest available wheels==
==Latest available wheels==
To see the latest version of <tt>spaCy</tt> that we have built:
To see the latest version of <tt>spaCy</tt> that we have built:
Line 11: Line 11:
For more information on listing wheels, see [[Python#Listing_available_wheels | listing available wheels]].
For more information on listing wheels, see [[Python#Listing_available_wheels | listing available wheels]].


==Pre-build== <!--T:22-->
==Pre-build==


<!--T:23-->
The preferred option is to install it using the python [https://pythonwheels.com/ wheel] that we compile, as follows:  
The preferred option is to install it using the python [https://pythonwheels.com/ wheel] that we compile, as follows:  
:1. Load a python module, either <tt>python/2.7</tt>, <tt>python/3.5</tt>, or <tt>python/3.6</tt>
:1. Load a python module, either <tt>python/2.7</tt>, <tt>python/3.5</tt>, or <tt>python/3.6</tt>
Line 22: Line 21:
:{{Command|prompt=(venv) [name@server ~]|pip install spacy --no-index}}
:{{Command|prompt=(venv) [name@server ~]|pip install spacy --no-index}}


<!--T:24-->
'''Note''': if you want to use <tt>thinc</tt> [https://docs.computecanada.ca/wiki/PyTorch Pytorch] wrapper, you'll also need to install <tt>torch_cpu</tt> or  <tt>torch_gpu</tt> wheel.
'''Note''': if you want to use <tt>thinc</tt> [https://docs.computecanada.ca/wiki/PyTorch Pytorch] wrapper, you'll also need to install <tt>torch_cpu</tt> or  <tt>torch_gpu</tt> wheel.
</translate>
</translate>
cc_staff
284

edits