Skip to main content
Pre-release

This release is a pre-release and may not be stable for production use.

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 in the dark standing against a light post. It seems to be in the middle of the night; I think because the lightbulb is working. 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, and has a jacket on and he seems to have a hoodie on as well. The picture is very, very mysterious, which I like about it, but for me I would like to understand more concept, context of 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.

Citing netts

If you use netts in your work, please cite this paper:

Caroline R. Nettekoven, Kelly Diederen, Oscar Giles, Helen Duncan, Iain Stenson, Julianna Olah, Nigel Collier, Petra Vertes, Tom J. Spencer, Sarah E. Morgan, and Philip McGuire. 2021. “Networks of Transcript Semantics - Netts.”

Metadata

Release files for netts 0.2.0rc1

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for netts 0.2.0rc1
File Size Uploaded
netts-0.2.0rc1.tar.gz 39.5 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for netts 0.2.0rc1
File Interpreter ABI Platform
netts-0.2.0rc1-py3-none-any.whl Python 3 none any Details

Total release size: 83.3 kB

Release files / netts-0.2.0rc1.tar.gz

Download URL netts-0.2.0rc1.tar.gz
Size 39.5 kB
Tags Source
SHA-256 checksum
How to use checksums
c082efc8061a3260c76dc7e662c7da34142aadf5ddfbb5c0193ec9717090a479
BLAKE2b-256 checksum
How to use checksums
da6d642d5abb3a033cc97cac478af63cac9aced0e6da7105f74a4de6cf0e0962
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via poetry/1.1.11 CPython/3.7.12 Linux/5.11.0-1020-azure

Release files / netts-0.2.0rc1-py3-none-any.whl

Download URL netts-0.2.0rc1-py3-none-any.whl
Size 43.8 kB
Tags Python 3
SHA-256 checksum
How to use checksums
f9d70927be19e660e2c9eb2a07175148b37985152c6468c59d6526275a50ac57
BLAKE2b-256 checksum
How to use checksums
0d2f337eccb472586cab8e8619f561892f8b7ecb0271857c16dac74ec60c409c
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via poetry/1.1.11 CPython/3.7.12 Linux/5.11.0-1020-azure

Release history Release notifications | RSS feed

0.3.2

2 release files

0.3.1

2 release files

0.2.2

2 release files

0.2.1

2 release files

This release

0.2.0rc1 This release

2 release files

0.1.0

2 release 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