Documentation ¶
Index ¶
- type DB
- func (db DB) Close() (err error)
- func (db DB) GetAllLabelSets(vocabName libaural2.VocabName) (labelSets map[libaural2.ClipID]libaural2.LabelSet, err error)
- func (db DB) GetLabelSet(sampleID libaural2.ClipID, vocabName libaural2.VocabName) (labelSet libaural2.LabelSet, err error)
- func (db DB) ListAudioClips() (ids []libaural2.ClipID)
- func (db DB) PutClipID(id libaural2.ClipID) (err error)
- func (db DB) PutLabelSet(labelSet libaural2.LabelSet) (err error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type DB ¶
type DB struct {
// contains filtered or unexported fields
}
DB holds
func (DB) GetAllLabelSets ¶
func (db DB) GetAllLabelSets(vocabName libaural2.VocabName) (labelSets map[libaural2.ClipID]libaural2.LabelSet, err error)
GetAllLabelSets returns all the labelSets
func (DB) GetLabelSet ¶
func (db DB) GetLabelSet(sampleID libaural2.ClipID, vocabName libaural2.VocabName) (labelSet libaural2.LabelSet, err error)
GetLabelSet gets one LabelSet
func (DB) ListAudioClips ¶
ListAudioClips lists all AudioClips
Click to show internal directories.
Click to hide internal directories.