Skip to main content

netts - NETworks of Transcript Semantics

GitHub release PyPI pyversions codecov Code style: black Imports: isort

Toolbox for constructing semantic speech networks from speech transcripts.

About

The algorithms in this toolbox create a semantic speech graph from transcribed speech. Speech transcripts are short paragraphs of largely raw, uncleaned speech-like text. For example:

'I see a man and he is wearing a jacket. He is standing in the dark against a light post. On the picture there seems to be like a park and... Or trees but in those trees there are little balls of light reflections as well. I cannot see the... Anything else because it’s very dark. But the man on the picture seems to wear a hat and he seems to have a hoodie on as well. The picture is very mysterious, which I like about it, but for me I would like to understand more about the picture.' -- Example Transcript

Below is the semantic speech graph constructed from this text.

Semantic speech graph example Figure 1. Semantic Speech Graph. Nodes represents an entity mentioned by the speaker (e.g. I, man, jacket). Edges represent relations between nodes mentioned by the speaker (e.g. see, has on).

Getting started

Read the full documentation here.

Where to get it

You can install the latest release from PyPi

pip install netts

or get the latest development version from GitHub (not stable)

pip install git+https://github.com/alan-turing-institute/netts

Additional dependencies

Netts requires a few additional dependencies to work which you can download with the netts CLI that was installed by pip

netts install

Basic usage

The quickest way to process a transcript is with the CLI.

netts run transcript.txt outputs

where transcript.txt is a text file containing transcribed speech and outputs is the name of a directory to write the outputs to.

Contributors

Netts was written by Caroline Nettekoven in collaboration with Sarah Morgan.

Netts was packaged in collaboration with Oscar Giles, Iain Stenson and Helen Duncan.

Download files

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

Source Distribution

netts-0.2.1.tar.gz (39.3 kB view details)

Uploaded Source

Built Distribution

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

netts-0.2.1-py3-none-any.whl (43.5 kB view details)

Uploaded Python 3

File details

Details for the file netts-0.2.1.tar.gz.

File metadata

  • Download URL: netts-0.2.1.tar.gz
  • Upload date:
  • Size: 39.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.1.12 CPython/3.9.7 Darwin/21.5.0

File hashes

Hashes for netts-0.2.1.tar.gz
Algorithm Hash digest
SHA256 1a1dcbdd158cdbfcd0aee190984519cb87d6d03c866c9fe432aea0cb0f1fcf26
MD5 5195ef8ba37dbd8c9f2ed46e8292e35b
BLAKE2b-256 a8b8cb1fce8b02319c65302911422d997f2b24a0a20b1831c6e54405fd0f8b8c

See more details on using hashes here.

File details

Details for the file netts-0.2.1-py3-none-any.whl.

File metadata

  • Download URL: netts-0.2.1-py3-none-any.whl
  • Upload date:
  • Size: 43.5 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.1.12 CPython/3.9.7 Darwin/21.5.0

File hashes

Hashes for netts-0.2.1-py3-none-any.whl
Algorithm Hash digest
SHA256 bdddc1c4073895b36dffa47fd33baafb6e140a6a52cd620fb65afe2faff6e461
MD5 609d1f34a2997ba90b5e04857999ebc9
BLAKE2b-256 eedecd5b6f8ac5e3fb530389047887cb97c6e56579a92937554cf0f11f20781f

See more details on using hashes here.

Release history Release notifications | RSS feed

0.3.2

2 files

0.3.1

2 files

0.2.2

2 files

This release

0.2.1 This release

2 files

0.1.0

2 files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page