Civiano

Results 3 comments of Civiano

I have installed the pymetamap in Mac OS, when I run `>>> sents = ['Heart Attack', 'John had a huge heart attack']` `>>> concepts,error = mm.extract_concepts(sents,[1,2])` I get the following...

thanks, but i got another problem when run pymetamap on ubuntu os concepts,error = mm.extract_concepts(sents,[1,2]) Traceback (most recent call last): File "", line 1, in File "pymetamap/SubprocessBackend.py", line 117, in...

1. the code: from pymetamap import MetaMap mm = MetaMap.get_instance('/media/zhangminhua/205CB4CD5CB49ECA/metamap/public_mm/bin/metamap12') sents = ['Heart Attack', 'John had a huge heart attack'] concepts,error = mm.extract_concepts(sents,[1,2]) 2. errors: Traceback (most recent call last):...