annotations.Overlaps package¶
Submodules¶
annotations.Overlaps.overspeech module¶
- filename
sppas.src.annotations.Overlaps.overspeech.py
- author
Brigitte Bigi
- contact
- summary
Package for the configuration of SPPAS.
annotations.Overlaps.sppasoverlaps module¶
- filename
sppas.src.annotations.Overlaps.sppasoverlaps.py
- author
Brigitte Bigi
- contact
- summary
SPPAS integration of the overlaps automatic annotation
- class annotations.Overlaps.sppasoverlaps.sppasOverActivity(log=None)[source]¶
Bases:
annotations.baseannot.sppasBaseAnnotation
SPPAS integration of the automatic overlaps estimator on intervals.
- detection(tier_spk1, tier_spk2)[source]¶
Search for the overlaps of annotations.
- Parameters
tier_spk1 – (sppasTier)
tier_spk2 – (sppasTier)
- get_inputs(input_files)[source]¶
Return 2 tiers with name given in options.
- Parameters
input_files – (list)
- Raise
NoTierInputError
- Returns
(sppasTier)
- run(input_files, output=None)[source]¶
Run the automatic annotation process on an input.
Input files is a list with 2 files: the activity of speaker 1 and the activity of the speaker 2.
- Parameters
input_files – (list of str) Time-aligned items, Time-aligned items
output – (str) the output name
- Returns
(sppasTranscription)
Module contents¶
- filename
sppas.src.annotations.Overlaps.__init__.py
- author
Brigitte Bigi
- contact
- summary
Package for the configuration of SPPAS.
- class annotations.Overlaps.OverActivity(ignore=())[source]¶
Bases:
object
Search for overlapped activities.
- class annotations.Overlaps.sppasOverActivity(log=None)[source]¶
Bases:
annotations.baseannot.sppasBaseAnnotation
SPPAS integration of the automatic overlaps estimator on intervals.
- detection(tier_spk1, tier_spk2)[source]¶
Search for the overlaps of annotations.
- Parameters
tier_spk1 – (sppasTier)
tier_spk2 – (sppasTier)
- get_inputs(input_files)[source]¶
Return 2 tiers with name given in options.
- Parameters
input_files – (list)
- Raise
NoTierInputError
- Returns
(sppasTier)
- run(input_files, output=None)[source]¶
Run the automatic annotation process on an input.
Input files is a list with 2 files: the activity of speaker 1 and the activity of the speaker 2.
- Parameters
input_files – (list of str) Time-aligned items, Time-aligned items
output – (str) the output name
- Returns
(sppasTranscription)