rkvsraman / autotags

Automatically exported from code.google.com/p/autotags
0 stars 0 forks source link

crashes when the word 'watch' appears in the text #10

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. type watch at the end of the demo text
2.
3.

What is the expected output? 
It took 9 ms. to generate tags from 119 words!
bayesian
bayesian inference
artificial intelligence
complex models
bayes theorem
monte carlo
metropolis hastings
beast
mrbayes
p4
techniques
applications

What do you see instead?
No words are returned, it looks like it crashed

What version of the product are you using? On what operating system?
1.2 demo page, firefox, windows

Please provide any additional information below.
failing for the same reason in my app
had to explicitly add

                if(token.indexOf("watch") >= 0 ){
                    continue;
                }

makes me wonder if other words will make it crash

cheers
michaelchapman1@yahoo.com

Original issue reported on code.google.com by michaelc...@gmail.com on 13 Oct 2008 at 3:00

GoogleCodeExporter commented 9 years ago
Hi, thanks for letting me know about this one -  I'm looking into a resolution 
now.

Original comment by mr.olafs...@gmail.com on 23 Oct 2008 at 9:26

GoogleCodeExporter commented 9 years ago
Fixed...better late than never :) Problem was reserved words being used as keys 
in associative arrays.

Original comment by mr.olafs...@gmail.com on 28 Feb 2009 at 9:45