org
.
nlp4l
.
framework
.
builtin
.
kea
KeyphraseExtractionProcessor
Related Doc:
package kea
class
KeyphraseExtractionProcessor
extends
Processor
with
CommonProcessor
Linear Supertypes
CommonProcessor
,
Processor
,
AnyRef
,
Any
Ordering
Alphabetic
By Inheritance
Inherited
KeyphraseExtractionProcessor
CommonProcessor
Processor
AnyRef
Any
Hide All
Show All
Visibility
Public
All
Instance Constructors
new
KeyphraseExtractionProcessor
(
idField:
String
,
textField:
String
,
modelDir:
String
,
keyphrasesSep:
String
,
incrementDfDocNum:
Boolean
,
nGramPriorityOrder:
String
,
maxKeyphrases:
Int
,
scoreThreshold:
Double
,
passThruFields:
Seq
[
String
]
,
analyzer:
Config
,
documentSizeAnalyzer:
Config
,
minTF:
Int
)
Type Members
class
Discretization
extends
AnyRef
class
KeyphraseScore
extends
AnyRef
class
Model
extends
AnyRef
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
val
CONTENT_ID_FIELD_NAME
:
String
Definition Classes
CommonProcessor
val
DOC_SIZE_FIELD_NAME
:
String
Definition Classes
CommonProcessor
val
FIELD_NAME
:
String
Definition Classes
CommonProcessor
val
analyzer
:
Config
final
def
asInstanceOf
[
T0
]
:
T0
Definition Classes
Any
def
calcFirstOccurrence
(
pos:
Int
,
docSize:
Int
)
:
Double
Definition Classes
CommonProcessor
def
calcTfIdf
(
freq:
Int
,
docSize:
Int
,
docFreq:
Int
,
docNum:
Int
)
:
Double
Definition Classes
CommonProcessor
def
clone
()
:
AnyRef
Attributes
protected[
java.lang
]
Definition Classes
AnyRef
Annotations
@throws
(
...
)
val
documentSizeAnalyzer
:
Config
final
def
eq
(
arg0:
AnyRef
)
:
Boolean
Definition Classes
AnyRef
def
equals
(
arg0:
Any
)
:
Boolean
Definition Classes
AnyRef → Any
def
execute
(
data:
Option
[
Dictionary
]
)
:
Option
[
Dictionary
]
Definition Classes
KeyphraseExtractionProcessor
→
Processor
def
extractKeyphrases
(
contetId:
String
,
model:
Model
,
discr:
Discretization
,
incrementDfDocNum:
Boolean
,
nGramPriorityOrder:
String
,
ir:
IndexReader
,
searcher:
IndexSearcher
,
irModel:
IndexReader
)
:
Seq
[
KeyphraseScore
]
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
getDocId
(
searcher:
IndexSearcher
,
contentId:
String
)
:
Int
def
getDocSize
(
searcher:
IndexSearcher
,
docId:
Int
)
:
Int
def
getDocument
(
contentId:
String
,
content:
String
,
docSize:
Int
)
:
Document
Definition Classes
CommonProcessor
def
getDocumentSize
(
text:
String
,
analyzer:
Analyzer
)
:
Int
Definition Classes
CommonProcessor
def
getDocumentWithTermVectors
(
contentId:
String
,
content:
String
,
docSize:
Int
)
:
Document
Definition Classes
CommonProcessor
def
getFeatures
(
ir:
IndexReader
,
fieldName:
String
,
rawPhrase:
BytesRef
,
docId:
Int
,
docSize:
Int
,
numDocs:
Int
,
irModel:
IndexReader
,
inc:
Boolean
)
:
Array
[
Double
]
def
getFieldName
(
baseNamem:
String
,
n:
Int
)
:
String
Definition Classes
CommonProcessor
def
getKEAAnalyzer
(
fieldName:
String
,
analyzerConfig:
Config
)
:
Analyzer
Definition Classes
CommonProcessor
def
hashCode
()
:
Int
Definition Classes
AnyRef → Any
val
idField
:
String
val
incrementDfDocNum
:
Boolean
def
indexing
(
index:
String
,
textField:
String
,
data:
Option
[
Dictionary
]
,
analyzerConfig:
Config
,
documentSizeAnalyzerConfig:
Config
,
withTermVectors:
Boolean
)
:
Unit
Definition Classes
CommonProcessor
final
def
isInstanceOf
[
T0
]
:
Boolean
Definition Classes
Any
val
keyphrasesSep
:
String
def
log2
(
num:
Double
)
:
Double
Definition Classes
CommonProcessor
val
maxKeyphrases
:
Int
val
minTF
:
Int
val
modelDir
:
String
val
nGramPriorityOrder
:
String
final
def
ne
(
arg0:
AnyRef
)
:
Boolean
Definition Classes
AnyRef
final
def
notify
()
:
Unit
Definition Classes
AnyRef
final
def
notifyAll
()
:
Unit
Definition Classes
AnyRef
val
passThruFields
:
Seq
[
String
]
val
scoreThreshold
:
Double
val
settings
:
ModelDirSettings
def
subphraseOf
(
kps:
KeyphraseScore
,
list:
Seq
[
KeyphraseScore
]
)
:
Boolean
final
def
synchronized
[
T0
]
(
arg0: ⇒
T0
)
:
T0
Definition Classes
AnyRef
val
textField
:
String
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
CommonProcessor
Inherited from
Processor
Inherited from
AnyRef
Inherited from
Any
Ungrouped