java - How to set the overwrite option in Mahout? -


in many cases output directory needs overwritten, while converting sequence files sparse vectors. know how set overwrite option.

p.s.: have been able same via cli need make use apis.

the api call used in sparse vectors sequence files follows:

string[] vectorizingparameters = {"-i", seqdirectory,                                   "-o", vectorsdirectory,                                   "-ow"}; sparsevectorsfromsequencefiles thissparsevectorizer = new sparsevectorsfromsequencefiles(); thissparsevectorizer.run(vectorizingparameters); 

it's -ow in end of string[] vectorizingparameters gets parsed overwrite option.


Comments

Popular posts from this blog

java - How to print docx and pdf? -

qml - Is it possible to implement SystemTrayIcon functionality in Qt Quick application -

java - IntelliJ to move a class along with conflicted classes to a new package? -