package
0.3.0
Repository: https://github.com/shahruk10/go-sctk.git
Documentation: pkg.go.dev

# Packages

Package embedded embed SCTK tools and provides executable paths to them for other packages.

# Functions

ReadAlignmentSgml reads and parses the sgml file generated by sclite, containing aligned reference and hypothesis sentences.
RunSclite executes the sclite tool on the given reference and hypothesis files, and evaluates word error rates.
No description provided by the author

# Constants

No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author

# Structs

AlignedHypothesis contains the aligned sentences between reference and a hypothesis, indexed by speaker and sentence IDs.
An AlignedSentence contains the aligned words between reference and hypothesis for a given sentence.
AlignedWord contains the reference word and corresponding word in the hypothesis (if aligned).
A Hypothesis points to a file containing transcripts from an ASR system, along with the name of the system.
ScliteCfg configures report generation options for sclite.

# Type aliases

SpeakerSentences contain all the sentences of speaker indexed by sentence ID.
TableFormat determines in which format the alignments are written to a file.