You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@mahout.apache.org by "Suneel Marthi (JIRA)" <ji...@apache.org> on 2013/06/06 04:41:20 UTC
[jira] [Created] (MAHOUT-1243) Dictionary file format in
Lucene-Mahout integration is not in SequenceFileFormat
Suneel Marthi created MAHOUT-1243:
-------------------------------------
Summary: Dictionary file format in Lucene-Mahout integration is not in SequenceFileFormat
Key: MAHOUT-1243
URL: https://issues.apache.org/jira/browse/MAHOUT-1243
Project: Mahout
Issue Type: Bug
Components: Integration
Affects Versions: 0.7
Reporter: Suneel Marthi
Assignee: Suneel Marthi
Fix For: 0.8
Dictionary file format generated from lucene.vectors is not in SequenceFileFormat and hence not acceptable as input to CVB clustering.
The problem code from Driver.java
{Code}
File dictOutFile = new File(dictOut);
log.info("Dictionary Output file: {}", dictOutFile);
Writer writer = Files.newWriter(dictOutFile, Charsets.UTF_8);
DelimitedTermInfoWriter tiWriter = new DelimitedTermInfoWriter(writer, delimiter, field);
try {
tiWriter.write(termInfo);
} finally {
Closeables.close(tiWriter, false);
}
{Code}
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira