|
| context_type |
|
| sents |
|
| env_matrix |
|
| matrix |
|
def vsm.model.beaglecontext.BeagleContextSeq.__init__ |
( |
|
self, |
|
|
|
corpus, |
|
|
|
env_corpus, |
|
|
|
env_matrix, |
|
|
|
context_type = 'sentence' |
|
) |
| |
Initialize BeagleContextSeq.
:param corpus: Source of observed data.
:type corpus: class:`Corpus`
:param env_corpus: BEAGLE environment corpus.
:type env_corpus: class:`Corpus`
:param env_matrix: Matrix from BEAGLE environment model.
:type env_matrix: 2-D array
:param context_type: Name of tokenization stored in `corpus` whose
tokens will be treated as documents. Default is `sentence`.
:type context_type: string, optional
def vsm.model.beaglecontext.BeagleContextSeq.train |
( |
|
self | ) |
|
La documentación para esta clase fue generada a partir del siguiente fichero:
- vsm/vsm/model/beaglecontext.py