cc
.
factorie
.
app
.
nlp
.
hcoref
HierEntityUtils
object
HierEntityUtils
Linear Supertypes
AnyRef
,
Any
Ordering
Alphabetic
By inheritance
Inherited
HierEntityUtils
AnyRef
Any
Hide All
Show all
Learn more about member selection
Visibility
Public
All
Value Members
final
def
!=
(
arg0:
AnyRef
)
:
Boolean
Definition Classes
AnyRef
final
def
!=
(
arg0:
Any
)
:
Boolean
Definition Classes
Any
final
def
##
()
:
Int
Definition Classes
AnyRef → Any
final
def
==
(
arg0:
AnyRef
)
:
Boolean
Definition Classes
AnyRef
final
def
==
(
arg0:
Any
)
:
Boolean
Definition Classes
Any
final
def
asInstanceOf
[
T0
]
:
T0
Definition Classes
Any
def
bagToString
(
bag:
BagOfWords
,
k:
Int
=
8
)
:
String
def
clone
()
:
AnyRef
Attributes
protected[
java.lang
]
Definition Classes
AnyRef
Annotations
@throws
(
...
)
def
collapseOn
[
E <:
HierEntity
]
(
entities:
Seq
[
E
]
,
collapser: (
E
) ⇒
Option
[
String
]
,
newEntity: () ⇒
E
,
propagater: (
E
) ⇒
Unit
)
:
Seq
[
E
]
def
createBagsForMergeUp
(
e1:
Entity
,
e2:
Entity
,
parent:
Entity
)
(
implicit
d:
variable.DiffList
)
:
Unit
def
defaultEntityContext
(
e:
Entity
)
:
String
def
defaultFeaturesToPrint
(
e:
Entity
)
:
Seq
[
String
]
def
entityString
(
e:
Entity
,
result:
StringBuffer
,
depth:
Int
=
0
,
represent: (
Entity
) ⇒
String
=
(e:Entity)=>""
,
context: (
Entity
) ⇒
String
=
(e:Entity)=>""
)
:
Unit
Attributes
protected
def
entityString
(
e:
Entity
,
represent: (
Entity
) ⇒
String
,
context: (
Entity
) ⇒
String
)
:
String
def
entityStringPretty
(
e:
Entity
,
flatRepresent: (
Entity
) ⇒
String
,
featuresToPrint:
Option
[(
Entity
) ⇒
Seq
[
String
]]
,
perLevelIndent:
String
=
" "
,
result:
StringBuffer
=
new StringBuffer
,
depth:
Int
=
0
)
:
String
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]
)
final
def
getClass
()
:
Class
[_]
Definition Classes
AnyRef → Any
def
hashCode
()
:
Int
Definition Classes
AnyRef → Any
final
def
isInstanceOf
[
T0
]
:
Boolean
Definition Classes
Any
def
linkChildToParent
(
child:
Entity
,
parent:
Entity
)
(
implicit
d:
variable.DiffList
)
:
Unit
def
makeSingletons
[
E <:
HierEntity
]
(
entities:
Seq
[
E
]
)
:
Seq
[
E
]
final
def
ne
(
arg0:
AnyRef
)
:
Boolean
Definition Classes
AnyRef
final
def
notify
()
:
Unit
Definition Classes
AnyRef
final
def
notifyAll
()
:
Unit
Definition Classes
AnyRef
def
prettyPrint
(
e:
Entity
)
:
Unit
def
prettyPrint
(
entities:
Seq
[
Entity
]
,
printSingletons:
Boolean
=
false
)
:
Unit
def
printClusteringStats
[
T <:
HierEntity
]
(
entities:
Seq
[
T
]
)
:
Unit
def
printEntities
(
entities:
Seq
[
Entity
]
,
includeSingletons:
Boolean
=
true
,
represent: (
Entity
) ⇒
String
=
(e:Entity)=>""
,
context: (
Entity
) ⇒
String
=
(e:Entity)=>""
)
:
Unit
def
propagateBagUp
(
entity:
Entity
)
(
implicit
d:
variable.DiffList
)
:
Unit
def
propagateRemoveBag
(
parting:
Entity
,
formerParent:
Entity
)
(
implicit
d:
variable.DiffList
)
:
Unit
val
shortDecimal
:
DecimalFormat
final
def
synchronized
[
T0
]
(
arg0: ⇒
T0
)
:
T0
Definition Classes
AnyRef
def
toString
()
:
String
Definition Classes
AnyRef → Any
def
topk
(
bag:
HashMap
[
String
,
Double
]
,
k:
Int
=
18
)
:
String
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