public class TfidfUtils extends Object
Constructor and Description |
---|
TfidfUtils() |
Modifier and Type | Method and Description |
---|---|
static <T> T |
deserialize(String filePath) |
static DfModel |
getDfModel(String path)
Reads a
DfStore from disk. |
static void |
serialize(Object object,
String fileName) |
static void |
writeDfModel(DfModel dfModel,
String path)
Serializes the DfStore at outputPath.
|
public static void writeDfModel(DfModel dfModel, String path) throws Exception
Exception
public static DfModel getDfModel(String path) throws Exception
DfStore
from disk.Exception
public static void serialize(Object object, String fileName) throws Exception
Exception
Copyright © 2011–2015. All rights reserved.