Coder Social home page Coder Social logo

spacy-tutorial's Introduction

Basic Terms

  • Tokenization: Segmenting text into words, punctuations marks etc.
  • Part-of-speech: (POS) Tagging Assigning word types to tokens, like verb or noun.
  • Dependency Parsing: Assigning syntactic dependency labels, describing the relations between individual tokens, like subject or object.
  • Lemmatization: Assigning the base forms of words. For example, the lemma of "was" is "be", and the lemma of "rats" is "rat".
  • Named Entity Recognition (NER): Labelling named "real-world" objects, like persons, companies or locations.
  • Similarity: Comparing words, text spans and documents and how similar they are to each other.
  • Sentence Boundary Detection (SBD): Finding and segmenting individual sentences.
  • Text Classification: Assigning categories or labels to a whole document, or parts of a document.
  • Rule-based Matching: Finding sequences of tokens based on their texts and linguistic annotations, similar to regular expressions.
  • Training: Updating and improving a statistical model's predictions.
  • Serialization: Saving objects to files or byte strings.

Installing the Library on Linux/Unix

  • sudo pip install spacy
  • sudo python -m spacy download en
  • sudo python -m spacy download fr

Installing On Windows using Conda

  • conda install tqdm
  • conda install -c conda-forge spacy /conda install spacy
  • python -m spacy download en
    • with cmd administrator

Installing using Conda

  • conda install -c conda-forge spacy
  • sudo python -m spacy download en
  • sudo python -m spacy download fr

For Download the Models of other languages

  • sudo python -m spacy download de
  • sudo python -m spacy download es
  • sudo python -m spacy download xx

Installing On Windows using Conda

  • conda config-add channel conda-forge
  • conda update anaconda
  • conda install tqdm
  • conda install -c conda-forge spacy
  • sudo python -m spacy download en

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.