- spaCy - Discussion
- spaCy - Useful Resources
- spaCy - Quick Guide
- Updating Neural Network Model
- Training Neural Network Model
- spaCy - Container Lexeme Class
- spaCy - Span Class Properties
- spaCy - Container Span Class
- spaCy - Token Properties
- spaCy - Container Token Class
- Doc Class ContextManager and Property
- spaCy - Containers
- spaCy - Compatibility Functions
- spaCy - Utility Functions
- spaCy - Visualization Function
- spaCy - Top-level Functions
- spaCy - Command Line Helpers
- spaCy - Architecture
- spaCy - Models and Languages
- spaCy - Getting Started
- spaCy - Introduction
- spaCy - Home
Selected Reading
- Who is Who
- Computer Glossary
- HR Interview Questions
- Effective Resume Writing
- Questions and Answers
- UPSC IAS Exams Notes
spaCy - Command Line Helpers
This chapter gives information about the command pne helpers used in spaCy.
Why Command Line Interface?
spaCy v1.7.0 and above comes with new command pne helpers. It is used to download as well as pnk the models. You can also use it to show the useful debugging information. In short, command pne helpers are used to download, train, package models, and also to debug spaCy.
Checking Available Commands
You can check the available commands by using spacy - -help command.
The example to check the available commands in spaCy is given below −
Example
C:UsersLeekha>python -m spacy --help
Output
The output shows the available commands.
Available commands download, pnk, info, train, pretrain, debug-data, evaluate, convert, package, init-model, profile, vapdate
Available Commands
The commands available in spaCy are given below along with their respective descriptions.
Sr.No. | Command & Description |
---|---|
1 | To download models for spaCy. |
2 | To create shortcut pnks for models. |
3 | To print the information. |
4 | To check compatibipty of the installed models. |
5 | To convert the files into spaCy s JSON format. |
6 | To pre-train the “token to vector (tok2vec)” layer of pipepne components. |
7 | To create a new model directory from raw data. |
8 | To evaluate a model s accuracy and speed. |
9 | To generate a model python package from an existing model data directory. |
10 | To analyse, debug, and vapdate our training and development data. |
11 | To train a model. |