public interface IMWEDesc extends IHasForm, IHasMWEPOS, java.lang.Comparable<IMWEDesc>
IMWEDescID
, list of parts, and
counts relating to the MWE's appearance in a reference concordance.Modifier and Type | Interface and Description |
---|---|
static interface |
IMWEDesc.IPart
A part of a multi-word expression.
|
Modifier and Type | Field and Description |
---|---|
static java.util.regex.Pattern |
boundaryUnderscores
The pattern consisting of one or more underscores that occur at the
beginning or end of the input.
|
static java.util.regex.Pattern |
comma
The pattern consisting of a single underscore.
|
static java.util.regex.Pattern |
underscore
The pattern consisting of a single underscore.
|
static java.util.regex.Pattern |
underscores
The pattern consisting of one or more underscores.
|
Modifier and Type | Method and Description |
---|---|
int[] |
getCounts()
Returns an array containing the marked split, marked continuous, unmarked
exact, and unmarked pattern occurrences of this MWE in the reference
concordance.
|
IMWEDescID |
getID()
Returns the IMWEDescID associated with this description.
|
int |
getMarkedContinuous()
Returns the number of times this MWE was marked on a continuous run of
tokens in the reference concordance.
|
int |
getMarkedSplit()
Returns the number of times this MWE was marked on a non-continuous run
of tokens in the reference concordance.
|
java.util.List<? extends IMWEDesc.IPart> |
getParts()
Returns an unmodifiable list of parts that comprise the MWE.
|
int |
getUnmarkedExact()
Returns the number of times the exact surface form of this MWE
description occurs in the reference concordance without being marked as
an occurrence of the MWE.
|
int |
getUnmarkedPattern()
Returns the number of times a this MWE description occurs in the
reference concordance without being marked as an occurrence of the MWE,
and whose form matches a known inflection pattern.
|
getPOS
static final java.util.regex.Pattern underscore
static final java.util.regex.Pattern comma
static final java.util.regex.Pattern underscores
static final java.util.regex.Pattern boundaryUnderscores
IMWEDescID getID()
null
.int getMarkedContinuous()
int getMarkedSplit()
int getUnmarkedExact()
int getUnmarkedPattern()
java.util.List<? extends IMWEDesc.IPart> getParts()
int[] getCounts()
Copyright © 2011 Massachusetts Institute of Technology. All Rights Reserved.