Skip to main content

Toolbox for constructing NETworks of Transcript Semantics.

Project description

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 the Java Runtime Environment. Instructions for downloading and installing for your operating system can be found here.

Netts also 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. Additional logging information can be found in netts_log.log.

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.

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

netts-0.3.2.tar.gz (42.0 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.3.2-py3-none-any.whl (47.2 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: netts-0.3.2.tar.gz
  • Upload date:
  • Size: 42.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.4.0 CPython/3.8.16 Linux/5.15.0-1034-azure

File hashes

Hashes for netts-0.3.2.tar.gz
Algorithm Hash digest
SHA256 b7341ba32f42b2f053d1e83b8361f65ba3d23cb587b31d530786c9e236fc37e5
MD5 1b81c14200c413b84395e4d6b61978f8
BLAKE2b-256 05fad80a251a72ef99138fd664f2614f0d73a1b4dab78dc978833bbd04fed9c5

See more details on using hashes here.

File details

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

File metadata

  • Download URL: netts-0.3.2-py3-none-any.whl
  • Upload date:
  • Size: 47.2 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.4.0 CPython/3.8.16 Linux/5.15.0-1034-azure

File hashes

Hashes for netts-0.3.2-py3-none-any.whl
Algorithm Hash digest
SHA256 1d614d92583065009342a04b7f167f46aedf879f0ca405b220dd47d7e4826936
MD5 ecdc799ed39ffb3c97883655c0130b59
BLAKE2b-256 0f35f6e5862f9bd1dd2508bfc31b0fbe6b7df4e5fa870abb781bd0e22255d6ca

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