seunginah / semanticvectors

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

Stop file name should be all small #38

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. Try to use BuildIndex class with a stop list file named 
stopFileFox_reduced.txt
2. You get the error:
Using stopword file: stopfilefox_reduced.txt
java.io.IOException: Couldn't open file stopfilefox_reduced.txt
3. rename it as stopfilefox_reduced.txt and try that same thing it works!

Original issue reported on code.google.com by sid....@gmail.com on 9 Apr 2011 at 10:12

GoogleCodeExporter commented 9 years ago
Thanks for reporting this. I'm on vacation at the moment but it can't be hard 
to fix when I get back, unless you or someone else gets to it first.

Original comment by widd...@google.com on 10 Apr 2011 at 12:22

GoogleCodeExporter commented 9 years ago
[deleted comment]
GoogleCodeExporter commented 9 years ago
Sure, I would do this. I just placed this so that I can remember.

Original comment by sid....@gmail.com on 10 Apr 2011 at 2:12

GoogleCodeExporter commented 9 years ago
Well the way we are currently processing the flags, the assumption is that 
values should all have been lowercase. Flags.java, line# 200
I see why this assumption is useful, for querying. So, not sure, if we should 
allow that for filenames.
Why not assume that the users only give small caps or convert it into small 
caps only where required?

I need someone's advice on this.

Original comment by sid....@gmail.com on 10 Apr 2011 at 4:55