Giter Site home page Giter Site logo

spacy-notebook's Introduction

A Notebook about NLP Spacy course

About this notebook

This notebook is based on Ines Montani's free online course, available at:

https://course.spacy.io/

https://github.com/ines/spacy-course

How to install spacy:

The instructions are in the link below :

https://spacy.io/usage

To install spacy, please use:

conda install -c conda-forge spacy

This notebook is tested for version 2.1.3

As per May, 4th 2019, installing Spacy via "conda install -c conda-forge spacy" delivers 2.0.8 version so I used "pip install -U spacy" to have version 2.1.3 in my computer

To check the library version, use the commands below:

import spacy
print(spacy.__version__)

How to download the models:

https://github.com/explosion/spacy-models/releases/

To download a model:

python -m spacy download pt
python -m spacy download en

or...

python -m spacy download en_core_web_sm
python -m spacy download pt_core_news_sm
python -m spacy download en_core_web_md

To link a model to refer to it more easily:

python -m spacy link en_core_web_md en
python -m spacy link pt_core_news_sm pt

Using nbextensions

I highly recommend you to install table of contents from nbextensions, that makes the navigation in the sections much more easier.

Instructions can be found here:

https://jupyter-contrib-nbextensions.readthedocs.io/en/latest/install.html

conda install -c conda-forge jupyter_contrib_nbextensions
jupyter nbextension enable toc2

Additional information

If you have issues rendering these notebooks, you can try nbviewer

https://nbviewer.jupyter.org/github/Cristianasp/spacy/blob/master/Chapter_01.ipynb

https://nbviewer.jupyter.org/github/Cristianasp/spacy/blob/master/Chapter_02.ipynb

https://nbviewer.jupyter.org/github/Cristianasp/spacy/blob/master/Chapter_03.ipynb

https://nbviewer.jupyter.org/github/Cristianasp/spacy/blob/master/Chapter_04.ipynb

Or you want to use binder ?

Binder

LICENSE

The materials are licensed under CC BY-SA.

See here for details: [https://github.com/ines/spacy-course/blob/master/LICENSE]

spacy-notebook's People

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.