Dutch Text Analytics
Dutch Text Analytics is a versatile toolkit designed to facilitate the exploration, execution, and validation of a diverse range of Natural Language Processing (NLP) tasks specifically tailored for the Dutch language. This repository provides a comprehensive set of tools, including code examples, scripts, and resources, to enhance and streamline your Dutch NLP projects.
Getting Started
Prerequisites
- Ensure you have Python version 3.8.10 installed on your system.
Installation
- To install the Dutch Text Analytics package, open a command prompt and run:
pip install dutch_text_analytics
Usage
- In your Python script or Jupyter Notebook, import the library as follows:
import dutch_text_analytics.text_analytics as ta
- To access modules and leverage the functionalities provided by the toolkit, instantiate the TextProcessing class:
text_processor = ta.TextProcessing()
- For detailed usage examples and demonstrations, refer to the demo scripts available in the demos folder.
Modules Overview
Text Processing
- The TextProcessing module provides powerful tools for working with Dutch text, including lemmatization, handling separable verbs, and displaying dependency trees.
# Example: Instantiate TextProcessing
text_processor = ta.TextProcessing()
# Example: Lemmatize a sentence
lemmatized_sentence = text_processor.lemmatize("Your Dutch sentence here.")
# Example: Handle separable verbs in a sentence
processed_sentence = text_processor.handle_separable_verbs("Your Dutch sentence here.")
# Example: Display dependency tree of a sentence
text_processor.display_dependency("Your Dutch sentence here.")
-
Explore the module for additional functionalities to enhance your Dutch text processing workflows.
-
Tip: The TextProcessing takes in language argument. For english:
# Example: Instantiate TextProcessing
text_processor = ta.TextProcessing(language='en')
Demos
- Check out the demos folder for hands-on demonstrations and code examples showcasing the capabilities of Dutch Text Analytics across various NLP tasks.
Feel free to contribute, report issues, or suggest improvements. Happy coding with Dutch Text Analytics!
Metadata
Release files for dutch-text-analytics 0.1.2
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| dutch_text_analytics-0.1.2.tar.gz | 5.9 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| dutch_text_analytics-0.1.2-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 12.7 kB
Release files / dutch_text_analytics-0.1.2.tar.gz
| Download URL | dutch_text_analytics-0.1.2.tar.gz |
|---|---|
| Size | 5.9 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
987460c8802dd772cc5cd859ff9acdd934cd8ef54f1d100dafc199add7d18f4b
|
|
BLAKE2b-256 checksum How to use checksums |
f813c4420d7e9216f4ee170838a58e73fb0c55d39d114abe11abac90c4712d6c
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.2 CPython/3.8.10
|
Release files / dutch_text_analytics-0.1.2-py3-none-any.whl
| Download URL | dutch_text_analytics-0.1.2-py3-none-any.whl |
|---|---|
| Size | 6.8 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
72c038d3d5e82085c88a1aa71a4613315db7bd59be0c52df42c7a18398372078
|
|
BLAKE2b-256 checksum How to use checksums |
2ebaed7767a27260ea5d84106f6bc6f4c5d9caae3e3f6d82577930eb0387217f
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.2 CPython/3.8.10
|