public class LinkLabeller extends Object
Modifier and Type | Class and Description |
---|---|
static class |
LinkLabeller.Trainer |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object object) |
int |
hashCode() |
Map<Term,Float> |
label(KAFDocument document,
Term root) |
static LinkLabeller |
readFrom(Path path) |
String |
toString() |
static LinkLabeller.Trainer |
train(String... posPrefixes) |
void |
writeTo(Path path) |
public static LinkLabeller readFrom(Path path) throws IOException
IOException
public Map<Term,Float> label(KAFDocument document, Term root)
public void writeTo(Path path) throws IOException
IOException
public static LinkLabeller.Trainer train(String... posPrefixes)
Copyright © 2016–2020 FBK. All rights reserved.