Pages: [1]
  Print  
Author Topic: Two bug report  (Read 1401 times)
Benjamin
Guest
« on: July 31, 2008, 08:03:51 PM »

Hi, Michael.

I found one bug when I browse WVTool project.
1. WVTool.java should set pruneMin and pruneMax as caller just passed in, instead of defaults. Obviously it is caused the overlook after copy-paste.

    public void createVectors(WVTInputList input, WVTConfiguration config, int pruneMin, int pruneMax) throws WVToolException {

        // Currently somewhat unefficient: Simply reads all documents twice,
        // will be enhanced in future versions.

        // Generate the word list
        WVTWordList wordList = createWordList(input, config);

        // Prune the word list
        wordList.pruneByFrequency(DEFAULT_PRUNE_MIN, DEFAULT_PRUNE_MAX);

        // Create the word vectors
        createVectors(input, config, wordList);

    }


-Benjamin
Logged
Ingo Mierswa
Administrator
Hero Member
*****
Posts: 1226



WWW
« Reply #1 on: August 01, 2008, 07:13:50 PM »

Hi Benjamin,

thanks for sending this in. We will fix this.

Cheers,
Ingo
Logged

Did you try our new Marketplace? Upload or download new Extensions, add comments, and organize your operators. Have a look at  http://marketplace.rapid-i.com
Pages: [1]
  Print  
 
Jump to: