I'm running into an exception on line 260 of the assemble.py script.
Traceback (most recent call last):
File "/usr/local/bin/tasmas", line 8, in <module>
sys.exit(main())
File "/usr/local/lib/python3.9/site-packages/tasmas.py", line 201, in main
operation_modes[operation]()
File "/usr/local/lib/python3.9/site-packages/tasmas.py", line 194, in <lambda>
'semiauto': lambda: [recognize(inputDir, names, config['fast']), assemble(inputDir, corrections, names, no_ellipses, disfluent_comma, no_asterisks, show_timestamps)],
File "/usr/local/lib/python3.9/site-packages/assemble.py", line 126, in assemble
update_word_texts(item, repunctuated, all_chunks)
File "/usr/local/lib/python3.9/site-packages/assemble.py", line 260, in update_word_texts
raise ValueError(f"The new text does not have the same number of words as the original. New count: {len(new_words)}, Old count: {len(word_list.words)}, text: '{new_text}' Original text: '{word_list.text}'")
ValueError: The new text does not have the same number of words as the original. New count: 47, Old count: 46,
text:
'or maybe I can give up ten hit points and for two soul coins somewhere else. yeah, maybe I'm trying to buy something, trying not to beat them up if they pay the protection. yeah, well, like $20 a gas. yeah, yeah, that was a good skit*.'
Original text:
'or maybe I can give up ten hit points and for two soul coins somewhere else yeah maybe I'm trying to buy something trying not to beat them up if they pay the protection yeah well like $20 a gas yeah yeah that was a good skit*...'
Manually counting the words in each line comes up with the same number in the new and original text.
I'm running into an exception on line 260 of the assemble.py script.
Manually counting the words in each line comes up with the same number in the new and original text.