|
From: Zbynek S. <zb...@ma...> - 2006-10-24 09:19:42
|
Dear Scott,
thank you for your prompt respond. Unfortunately, I am not able to run
associate from the command line with the -p or -v options. The only
available options are in the attached man file (associate_man.txt) and here:
Usage:associate [-w | -d | -q]
[-i type_of_input(d or w)] [-f vector_output_file]
( [-t] | [-m model_dir] )
[-c <model_tag>]
[-n num_neighbors] [-f vector_output_file]
<pos_term_1> [pos_term_2 ... pos_term_n]
[NOT neg_term_1 ... neg_term_n]
Task: -w associate words (DEFAULT)
-d associate documents
-q print query vector
I have also compiled a new version of associate from CVS (1.2) and it runs
with the same results.
I think the problem could be an old code in the public version of associate
in Infomap 0.8.6 and I think no one is able to run associate with -v or -p
options. It would be nice, if you or Beate Dorow could add a revision of
associate in CVS.
Many thanks for your help and best regards
Zbynek Studenovsky
-----------------------------------------
email: zb...@ma...
homepage: http://homepage.mac.com/zbynek
Am 23.10.2006 18:13 Uhr schrieb "Scott Cederberg" unter
<ced...@gm...>:
> Hi Zbynek,
>
> I'm glad to hear that you've gotten the Web frontend working.
> Are you able to run associate from the command line with the -p or -v
> options?
>
> Unfortunately I'm not that familiar with these options... I'll
> give them a try tonight when I get home, though, to see if they work
> in my version of the software.
>
>
> Scott
>
> On 10/23/06, Zbynek Studenovsky <zb...@ma...> wrote:
>> Dear Sirs,
>>
>> I use a Infomap software to build a language model (Greek New Testament and
>> LXX) for my doctoral thesis. For publishing I would like to make my model
>> available for another researches via www. For this reason I have installed
>> on my system (Mac OS X 10.3.9 PowerPC) an Infomap demo PERL and CGI scripts
>> from CVS (webif) directory. All scripts are running great and I can search
>> for nearest neighbors of related words and retrieve documents without
>> problems, also with negative keywords.
>>
>> Regrettably, I am unable to search for "clustered results" and "contrasting
>> pairs" with my version of associate (?) - my Apache server (version 1.3)
>> records in error_log "Bad option: -v" for "clustered results" and "Bad
>> option: -p" for "contrasting pairs".
>>
>> My question is: Is the 'problem' in air file code (lines 74-79):
>>
>> #71 sub associate(){
>> #72 $command = "associate -w -c " . $input{'corpus'};
>> #73 if( $input{'contrast'} eq 'clustered' ){
>> #74 $command = $command . " -v clusters " . $input{'results'} . " "
>> #75 . $input{'clusters'};
>> #76 }
>> #77 if( $input{'contrast'} eq 'pairs' ){
>> #78 $command = $command . " -p";
>> #79 }
>>
>> or in my installed 'old' version of associate?
>>
>> Many thanks for your help and best regards from Prague
>>
>> Zbynek Studenovsky
>> -----------------------------------------
>> email: zb...@ma...
>> homepage: http://homepage.mac.com/zbynek
>>
>>
>>
|