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

google api - Incomplete response from Gmail API threads.list -

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

double exclamation marks in haskell -