AdamMeyers / The_Termolator

Termonology Extraction Program (English Version)
41 stars 19 forks source link

head: <OUTPUT_NAME>.scored.output: No such file or directory #2

Open YborBorn opened 7 years ago

YborBorn commented 7 years ago

Hello. I'm running The_Termolator under OSX 10.11.6 and reaching the "filter_term_output.py" script and then getting a "head: technology.scored.output: No such file or directory" error. "technology" is my OUTPUT_NAME variable value. I am behind a proxy at work so is there any chance that this is the cause of this error? From the documentation, it looks like Termolator is going out to Yahoo to create the relevance scoring, so if the proxy is blocking this, I'd like to find a work around. Thanks.

AdamMeyers commented 7 years ago

Hi,

First of all, there were some minor bug fixes to web_score.py, that I have not entered yet. Replacing the following function (in webscore.py) might help as the webscore function is less likely to crash. I have not added other parts of this yet because they have not been sufficiently tested. (Hopefully, using this code in isolation won't make it bomb -- I have not tested that either.)

Alternatively, it is possible to run without the web_score filter (i.e., calling Yahoo). Using the run_termolator script, Argument 6 should be False. If you are specifically running filter_term_output.py, then the second argument should be False if you want to avoid the web filter.

Best,

Adam Meyers

On 12/12/2016 02:20 PM, YborBorn wrote:

Hello. I'm running The_Termolator under OSX 10.11.6 and getting to the "filter_term_output.py" script and then getting a "head: technology.scored.output: No such file or directory" error. "technology" is my OUTPUT_NAME variable value. I am behind a proxy at work so is there any chance that this is the cause of this error? From the documentation, it looks like Termolator is going out to Yahoo to create the relevance scoring, so if the proxy is blocking this, I'd like to find a work around. Thanks.

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/AdamMeyers/The_Termolator/issues/2, or mute the thread https://github.com/notifications/unsubscribe-auth/ANJjCFv793mzP1TMx_6RVVlobQ0kvkAgks5rHZ5rgaJpZM4LK65m.

YborBorn commented 7 years ago

Thanks Adam. Tried running with Arguments 5 and 6 as False, and I'm still getting the same error. Any idea when your web_score.py code will be tested and uploaded? Thanks.

AdamMeyers commented 7 years ago

Hi,

If things go smoothly, I should be able to update this next month (during the break from teaching).

Incidentally, Argument 5 should only be False if you've already processed the background files. But assuming that you have already processed background files, I am surprised you got the same error and I don't think fixing the web_score would fix the problem. I would have imagined that the webscore hit a bug of some kind (e.g., the bug I fixed or some other problem with calling Yahoo), so the .scored_output file was not created. However, it is still not being created.

If you send me your technology.all_terms file, I could possibly debug (probably not immediately though). If no technology.all_terms file exists, then there is clearly a different problem.

Adam

On 12/12/2016 03:41 PM, YborBorn wrote:

Thanks Adam. Tried running with Arguments 5 and 6 as False, and I'm still getting the same error. Any idea when your web_score.py code will be tested and uploaded? Thanks.

— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/AdamMeyers/The_Termolator/issues/2#issuecomment-266546362, or mute the thread https://github.com/notifications/unsubscribe-auth/ANJjCAc3rN-0AzjdbBvn1Q0xiI_4rE3jks5rHbFdgaJpZM4LK65m.

YborBorn commented 7 years ago

Adam - Is the meyers@cs.nyu.edu the best address to use? Thanks.

AdamMeyers commented 7 years ago

Yes

On 12/12/2016 04:40 PM, YborBorn wrote:

Adam - Is the meyers@cs.nyu.edu mailto:meyers@cs.nyu.edu the best address to use? Thanks.

— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/AdamMeyers/The_Termolator/issues/2#issuecomment-266561391, or mute the thread https://github.com/notifications/unsubscribe-auth/ANJjCNONYNQGxl_zxIcDyIaSozuf6HeGks5rHb9bgaJpZM4LK65m.

tomleung1996 commented 5 years ago

same issue, the program never works on my datasets, but work fine on the samples.