nyaggle/docs/installation.rst

19 lines
503 B
ReStructuredText

Installation
===================================
You can install nyaggle via pip:
.. code-block:: bash
pip install nyaggle
To use :code:`nyaggle.nlp.BertSentenceVectorizer`, you first need to install PyTorch.
Please refer to `PyTorch installation page <https://pytorch.org/get-started/locally/#start-locally>`_
to install Pytorch to your environment.
If you use :code:`lang=ja` option in :code:`BertSentenceVecorizer`,
you need to intall MeCab and mecab-python3 package to your environment.