run_task.sh 명령어 실행시 아래와 같은 오류가 발생합니다.
No training data files specified.
Saving segmentations to 'morfessor.model.txt'...
Fatal Error <type 'exceptions.AttributeError'> 'BaselineModel' object has no attribute '_segment_only'
Traceback (most recent call last):
File "/bin/morfessor", line 4, in <module>
__import__('pkg_resources').run_script('Morfessor==2.0.4', 'morfessor')
File "/usr/lib/python2.7/site-packages/pkg_resources.py", line 540, in run_script
self.require(requires)[0].run_script(script_name, ns)
File "/usr/lib/python2.7/site-packages/pkg_resources.py", line 1462, in run_script
exec_(script_code, namespace, namespace)
File "/usr/lib/python2.7/site-packages/pkg_resources.py", line 41, in exec_
exec("""exec code in globs, locs""")
File "<string>", line 1, in <module>
File "/usr/lib/python2.7/site-packages/Morfessor-2.0.4-py2.7.egg/EGG-INFO/scripts/morfessor", line 22, in <module>
File "/usr/lib/python2.7/site-packages/Morfessor-2.0.4-py2.7.egg/EGG-INFO/scripts/morfessor", line 13, in main
File "build/bdist.linux-x86_64/egg/morfessor/cmd.py", line 491, in main
File "build/bdist.linux-x86_64/egg/morfessor/io.py", line 83, in write_segmentation_file
for klass in (BytesIO, BufferedReader, BufferedWriter, BufferedRandom,
File "build/bdist.linux-x86_64/egg/morfessor/baseline.py", line 473, in get_segmentations
File "build/bdist.linux-x86_64/egg/morfessor/baseline.py", line 104, in _check_segment_only
AttributeError: 'BaselineModel' object has no attribute '_segment_only'