topictiling icon indicating copy to clipboard operation
topictiling copied to clipboard

Found [0] resources to be read

Open ConnieTong opened this issue 6 years ago • 7 comments

Hi, I encounter this problem when I try to segment Chinese Document. And the output is

I have trained a LDA model using JGibbLDA. I have already segmented Chinese text before using Topictiling. The command is below: sh topictiling.sh -ri 5 -tmd model_news -tmn mode-final -fp "*txt" -fd all_seg -s

Is there anything wrong? I am also confused about model-final. I mean that model-final is model-final.others, model-final.phi, model-final.tassign or model.final.theta?
Thank you so much!

ConnieTong avatar Apr 25 '18 16:04 ConnieTong

@ConnieTong Did you figure it out eventually? I am encountering the same problem.

johnyoonh avatar Sep 23 '19 20:09 johnyoonh

@ConnieTong @johnyoonh @riedlma me too!

fan8502 avatar Oct 03 '19 12:10 fan8502

Can you try to use an absolute path for the -fd option?

riedlma avatar Oct 06 '19 11:10 riedlma

and sorry for the late response. For some reason I did not read/receive the message...

riedlma avatar Oct 06 '19 11:10 riedlma

I've encountered the same issue, also using absolute paths. I also tried with/without quotes for the "*txt" option, but to no success. Could this be a version conflict with newer Java versions that just doesn't throw an error? I'm on Ubuntu 18.04 FYI.

dennlinger avatar Apr 21 '20 08:04 dennlinger

I guess the error is caused by a typo. In the command, you wrote "-tmn mode-final" . JGibbsLDA or GibbsLDA++ name them "model-final", so with an additional lower "L". The typo exists in the readme.md, so it probably a copy paste error

patsab avatar Apr 14 '21 21:04 patsab

You cannot run based off of the command -fp "*txt". The only way it works to run by me is with individual documents with the exact label "-fp document_0.txt" @ConnieTong

chloebeth avatar Dec 13 '21 04:12 chloebeth