This is the directory for examples on how to use Spark NLP in various environments.
These include examples for Python, Scala, Java and Docker.
For an introduction into using Spark NLP, take a look at the Quick Start. If you are planning to use Spark NLP on Google Colab, see Quick Start on Google Colab. The notebook Spark NLP Basics covers the basics of Spark NLP.
For more use-cases and advanced examples, take a look at the following table of contents.
- Python Examples
- Using Annotators
- Audio Processing
- Image Processing
- Text Processing
- Chinese
- English
- Assembling Documents
- Assembling Tokens to Documents
- Chunking
- Co-reference Resolution
- Document Normalization
- Embeddings
- Graph Extraction
- Keyword Extraction
- Language Detection
- Matching text using Regex
- Model Downloader
- Named Entity Recognition
- Pretrained Pipelines
- Question Answering
- Sentence Detection
- Sentiment Detection
- Stemming
- Stop Words Cleaning
- Text Matching
- Text Similarity
- Tokenization Using Regex
- French
- German
- Italian
- Multilingual
- Portuguese
- Spanish
- Training Annotators
- Transformers in Spark NLP
- Logging
- Using Annotators
- Scala Examples
- Java Examples
- SparkNLP Setup with Docker
- Utilities