List,

    I would like to let you guys know that I replaced the pywordnet
dependency, with a new one named nltk. pywordnet was an unsupported
project that had a lot of bugs, nltk [0] is way better, and allows us
to perform more tasks. The next time you update w3af, you'll get a
message that says: "You have to install the nltk lib. Please read the
users guide.", you should:

cd extlib/nltk/
sudo python setup.py install
cd ../../

    That should fix your problem.

    I would like to thank Luciano Bello for pointing me to nltk, which
helped me discover this great thing about it:

>>> wn.synsets('blue')[0].hypernyms()
[Synset('chromatic_color.n.01')]
>>> wn.synsets('blue')[0].hypernyms()[0].hyponyms()
[Synset('orange.n.02'), Synset('brown.n.01'), Synset('green.n.01'),
Synset('salmon.n.04'), Synset('red.n.01'), Synset('blue.n.01'),
Synset('blond.n.02'), Synset('purple.n.01'), Synset('olive.n.05'),
Synset('yellow.n.01'), Synset('pink.n.01'), Synset('pastel.n.01'),
Synset('complementary_color.n.01')]
>>>

    In other words, the wordnet plugin is now able to test a lot of
combinations, that it wasn't able to test in the past. A clear example
is in the "scripts/script-wordnet.w3af" script, that has one of the
targets set to "blue.html", and based on that it finds azure.html,
green.html, red.html .

    This change, also takes us one step closer to the w3af.deb package! =)

[0] http://nltk.googlecode.com/svn/trunk/doc/howto/wordnet.html

Cheers,
-- 
Andrés Riancho
http://www.bonsai-sec.com/
http://w3af.sourceforge.net/

------------------------------------------------------------------------------
Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA
-OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise
-Strategies to boost innovation and cut costs with open source participation
-Receive a $600 discount off the registration fee with the source code: SFAD
http://p.sf.net/sfu/XcvMzF8H
_______________________________________________
W3af-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/w3af-users

Reply via email to