AttributeError: 'module' object has no attribute

 
0
 
Python
ava
Dims | 17.08.2010, 16:09
Запускаю чужую программу (по обработке речи), получаю ошибку

AttributeError: 'module' object has no attribute 'SymbolInventory'


Output dictionary AudioBook/interim_files/dict opened
Source dictionary AudioBook/interim_files/pronDict opened
Dictionary AudioBook/interim_files/dict created - 10 words processed, 1 missing
/usr/bin/g2p.py:37: DeprecationWarning: the sets module is deprecated
import math, sets, sys
Traceback (most recent call last):
File "/usr/bin/g2p.py", line 263, in <module>
tool.run(main, options, args)
File "/usr/lib/python2.6/site-packages/tool.py", line 62, in run
status = runMain(main, options, args)
File "/usr/lib/python2.6/site-packages/tool.py", line 98, in runMain
status = main(options, args)
File "/usr/bin/g2p.py", line 200, in main
model = SequiturTool.procureModel(options, loadSample, log=stdout)
File "/usr/lib/python2.6/site-packages/SequiturTool.py", line 207, in procureModel
return tool.procureModel()
File "/usr/lib/python2.6/site-packages/SequiturTool.py", line 160, in procureModel
model = pickle.load(open(self.options.modelFile))
AttributeError: 'module' object has no attribute 'SymbolInventory'
g2p.py mv AudioBook/interim_files/dlog AudioBook/interim_files/logs/dlog1 failed: 256 at AudioBook/Dictionary.pm line 139
AudioBook::Dictionary::getG2PPronunciations('AudioBook::Dictionary=HASH(0x8d3fa8c)', 'AudioBook/interim_files/MissingWords_out') called at AudioBook/MissingWords.pm line 85
AudioBook::MissingWords::getText('AudioBook::MissingWords=HASH(0x8d3f9dc)') called at AudioBook/Chapter.pm line 69
AudioBook::Chapter::processText('AudioBook::Chapter=HASH(0x8b23b34)') called at ./AudioCrop.pm line 115
AudioCrop::crop('AudioCrop=HASH(0x8b078c4)') called at ./AudioCrop.pm line 51


Помогите понять, хотя бы, что она означает, а то я Питона не знаю... smile
Kommentare (0)

Kommentare werden nicht hinzugefügt

Registrieren Sie sich oder melden Sie sich an, um schreiben zu können.
Unternehmen des Tages
Вы также можете добавить свою фирму в каталог IT-фирм, и публиковать статьи, новости, вакансии и другую информацию от имени фирмы.
Подробнее
Mitwirkende
  Dims
advanced
Absenden