mickeysjm / HiExpan

The source code used for automatic taxonomy construction method HiExpan, published in KDD 2018
GNU General Public License v3.0
71 stars 18 forks source link

How to run HiExpan after Corpus pre-processing and feature extraction #2

Closed wuwuwujy closed 5 years ago

wuwuwujy commented 5 years ago

Hi, I want to run HiExpan to see how it works on DBLP corpus. I use the test_dataset provided in original HiExpan folder. I have ran the corpus preprocessing and feature extraction part. When I try to run main.py in new-HiExpan folder, it tells me main.py: error: the following arguments are required: -data, -taxonPrefix. Is there any instruction about how to run that part? In addition, where should I put seed taxonomy and what the format of that should be. Thanks.

mickeysjm commented 5 years ago

@wuwuwujy I update the main.py file with default -data and -taxonPrefix values. Basically the -data argument is your dataset/corpus name and -taxonPrefix can be any string used for naming your constructed taxonomy. You can add seed taxonomy in ./HiExpan-new/seedLoader.py, following the example in that code. Finally, I update the README file and you can run the model following its direction. If you have any further question, please kindly let me know. Thanks.

wuwuwujy commented 5 years ago

Thank you so much for your kindly help!

On Tue, Mar 26, 2019 at 2:18 PM Jiaming Shen notifications@github.com wrote:

@wuwuwujy https://github.com/wuwuwujy I update the main.py file with default -data and -taxonPrefix values. Basically the -data argument is your dataset/corpus name and -taxonPrefix can be any string used for naming your constructed taxonomy. You can add seed taxonomy in ./HiExpan-new/seedLoader.py, following the example in that code. Finally, I update the README file and you can run the model following its direction. If you have any further question, please kindly let me know. Thanks.

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/mickeystroller/HiExpan/issues/2#issuecomment-476807723, or mute the thread https://github.com/notifications/unsubscribe-auth/AV7D2g1jgCUjXJRG0CaHac7KKC2IL8iZks5vanKHgaJpZM4cFrmZ .

-- Jiaying Wu

mickeysjm commented 5 years ago

@wuwuwujy If you have no further question. You can choose this issue. Thanks

wuwuwujy commented 5 years ago

Sorry, I forgot to close that.

On Tue, Apr 2, 2019 at 18:03 Jiaming Shen notifications@github.com wrote:

@wuwuwujy https://github.com/wuwuwujy If you have no further question. You can choose this issue. Thanks

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/mickeystroller/HiExpan/issues/2#issuecomment-479245289, or mute the thread https://github.com/notifications/unsubscribe-auth/AV7D2unKzaMnWL0bmVtxSQ8LdgsBHWJ4ks5vc-HUgaJpZM4cFrmZ .

-- Jiaying Wu