Home Manual Reference Source
public class | source

WordChunk

Constructor Summary

Public Constructor
public

constructor(graphemes: string, score: float, verdict: string, phonemes: Phoneme[])

Create a word chunk domain model.

Member Summary

Public Members
public

The graphemes this chunk consists of.

public

phonemes: any

The phonemes this chunk consists of.

public

score: float

The audio is scored per grapheme and consists of several measurements.

public

Bad when the score is below 0.4, moderate when equal to 0.4 or between 0.4 and 0.6.

Public Constructors

public constructor(graphemes: string, score: float, verdict: string, phonemes: Phoneme[]) source

Create a word chunk domain model.

Params:

NameTypeAttributeDescription
graphemes string

The graphemes this chunk consists of.

score float

The audio is scored per grapheme and consists of several measurements. 0 would be bad, 1 the perfect score.

verdict string

Bad when the score is below 0.4, moderate when equal to 0.4 or between 0.4 and 0.6. good when the score is 0.6 or above.

phonemes Phoneme[]

The phonemes this chunk consists of.

Public Members

public graphemes: string source

The graphemes this chunk consists of.

public phonemes: any source

The phonemes this chunk consists of.

public score: float source

The audio is scored per grapheme and consists of several measurements. 0 would be bad, 1 the perfect score.

public verdict: string source

Bad when the score is below 0.4, moderate when equal to 0.4 or between 0.4 and 0.6. good when the score is 0.6 or above.