Skip to main content

The Wowool Snippet Package

Project description

Injecting custom NLP in your pipelines

The snippet app extends the NLP in your pipeline with a small set of rules or lexicons.

Options

interface SnippetOptions {
    source: string;
}

with:

Property Description
source Wowool source code

Results

The app extends the NLP, the results of which will be reflected in the analysis results.

Examples

Injecting custom NLP in your pipelines

The snippet app extends the NLP in your pipeline with a small set of rules or lexicons.

Options

interface SnippetOptions {
    source: string;
}

with:

Property Description
source Wowool source code

Results

The app extends the NLP, the results of which will be reflected in the analysis results.

API

Examples

Trying out the wowool language.

This script uses the wowool SDK annotate entities and uses the snippet app ton annotate the relationships between people and companies.

from wowool.sdk import Pipeline

text = "John Smith works for Ikea."
pipeline = Pipeline(
    [
        "english",
        "entity",
        {
            "name": "snippet.app",
            "options": {
                "source": "rule:{ Person .. Company } = PersonCompany;",
            },
        },
    ]
)
document = pipeline(text)
print(document)

License

In both cases you will need to acquirer a license file at https://www.wowool.com

Non-Commercial

This library is licensed under the GNU AGPLv3 for non-commercial use.  
For commercial use, a separate license must be purchased.  

Commercial license Terms

1. Grants the right to use this library in proprietary software.  
2. Requires a valid license key  
3. Redistribution in SaaS requires a commercial license.  

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distributions

No source distribution files available for this release.See tutorial on generating distribution archives.

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

wowool_snippet-2.1.1-py3-none-any.whl (3.7 kB view details)

Uploaded Python 3

File details

Details for the file wowool_snippet-2.1.1-py3-none-any.whl.

File metadata

  • Download URL: wowool_snippet-2.1.1-py3-none-any.whl
  • Upload date:
  • Size: 3.7 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.12.10

File hashes

Hashes for wowool_snippet-2.1.1-py3-none-any.whl
Algorithm Hash digest
SHA256 b66f45b03ccc9fa6e7f84e23bc51df6581028a02842c3c740bbcd1c4cc89f69b
MD5 d22bd309e76c4596c7fa7fe61d86a634
BLAKE2b-256 04c7f707a1b16fa873b5faea5c65e98ed06093c83fcb2d660372971df4be4c0d

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page