Created
August 26, 2013 23:14
-
-
Save mrorii/6347826 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
orii[10605]$ python -m cdec.sa.extract -c cpad/extract.ini -g cpad/dev.grammars -z < cpad/cookpad.dev.ja-en > cpad/cookpad.dev.ja-en.sgm | |
INFO:cdec.sa:Sampling strategy: uniform, max sample size = 300 | |
INFO:cdec.sa:Reading precomputed data from file /home/orii/cdec/cpad/training.sa/precomp.5.2.15.1.100.10.bin... | |
INFO:cdec.sa:Converting 42 hash keys on precomputed inverted index... | |
INFO:cdec.sa:Converting 7564 hash keys on precomputed collocations... | |
INFO:cdec.sa:Processing precomputations took 0.084005 seconds | |
Traceback (most recent call last): | |
File "/home/orii/Canopy/appdata/canopy-1.0.3.1262.rh5-x86/lib/python2.7/runpy.py", line 162, in _run_module_as_main | |
"__main__", fname, loader, pkg_name) | |
File "/home/orii/Canopy/appdata/canopy-1.0.3.1262.rh5-x86/lib/python2.7/runpy.py", line 72, in _run_code | |
exec code in run_globals | |
File "/home/orii/cdec/python/build/lib.linux-i686-2.7/cdec/sa/extract.py", line 113, in <module> | |
main() | |
File "/home/orii/cdec/python/build/lib.linux-i686-2.7/cdec/sa/extract.py", line 106, in main | |
for output in map(extract, enumerate(sys.stdin)): | |
File "/home/orii/cdec/python/build/lib.linux-i686-2.7/cdec/sa/extract.py", line 58, in extract | |
output.write(str(rule)+'\n') | |
File "rule.pxi", line 185, in _sa.Rule.__str__ (src/sa/_sa.c:28670) | |
File "features.pxi", line 21, in _sa.FeatureVector.__str__ (src/sa/_sa.c:67429) | |
File "features.pxi", line 21, in genexpr (src/sa/_sa.c:67336) | |
File "features.pxi", line 18, in __iter__ (src/sa/_sa.c:67184) | |
File "int_list.pxi", line 109, in _sa.IntList.__getitem__ (src/sa/_sa.c:6548)TypeError: Illegal key type <type 'long'> for IntList |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment