public class NameSubtyper extends Object
| Constructor and Description |
|---|
NameSubtyper() |
| Modifier and Type | Method and Description |
|---|---|
static String |
classify(String name,
String type)
return the most likely subclass of name
name, of EDT type
type. |
static void |
createModel() |
static void |
load()
load the maxent model from the file specified as Jet paramter
Ace.NameSubtypeModel.fileName. |
static void |
load(String modelFileName)
load the maxent model from file
modelFileName. |
static void |
main(String[] args)
train a subclass model from the ACE training data.
|
static void |
store(String modelFileName) |
public static void main(String[] args) throws IOException
IOExceptionpublic static void createModel()
public static void store(String modelFileName)
public static void load()
Ace.NameSubtypeModel.fileName.public static void load(String modelFileName)
modelFileName.Copyright © 2016 New York University. All rights reserved.