Skip to main content

gets synonyms and hypernyms of labels for an asset

Project description

A python library for extracting inflections and synonyms

from sauce.nltkrdf.wordnet import WordnetEnricher

data = """[{"@id":"https://api.sauce-project.tech/assets/1234","@type":["https://vocabularies.sauce-project.tech/core/Asset"],"https://vocabularies.sauce-project.tech/core/depicts":[{"@id":"https://api.sauce-project.tech/depictions/1234"}]},{"@id":"https://api.sauce-project.tech/depictions/1234","@type":["https://vocabularies.sauce-project.tech/core/Depiction"],"https://vocabularies.sauce-project.tech/core/label":[{"@value":"running"}]},{"@id":"https://vocabularies.sauce-project.tech/core/Asset"},{"@id":"https://vocabularies.sauce-project.tech/core/Depiction"}]"""

enricher = WordnetEnricher(data) enriched_asset = enricher.enrich()

Project details


Download files

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

Source Distribution

sauce-lib-nltk-16.0.0.tar.gz (5.3 kB view details)

Uploaded Source

Built Distribution

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

sauce_lib_nltk-16.0.0-py3-none-any.whl (5.6 kB view details)

Uploaded Python 3

File details

Details for the file sauce-lib-nltk-16.0.0.tar.gz.

File metadata

  • Download URL: sauce-lib-nltk-16.0.0.tar.gz
  • Upload date:
  • Size: 5.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.2.0 pkginfo/1.5.0.1 requests/2.24.0 setuptools/46.1.3 requests-toolbelt/0.9.1 tqdm/4.48.2 CPython/3.7.5

File hashes

Hashes for sauce-lib-nltk-16.0.0.tar.gz
Algorithm Hash digest
SHA256 dfc7e263f22f4daab246f2b7b5b8787aaf8ae45e9c0f68862849e0cdf87ab703
MD5 a85dff40bcf2280f2afb5ea2a0ece0dd
BLAKE2b-256 360a9fa4de0b5ec6c227b927f3b5cc241250c88f9c68daf1aeac0741129c85ea

See more details on using hashes here.

File details

Details for the file sauce_lib_nltk-16.0.0-py3-none-any.whl.

File metadata

  • Download URL: sauce_lib_nltk-16.0.0-py3-none-any.whl
  • Upload date:
  • Size: 5.6 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.2.0 pkginfo/1.5.0.1 requests/2.24.0 setuptools/46.1.3 requests-toolbelt/0.9.1 tqdm/4.48.2 CPython/3.7.5

File hashes

Hashes for sauce_lib_nltk-16.0.0-py3-none-any.whl
Algorithm Hash digest
SHA256 c8abf14beada23c09f2280ab4b97ff6f59e81a104f99a2e32284a50d2af71796
MD5 0ead9b53c8c38072c35f030c6a6f407b
BLAKE2b-256 49c505112e88ddf4fa94af9563aa05c5e8c46fe55448d329c8d04fefcf78d020

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