hi all,
I have installed UMLS-Similarity on Ubuntu (using Virtual Box), but i have many
problems to get the similarity of two terms. I need to calculate the value in a
perl subroutine, so i use the next source code:
my $umls = UMLS::Interface->new();
die "unable to create interface" if (!$umls);
my $wup = UMLS::Similarity::wup->new($umls);
die "unable to create measure\n" if (!$wup);
my $cui1 = "C0005767";
my $cui2 = "C0007634";
my $value = $wup->getRelatedness($cui1, $cui2);
But i get alwayls:
UMLS-Interface Configuration Information:
(Default Information - no config file)
Sources (SAB):
MSH
Relations (REL):
PAR
CHD
Sources (SABDEF):
UMLS_ALL
Relations (RELDEF):
UMLS_ALL
ERROR: UMLS::Interface::PathFinder->_checkIndex
Index Error (Error Code 9).
Index did not complete. Remove using the removeConfigData.pl program and re-run.
I need a configuration file to run that file, but ¿what file? i don know..
And if i run the umls-similatiry.pl, using two terms, the process is very very
slow (hours), and then show a message to create a indexes. When i write 'yes',
the process never finish. In general, all process are very slow, i am very
confused.
Thanks a lot.