org
.
clulab
.
wm
.
eidoscommon
EidosSpanishProcessor
Related Doc:
package eidoscommon
class
EidosSpanishProcessor
extends
SpanishCluProcessor
with
EidosProcessor
Linear Supertypes
EidosProcessor
,
EidosTokenizing
,
Tokenizing
,
LanguageSpecific
,
SentencesExtractor
,
SpanishCluProcessor
,
CluProcessor
,
Configured
,
Processor
,
AnyRef
,
Any
Ordering
Alphabetic
By Inheritance
Inherited
EidosSpanishProcessor
EidosProcessor
EidosTokenizing
Tokenizing
LanguageSpecific
SentencesExtractor
SpanishCluProcessor
CluProcessor
Configured
Processor
AnyRef
Any
Hide All
Show All
Visibility
Public
All
Instance Constructors
new
EidosSpanishProcessor
(
language:
String
,
cutoff:
Int
)
Type Members
class
PredicateAttachment
extends
IntermediateDocumentAttachment
Definition Classes
CluProcessor
Value Members
final
def
!=
(
arg0:
Any
)
:
Boolean
Definition Classes
AnyRef → Any
final
def
##
()
:
Int
Definition Classes
AnyRef → Any
final
def
==
(
arg0:
Any
)
:
Boolean
Definition Classes
AnyRef → Any
def
annotate
(
doc:
Document
)
:
Document
Definition Classes
CluProcessor → Processor
def
annotate
(
text:
String
,
keepText:
Boolean
)
:
Document
Definition Classes
Processor
def
annotateFromSentences
(
sentences:
Iterable
[
String
]
,
keepText:
Boolean
)
:
Document
Definition Classes
Processor
def
annotateFromTokens
(
sentences:
Iterable
[
Iterable
[
String
]]
,
keepText:
Boolean
)
:
Document
Definition Classes
Processor
final
def
asInstanceOf
[
T0
]
:
T0
Definition Classes
Any
def
basicSanityCheck
(
doc:
Document
)
:
Unit
Definition Classes
CluProcessor
def
cheapLemmatize
(
doc:
Document
)
:
Unit
Definition Classes
CluProcessor
def
chunking
(
doc:
Document
)
:
Unit
Definition Classes
CluProcessor → Processor
def
clone
()
:
AnyRef
Attributes
protected[
java.lang
]
Definition Classes
AnyRef
Annotations
@throws
(
...
)
val
config
:
Config
Definition Classes
CluProcessor
def
contains
(
argPath:
String
)
:
Boolean
Definition Classes
Configured
def
copy
(
configOpt:
Option
[
Config
]
,
optionalNEROpt:
Option
[
Option
[
LexiconNER
]]
,
numericEntityRecognizerOptOpt:
Option
[
Option
[
NumericEntityRecognizer
]]
,
internStringsOptOpt:
Option
[
Option
[
Boolean
]]
,
localTokenizerOptOpt:
Option
[
Option
[
Tokenizer
]]
,
lemmatizerOptOpt:
Option
[
Option
[
Lemmatizer
]]
,
mtlPosChunkSrlpOptOpt:
Option
[
Option
[
Metal
]]
,
mtlNerOptOpt:
Option
[
Option
[
Metal
]]
,
mtlSrlaOptOpt:
Option
[
Option
[
Metal
]]
,
mtlDepsHeadOptOpt:
Option
[
Option
[
Metal
]]
,
mtlDepsLabelOptOpt:
Option
[
Option
[
Metal
]]
)
:
CluProcessor
Definition Classes
CluProcessor
def
discourse
(
doc:
Document
)
:
Unit
Definition Classes
CluProcessor → Processor
lazy val
eidosTokenizer
:
EidosTokenizer
Definition Classes
EidosSpanishProcessor
→
EidosTokenizing
final
def
eq
(
arg0:
AnyRef
)
:
Boolean
Definition Classes
AnyRef
def
equals
(
arg0:
Any
)
:
Boolean
Definition Classes
AnyRef → Any
def
extractDocument
(
text:
String
)
:
Document
Definition Classes
EidosSpanishProcessor
→
SentencesExtractor
def
extractSentences
(
text:
String
)
:
Array
[
Sentence
]
Definition Classes
SentencesExtractor
def
finalize
()
:
Unit
Attributes
protected[
java.lang
]
Definition Classes
AnyRef
Annotations
@throws
(
classOf[java.lang.Throwable]
)
def
getArgBoolean
(
argPath:
String
,
defaultValue:
Option
[
Boolean
]
)
:
Boolean
Definition Classes
Configured
def
getArgFloat
(
argPath:
String
,
defaultValue:
Option
[
Float
]
)
:
Float
Definition Classes
Configured
def
getArgInt
(
argPath:
String
,
defaultValue:
Option
[
Int
]
)
:
Int
Definition Classes
Configured
def
getArgString
(
argPath:
String
,
defaultValue:
Option
[
String
]
)
:
String
Definition Classes
Configured
def
getArgStrings
(
argPath:
String
,
defaultValue:
Option
[
Seq
[
String
]]
)
:
Seq
[
String
]
Definition Classes
Configured
final
def
getClass
()
:
Class
[_]
Definition Classes
AnyRef → Any
def
getConf
:
Config
Definition Classes
CluProcessor → Configured
def
getEmbeddings
(
doc:
Document
)
:
ConstEmbeddingParameters
Definition Classes
CluProcessor
def
getPredicateIndexes
(
preds:
IndexedSeq
[
String
]
)
:
IndexedSeq
[
Int
]
Definition Classes
CluProcessor
def
getTagSet
:
TagSet
Definition Classes
EidosSpanishProcessor
→
LanguageSpecific
def
getTokenizer
:
EidosTokenizer
Definition Classes
EidosSpanishProcessor
→
Tokenizing
def
hashCode
()
:
Int
Definition Classes
AnyRef → Any
val
internStrings
:
Boolean
Definition Classes
CluProcessor
final
def
isInstanceOf
[
T0
]
:
Boolean
Definition Classes
Any
val
language
:
String
Definition Classes
EidosSpanishProcessor
→
LanguageSpecific
def
lemmatize
(
doc:
Document
)
:
Unit
Definition Classes
CluProcessor → Processor
lazy val
lemmatizer
:
Lemmatizer
Definition Classes
CluProcessor
lazy val
localTokenizer
:
Tokenizer
Attributes
protected
Definition Classes
CluProcessor
def
mkConstEmbeddings
(
doc:
Document
)
:
Unit
Definition Classes
CluProcessor
def
mkDocument
(
text:
String
,
keepText:
Boolean
)
:
Document
Definition Classes
CluProcessor → Processor
def
mkDocumentFromSentences
(
sentences:
Iterable
[
String
]
,
keepText:
Boolean
,
charactersBetweenSentences:
Int
)
:
Document
Definition Classes
CluProcessor → Processor
def
mkDocumentFromTokens
(
sentences:
Iterable
[
Iterable
[
String
]]
,
keepText:
Boolean
,
charactersBetweenSentences:
Int
,
charactersBetweenTokens:
Int
)
:
Document
Definition Classes
CluProcessor → Processor
lazy val
mtlCase
:
Metal
Definition Classes
CluProcessor
lazy val
mtlDepsHead
:
Metal
Definition Classes
CluProcessor
lazy val
mtlDepsLabel
:
Metal
Definition Classes
CluProcessor
lazy val
mtlNer
:
Metal
Definition Classes
CluProcessor
lazy val
mtlPosChunkSrlp
:
Metal
Definition Classes
CluProcessor
lazy val
mtlSrla
:
Metal
Definition Classes
CluProcessor
final
def
ne
(
arg0:
AnyRef
)
:
Boolean
Definition Classes
AnyRef
def
nerSentence
(
words:
Array
[
String
]
,
lemmas:
Option
[
Array
[
String
]]
,
tags:
Array
[
String
]
,
startCharOffsets:
Array
[
Int
]
,
endCharOffsets:
Array
[
Int
]
,
docDateOpt:
Option
[
String
]
,
embeddings:
ConstEmbeddingParameters
)
: (
IndexedSeq
[
String
],
Option
[
IndexedSeq
[
String
]])
Definition Classes
CluProcessor
final
def
notify
()
:
Unit
Definition Classes
AnyRef
final
def
notifyAll
()
:
Unit
Definition Classes
AnyRef
lazy val
numericEntityRecognizer
:
NumericEntityRecognizer
Definition Classes
CluProcessor
val
optionalNER
:
Option
[
LexiconNER
]
Definition Classes
CluProcessor
def
parse
(
doc:
Document
)
:
Unit
Definition Classes
CluProcessor → Processor
def
parseSentenceWithEisner
(
words:
IndexedSeq
[
String
]
,
posTags:
IndexedSeq
[
String
]
,
nerLabels:
IndexedSeq
[
String
]
,
embeddings:
ConstEmbeddingParameters
)
:
Array
[(
Int
,
String
)]
Definition Classes
CluProcessor
def
parserPostProcessing
(
sentence:
Sentence
,
headsWithLabels:
Array
[(
Int
,
String
)]
)
:
Unit
Definition Classes
CluProcessor
def
recognizeNamedEntities
(
doc:
Document
)
:
Unit
Definition Classes
CluProcessor → Processor
def
relationExtraction
(
doc:
Document
)
:
Unit
Definition Classes
CluProcessor → Processor
def
removeNumericLabels
(
allLabels:
Array
[
String
]
)
:
Array
[
String
]
Definition Classes
CluProcessor
def
resolveCoreference
(
doc:
Document
)
:
Unit
Definition Classes
CluProcessor → Processor
def
restoreCase
(
doc:
Document
)
:
Unit
Definition Classes
CluProcessor
def
srl
(
doc:
Document
)
:
Unit
Definition Classes
CluProcessor → Processor
def
srlSentence
(
words:
IndexedSeq
[
String
]
,
posTags:
IndexedSeq
[
String
]
,
nerLabels:
IndexedSeq
[
String
]
,
predicateIndexes:
IndexedSeq
[
Int
]
,
embeddings:
ConstEmbeddingParameters
)
:
DirectedGraph
[
String
]
Definition Classes
CluProcessor
def
srlSentence
(
sent:
Sentence
,
predicateIndexes:
IndexedSeq
[
Int
]
,
embeddings:
ConstEmbeddingParameters
)
:
DirectedGraph
[
String
]
Definition Classes
CluProcessor
final
def
synchronized
[
T0
]
(
arg0: ⇒
T0
)
:
T0
Definition Classes
AnyRef
def
tagPartsOfSpeech
(
doc:
Document
)
:
Unit
Definition Classes
CluProcessor → Processor
def
tagSentence
(
words:
IndexedSeq
[
String
]
,
embeddings:
ConstEmbeddingParameters
)
: (
IndexedSeq
[
String
],
IndexedSeq
[
String
],
IndexedSeq
[
String
])
Definition Classes
CluProcessor
val
tagSet
:
SpanishTagSet
def
toString
()
:
String
Definition Classes
AnyRef → Any
lazy val
tokenizer
:
Tokenizer
Definition Classes
EidosSpanishProcessor
→ CluProcessor
final
def
wait
()
:
Unit
Definition Classes
AnyRef
Annotations
@throws
(
...
)
final
def
wait
(
arg0:
Long
,
arg1:
Int
)
:
Unit
Definition Classes
AnyRef
Annotations
@throws
(
...
)
final
def
wait
(
arg0:
Long
)
:
Unit
Definition Classes
AnyRef
Annotations
@throws
(
...
)
Inherited from
EidosProcessor
Inherited from
EidosTokenizing
Inherited from
Tokenizing
Inherited from
LanguageSpecific
Inherited from
SentencesExtractor
Inherited from
SpanishCluProcessor
Inherited from
CluProcessor
Inherited from
Configured
Inherited from
Processor
Inherited from
AnyRef
Inherited from
Any
Ungrouped