kmpoon / hlta

Provides functions for hierarchical latent tree analysis on text data for hierarchical topic detection
GNU General Public License v3.0
81 stars 23 forks source link

V2.1 cannot split dataset into training and testing parts #7

Closed syangav closed 6 years ago

syangav commented 6 years ago

Following the README file, I ran "java -cp HLTA.jar:HLTA-deps.jar tm.text.Convert --testsetRatio 0.2 datasetName ./source 1000 1" under the version of 2.1. The error was "Unknown option 'testsetRatio' ". Furthermore, I went through the src folder but did not find anything related to argv and testsetRatio flag. Could someone elaborate a little bit more?

jef33 commented 6 years ago

The option should be --testset-ratio.

jef33 commented 6 years ago

README.md is updated. Thank you for reporting.