GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — GitHub - CouncilDataProject/transcript-file-format: A generalized transcript file format and utilities for parsing.

BranchesTags
Open more actions menu

Latest commit

 

History

9 Commits
9 Commits

Folders and files

NameName
Last commit message
Last commit date
.github
.github
 
 
docs
docs
 
 
transcript_file_format
transcript_file_format
 
 
.cookiecutter.yaml
.cookiecutter.yaml
 
 
.editorconfig
.editorconfig
 
 
.gitignore
.gitignore
 
 
.pre-commit-config.yaml
.pre-commit-config.yaml
 
 
CODE_OF_CONDUCT.md
CODE_OF_CONDUCT.md
 
 
CONTRIBUTING.md
CONTRIBUTING.md
 
 
Justfile
Justfile
 
 
LICENSE
LICENSE
 
 
README.md
README.md
 
 
pyproject.toml
pyproject.toml
 
 
setup.py
setup.py
 
 

Repository files navigation

transcript-file-format

Build Status Documentation

A generalized transcript file format and utilities for parsing.


Installation

Stable Release: pip install transcript-file-format
Development Head: pip install git+https://github.com/CouncilDataProject/transcript-file-format.git

Quickstart

from transcript_file_format import Transcript, Sentence, to_json, from_json

# Create a transcript with metadata
t = Transcript(
    sentences=[
        Sentence(
            start_time=0.1,
            end_time=1.2,
            text="hello world",
        ),
        Sentence(
            start_time=1.4,
            end_time=2.6,
            text="my name is eva",
        ),
    ],
    generator="Hand Written by Eva",
    session_datetime="2023-04-05",
    created_datetime="2023-04-06",
)

# Store to JSON
to_json(t, "example.json")

# Read from JSON back to object
t = from_json("example.json")
# Transcript(sentences=[...] (n=2), generator='Hand Written by Eva', confidence=None, session_datetime='2023-04-05', created_datetime='2023-04-06', annotations=None)

Documentation

For full package documentation please visit CouncilDataProject.github.io/transcript-file-format.

Development

See CONTRIBUTING.md for information related to developing the code.

MIT License

About

A generalized transcript file format and utilities for parsing.

Resources

Readme
MIT license

Code of conduct

Code of conduct

Contributing

Contributing
Activity
Custom properties

Stars

0 stars

Watchers

1 watching

Forks

0 forks
Report repository

Releases

Packages

Used by

Contributors

Languages

You are visitor 01402503 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.