|
From: Dominic W. <dwi...@cs...> - 2007-09-06 16:35:37
|
Dear Kaveh, First of all, please accept my apologies for taking so long to et back to you. I have been travelling and busy, but I would have liked to write sooner. Unfortunately I don't see anything obvious that you've done wrong, so I don't see a clear solution. Here are some suggestions: i. Did everything work when you ran "./configure", "make", "make install". Where is your infomap-build script running from? ii. My usual habit is to keep corpora and models in some directory apart from the codetree, e.g., in ~/data/corpora and ~/data/infomap where ~ is my home directory. I don't see why there should be any interference with having your code and data under the same branch, but it might be worth moving them around. iii. Check the dic and wordlist files that you do have. Do they have useful content in them? iv. It looks like you do have a model_params.bin file. What does it contain? And does it get written during the process? (Run "ls -l" on your data directory, see if that tells you anything.) Sorry not to be more specific at this point, hopefully we'll get this figured out. Best wishes, Dominic On Thu, 30 Aug 2007, Kaveh Piroozram wrote: > Hello, > > I work with a single small text file. and i have tagged it according > to: > > <DOC> > . > <TEXT> > .. > ... > </TEXT> > > </DOC> > > > My working directory is: "/home/kultur/C/Text_Processing/phase3/infomap-nlp-0.8.6/" > > The file i work with is in plain English and is around 60 Kb. > it is called: "EU.txt" and is stored under a directroy called corpora. > > Now, when i issue: > > infomap-build -s corpora/EU.txt EU > > > I get the following: (please skip the first 3 lines to save time) > > model data dir is "/home/kultur/C/Text_Processing/phase3/infomap-nlp-0.8.6/infomap_models/EU". > model_params.c: read_model_params: Size of model params file "/home/kultur/C/Text_Processing/phase3/infomap-nlp-0.8.6/ > infomap_models/EU/model_params.bin" doesn't match size of MODEL_PARAMS structure type. > Has the MODEL_PARAMS type definition changed since this file was written? > count_wordvec.c: couldn't read model data file > > make: *** [/home/kultur/C/Text_Processing/phase3/infomap-nlp-0.8.6/infomap_models/EU/coll] Error 1 > > > Please notice that i have set all environmental variables correct. > Later on i tried to install the model on the defined place (as set by > environmental variables) and the model get installed. However, i get > the following: > > > Using install control file "/usr/local/share/infomap-nlp/install.control" > Missing file "wordvec.bin". > Missing file "word2offset.db". > Missing file "word2offset.dir". > Missing file "word2offset.pag". > Missing file "offset2word.db". > Missing file "offset2word.dir". > Missing file "offset2word.pag". > Missing file "number2name.db". > Missing file "number2name.dir". > Missing file "number2name.pag". > Missing file "artvec.bin". > Missing file "art2offset.db". > Missing file "art2offset.dir". > Missing file "art2offset.pag". > Missing file "offset2art.db". > Missing file "offset2art.dir". > Missing file "offset2art.pag". > Missing file "model_params.txt". > Missing file "model_info.txt". > Missing file "corpus_format.txt". > > > I suppose these files where never generated during the building due to > the error. > > Now when i look at the generated EU(model) under infomap_models, > (infomap_models/EU) i only see these files: > > corpus_format.bin > dic > model_info.bin > model_params.bin > numDocs > wordlist > > And when i issue the command: > > associate.exe -t -c EU Development > > I get the following: > > model_params.c: read_model_params: Size of model params file "/home/kultur/C/Text_Processing/phase3/infomap-nlp-0.8.6/ > infomap_models/EU/model_params.bin" doesn't match size of MODEL_PARAMS structure type. > Has the MODEL_PARAMS type definition changed since this file was written? > Can't open model parameter file "/home/kultur/C/Text_Processing/phase3/infomap-nlp-0.8.6/infomap_models/EU/model_param > s.bin". > > > I don't want to take your time. But appreciate a lot if you tell your ideas > or shortly point out any mistake i have done. > > > Thanks, > kave > -- > Kaveh Piroozram > pa...@em... > > -- > http://www.fastmail.fm - Choose from over 50 domains or use your own > > > ------------------------------------------------------------------------- > This SF.net email is sponsored by: Splunk Inc. > Still grepping through log files to find problems? Stop. > Now Search log events and configuration files using AJAX and a browser. > Download your FREE copy of Splunk now >> http://get.splunk.com/ > _______________________________________________ > infomap-nlp-users mailing list > inf...@li... > https://lists.sourceforge.net/lists/listinfo/infomap-nlp-users > |