org
.
clulab
.
wm
.
eidos
.
serialization
.
jsonld
JLDDeserializer
Related Docs:
object JLDDeserializer
|
package jsonld
class
JLDDeserializer
extends
AnyRef
Linear Supertypes
AnyRef
,
Any
Ordering
Alphabetic
By Inheritance
Inherited
JLDDeserializer
AnyRef
Any
Hide All
Show All
Visibility
Public
All
Instance Constructors
new
JLDDeserializer
()
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
addEidosExtras
(
eidosMentions:
Seq
[
EidosMention
]
,
extractions:
Seq
[
Extraction
]
,
mentionMap:
Map
[
String
,
Mention
]
)
:
Seq
[
EidosMention
]
final
def
asInstanceOf
[
T0
]
:
T0
Definition Classes
Any
def
clone
()
:
AnyRef
Attributes
protected[
java.lang
]
Definition Classes
AnyRef
Annotations
@throws
(
...
)
def
deserialize
(
json:
String
)
:
Corpus
def
deserializeArguments
(
argumentsValueOpt:
Option
[
JValue
]
)
:
Map
[
String
,
Seq
[
String
]]
def
deserializeCorpus
(
corpusValue:
JValue
)
:
Corpus
def
deserializeDct
(
dctValueOpt:
Option
[
JValue
]
)
:
Option
[
IdAndDct
]
def
deserializeDependency
(
dependencyValue:
JValue
,
wordMap:
Map
[
String
,
Int
]
)
: (
String
,
Edge
[
String
])
def
deserializeDocument
(
documentValue:
JValue
)
:
DocumentSpec
def
deserializeExtraction
(
extractionValue:
JValue
,
documentMap:
DocumentMap
,
documentSentenceMap:
DocumentSentenceMap
)
:
Extraction
def
deserializeGeoloc
(
geoIdValue:
JValue
)
:
IdAndGeoPhraseId
def
deserializeGroundings
(
groundingsValue:
JArray
)
:
OntologyGroundingMap
def
deserializeInterval
(
intervalValue:
JValue
,
offset:
Int
,
inclusiveEnd:
Boolean
)
:
Interval
def
deserializeMention
(
extractionValue:
JValue
,
extraction:
Extraction
,
mentionMap:
Map
[
String
,
Mention
]
,
documentMap:
DocumentMap
,
documentSentenceMap:
DocumentSentenceMap
,
timexMap:
TimexMap
,
geolocMap:
GeolocMap
,
provenanceMap:
ProvenanceMap
,
dctMap:
DctMap
)
:
Mention
final
def
deserializeMentions
(
extractionsValue:
JArray
,
extractions:
Seq
[
Extraction
]
,
mentionMap:
Map
[
String
,
Mention
]
,
provenanceMap:
Map
[
Provenance
,
String
]
,
documentMap:
DocumentMap
,
documentSentenceMap:
DocumentSentenceMap
,
timexMap:
TimexMap
,
geolocMap:
GeolocMap
,
dctMap:
DctMap
)
:
Map
[
String
,
Mention
]
Annotations
@tailrec
()
def
deserializeModifier
(
modifierValue:
JValue
,
documentMap:
DocumentMap
,
documentSentenceMap:
DocumentSentenceMap
)
: (
String
,
Provenance
,
Option
[
AdjectiveGrounding
])
Attributes
protected
def
deserializeModifiers
(
modifiersValueOpt:
Option
[
JArray
]
,
documentMap:
DocumentMap
,
documentSentenceMap:
DocumentSentenceMap
)
: (
Option
[
Seq
[
String
]],
Option
[
Seq
[
Provenance
]],
Option
[
Seq
[
Option
[
AdjectiveGrounding
]]])
def
deserializePluralProvenance
(
provenanceValue:
JValue
,
documentMap:
DocumentMap
,
documentSentenceMap:
DocumentSentenceMap
)
:
Provenance
Attributes
protected
def
deserializeProvenance
(
provenanceValueOpt:
Option
[
JValue
]
,
documentMap:
DocumentMap
,
documentSentenceMap:
DocumentSentenceMap
)
:
Option
[
Provenance
]
def
deserializeSentences
(
sentencesValue:
JValue
,
documentText:
Option
[
String
]
)
:
SentencesSpec
def
deserializeSingularProvenance
(
provenanceValue:
JValue
,
documentMap:
DocumentMap
,
documentSentenceMap:
DocumentSentenceMap
)
:
Provenance
Attributes
protected
def
deserializeState
(
stateValue:
JValue
,
documentMap:
DocumentMap
,
documentSentenceMap:
DocumentSentenceMap
,
timexMap:
TimexMap
,
geolocMap:
GeolocMap
,
dctMap:
DctMap
)
:
Attachment
def
deserializeStates
(
statesValueOpt:
Option
[
JArray
]
,
documentMap:
DocumentMap
,
documentSentenceMap:
DocumentSentenceMap
,
timexMap:
TimexMap
,
geolocMap:
GeolocMap
,
dctMap:
DctMap
)
:
Set
[
Attachment
]
def
deserializeTimeInterval
(
timeIntervalValue:
JValue
)
:
TimeStep
def
deserializeTimex
(
timexValue:
JValue
)
:
IdAndTimex
def
deserializeTrigger
(
triggerValueOpt:
Option
[
JValue
]
,
documentMap:
DocumentMap
,
documentSentenceMap:
DocumentSentenceMap
)
:
Option
[
Provenance
]
def
deserializeWordData
(
wordDataValue:
JValue
)
:
IdAndWordSpec
final
def
eq
(
arg0:
AnyRef
)
:
Boolean
Definition Classes
AnyRef
def
equals
(
arg0:
Any
)
:
Boolean
Definition Classes
AnyRef → Any
def
finalize
()
:
Unit
Attributes
protected[
java.lang
]
Definition Classes
AnyRef
Annotations
@throws
(
classOf[java.lang.Throwable]
)
implicit
val
formats
:
DefaultFormats
.type
final
def
getClass
()
:
Class
[_]
Definition Classes
AnyRef → Any
def
getId
(
jValue:
JValue
)
:
String
Attributes
protected
def
hashCode
()
:
Int
Definition Classes
AnyRef → Any
final
def
isInstanceOf
[
T0
]
:
Boolean
Definition Classes
Any
def
mkRaw
(
idsAndWordSpecs:
Array
[
IdAndWordSpec
]
,
documentText:
Option
[
String
]
)
:
Array
[
String
]
Attributes
protected
final
def
ne
(
arg0:
AnyRef
)
:
Boolean
Definition Classes
AnyRef
def
nothingToNone
(
jValueOpt:
Option
[
JValue
]
)
:
Option
[
JValue
]
Attributes
protected
final
def
notify
()
:
Unit
Definition Classes
AnyRef
final
def
notifyAll
()
:
Unit
Definition Classes
AnyRef
def
removeTriggerOnlyMentions
(
mentions:
Seq
[
Mention
]
)
:
Seq
[
Mention
]
Attributes
protected
def
requireType
(
jValue:
JValue
,
typeName:
String
)
:
Unit
Attributes
protected
final
def
synchronized
[
T0
]
(
arg0: ⇒
T0
)
:
T0
Definition Classes
AnyRef
def
toInterval
(
start:
Int
,
end:
Int
,
offset:
Int
,
inclusiveEnd:
Boolean
)
:
Interval
Attributes
protected
def
toString
()
:
String
Definition Classes
AnyRef → Any
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
AnyRef
Inherited from
Any
Ungrouped