Package | Description |
---|---|
ixa.kaflib |
Modifier and Type | Field and Description |
---|---|
static Comparator<WF> |
WF.OFFSET_COMPARATOR |
Modifier and Type | Method and Description |
---|---|
WF |
KAFDocument.createWF(String form)
Deprecated
|
WF |
KAFDocument.createWF(String form,
int offset)
Deprecated
|
WF |
KAFDocument.createWF(String id,
String form)
Deprecated
|
WF |
Term.getHeadWF() |
WF |
KAFDocument.newWF(String form)
Deprecated
|
WF |
KAFDocument.newWF(String form,
int offset)
Creates a new WF object.
|
WF |
KAFDocument.newWF(String form,
int offset,
int sent)
Creates a new WF object.
|
WF |
KAFDocument.newWF(String id,
String form)
Deprecated
|
WF |
KAFDocument.newWF(String id,
String form,
int sent)
Creates a WF object to load an existing word form.
|
Modifier and Type | Method and Description |
---|---|
List<List<WF>> |
KAFDocument.getSentences()
Returns a list with all sentences.
|
Span<WF> |
Term.getSpan() |
Span<WF> |
Timex3.getSpan() |
List<WF> |
Term.getWFs() |
List<WF> |
KAFDocument.getWFs()
Returns a list containing all WFs in the document
|
Span<WF> |
LinkedEntity.getWFs()
Returns the term targets of the first span.
|
List<WF> |
Factuality.getWFs() |
List<WF> |
KAFDocument.getWFsByPara(Integer para) |
List<WF> |
KAFDocument.getWFsBySent(Integer sent) |
static Span<WF> |
KAFDocument.newWFSpan() |
static Span<WF> |
KAFDocument.newWFSpan(List<WF> targets) |
static Span<WF> |
KAFDocument.newWFSpan(List<WF> targets,
WF head) |
Modifier and Type | Method and Description |
---|---|
void |
Term.addWF(WF wf) |
void |
Term.addWF(WF wf,
boolean isHead) |
List<Timex3> |
KAFDocument.getTimeExsByWF(WF wf) |
String |
KAFDocument.insertWF(WF wf) |
static Span<WF> |
KAFDocument.newWFSpan(List<WF> targets,
WF head) |
Modifier and Type | Method and Description |
---|---|
Term |
KAFDocument.createTerm(String type,
String lemma,
String pos,
List<WF> wfs)
Deprecated
|
Term |
KAFDocument.createTerm(String id,
String type,
String lemma,
String pos,
List<WF> wfs)
Deprecated
|
Term |
KAFDocument.createTermOptions(String type,
String lemma,
String pos,
String morphofeat,
List<WF> wfs)
Deprecated
|
String |
Timex3.getSpanStr(Span<WF> span) |
List<Term> |
KAFDocument.getTermsByWFs(List<WF> wfs)
Returns a list of terms containing the word forms given on argument.
|
LinkedEntity |
KAFDocument.newLinkedEntity(Span<WF> span)
Creates a LinkedEntity object and add it to the document
|
LinkedEntity |
KAFDocument.newLinkedEntity(String id,
Span<WF> span)
Creates a LinkedEntity object and add it to the document, using the supplied ID.
|
Term |
KAFDocument.newTerm(Span<WF> span)
Creates a new Term.
|
Term |
KAFDocument.newTerm(String id,
Span<WF> span)
Creates a Term object to load an existing term.
|
Term |
KAFDocument.newTerm(String id,
Span<WF> span,
boolean isComponent) |
Term |
KAFDocument.newTerm(String id,
Span<WF> span,
Integer position) |
Term |
KAFDocument.newTerm(String type,
String lemma,
String pos,
Span<WF> span)
Deprecated
|
Term |
KAFDocument.newTerm(String id,
String type,
String lemma,
String pos,
Span<WF> span)
Deprecated
|
Term |
KAFDocument.newTermOptions(String morphofeat,
Span<WF> span)
Creates a new Term.
|
Term |
KAFDocument.newTermOptions(String type,
String lemma,
String pos,
String morphofeat,
Span<WF> span)
Deprecated
|
Timex3 |
KAFDocument.newTimex3(Span<WF> mentions,
String type)
Creates a new timeExpressions.
|
Timex3 |
KAFDocument.newTimex3(String id,
Span<WF> mentions,
String type)
Creates a timeExpressions object to load an existing Timex3.
|
static Span<WF> |
KAFDocument.newWFSpan(List<WF> targets) |
static Span<WF> |
KAFDocument.newWFSpan(List<WF> targets,
WF head) |
void |
Term.setSpan(Span<WF> span) |
void |
Timex3.setSpan(Span<WF> span) |
KAFDocument |
KAFDocument.split(List<WF> wfs)
Returns a new document containing all annotations related to the given WFs
|
Copyright © 2016–2020 FBK. All rights reserved.