# SparkNLP POS

{% hint style="info" %}
**Supported labeling types**: Span labeling.
{% endhint %}

SparkNLP Part-of-Speech (POS) Tagging is a fast and scalable component of the SparkNLP library that assigns grammatical tags such as noun, verb, adjective, or adverb to each word in a sentence. It uses advanced NLP models optimized for large-scale processing, making it suitable for handling massive datasets efficiently. In our labeling platform, SparkNLP POS tagging enhances text analysis by providing syntactic insights that can improve label suggestions, rule-based automation, and overall annotation quality.

<figure><img src="/files/GyQVZl6sAkOePdazZKAr" alt="Image of ML Assisted with SparkNLP POS"><figcaption></figcaption></figure>

### Model details

* POS-tagging in SparkNLP is done via the `en.pos` model from [johnsnowlabs/nlp\_server](https://nlp.johnsnowlabs.com/docs/en/nlp_server/nlp_server).
* Models are trained primarily on the Penn Treebank corpus, supplemented with diverse web content to improve robustness across text types.
* Operates as a service accessible within the Datasaur Intelligence container.

### Usage

* SparkNLP POS tagging is ideal for large-scale text processing, including syntactic analysis and document parsing.
* The tagset is similar to the [NLTK](/assisted-labeling/ml-assisted-labeling/nltk.md#treebank-tagset) provider.

### References

* <https://nlp.johnsnowlabs.com/docs/en/nlp_server/nlp_server>
* <https://nlu.johnsnowlabs.com/docs/en/examples#part-of-speech--pos>


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.datasaur.ai/assisted-labeling/ml-assisted-labeling/sparknlp-pos.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
