Package pocketsphinx :: Module pocketsphinx :: Class Segment
[hide private]
[frames] | no frames]

Class Segment

source code

object --+
         |
        Segment

Proxy of C Segment struct

Instance Methods [hide private]
 
__setattr__(self, name, value)
x.__setattr__('name', value) <==> x.name = value
source code
 
__getattr__(self, name) source code
 
__repr__(self)
repr(x)
source code
 
__swig_destroy__(...)
delete_Segment(Segment self)
 
__del__(self) source code
 
__init__(self)
__init__(Segment self) -> Segment
source code

Inherited from object: __delattr__, __format__, __getattribute__, __hash__, __new__, __reduce__, __reduce_ex__, __sizeof__, __str__, __subclasshook__

Static Methods [hide private]
 
fromIter(itor)
fromIter(void * itor) -> Segment
source code
Class Variables [hide private]
  __swig_setmethods__ = {'ascore': <built-in function Segment_as...
  __swig_getmethods__ = {'ascore': <built-in function Segment_as...
Properties [hide private]
  word
Segment_word_get(Segment self) -> char *
  ascore
Segment_ascore_get(Segment self) -> int
  lscore
Segment_lscore_get(Segment self) -> int
  lback
Segment_lback_get(Segment self) -> int
  prob
Segment_prob_get(Segment self) -> int
  start_frame
Segment_start_frame_get(Segment self) -> int
  end_frame
Segment_end_frame_get(Segment self) -> int

Inherited from object: __class__

Method Details [hide private]

__setattr__(self, name, value)

source code 

x.__setattr__('name', value) <==> x.name = value

Overrides: object.__setattr__
(inherited documentation)

__repr__(self)
(Representation operator)

source code 

repr(x)

Overrides: object.__repr__
(inherited documentation)

__init__(self)
(Constructor)

source code 

__init__(Segment self) -> Segment

Overrides: object.__init__

Class Variable Details [hide private]

__swig_setmethods__

Value:
{'ascore': <built-in function Segment_ascore_set>,
 'end_frame': <built-in function Segment_end_frame_set>,
 'lback': <built-in function Segment_lback_set>,
 'lscore': <built-in function Segment_lscore_set>,
 'prob': <built-in function Segment_prob_set>,
 'start_frame': <built-in function Segment_start_frame_set>,
 'word': <built-in function Segment_word_set>}

__swig_getmethods__

Value:
{'ascore': <built-in function Segment_ascore_get>,
 'end_frame': <built-in function Segment_end_frame_get>,
 'fromIter': <function <lambda> at 0x225dcf8>,
 'lback': <built-in function Segment_lback_get>,
 'lscore': <built-in function Segment_lscore_get>,
 'prob': <built-in function Segment_prob_get>,
 'start_frame': <built-in function Segment_start_frame_get>,
 'word': <built-in function Segment_word_get>}

Property Details [hide private]

word

Segment_word_get(Segment self) -> char *

Get Method:
_pocketsphinx'.Segment_word_get(...) - Segment_word_get(Segment self) -> char *
Set Method:
_pocketsphinx'.Segment_word_set(...) - Segment_word_set(Segment self, char * word)

ascore

Segment_ascore_get(Segment self) -> int

Get Method:
_pocketsphinx'.Segment_ascore_get(...) - Segment_ascore_get(Segment self) -> int
Set Method:
_pocketsphinx'.Segment_ascore_set(...) - Segment_ascore_set(Segment self, int ascore)

lscore

Segment_lscore_get(Segment self) -> int

Get Method:
_pocketsphinx'.Segment_lscore_get(...) - Segment_lscore_get(Segment self) -> int
Set Method:
_pocketsphinx'.Segment_lscore_set(...) - Segment_lscore_set(Segment self, int lscore)

lback

Segment_lback_get(Segment self) -> int

Get Method:
_pocketsphinx'.Segment_lback_get(...) - Segment_lback_get(Segment self) -> int
Set Method:
_pocketsphinx'.Segment_lback_set(...) - Segment_lback_set(Segment self, int lback)

prob

Segment_prob_get(Segment self) -> int

Get Method:
_pocketsphinx'.Segment_prob_get(...) - Segment_prob_get(Segment self) -> int
Set Method:
_pocketsphinx'.Segment_prob_set(...) - Segment_prob_set(Segment self, int prob)

start_frame

Segment_start_frame_get(Segment self) -> int

Get Method:
_pocketsphinx'.Segment_start_frame_get(...) - Segment_start_frame_get(Segment self) -> int
Set Method:
_pocketsphinx'.Segment_start_frame_set(...) - Segment_start_frame_set(Segment self, int start_frame)

end_frame

Segment_end_frame_get(Segment self) -> int

Get Method:
_pocketsphinx'.Segment_end_frame_get(...) - Segment_end_frame_get(Segment self) -> int
Set Method:
_pocketsphinx'.Segment_end_frame_set(...) - Segment_end_frame_set(Segment self, int end_frame)