|
Class: TextClassifier
Object
|
+--TextClassifier
|
+--BayesClassifier
- Package:
- stx:libbasic2
- Category:
- Collections-Text-Support
- Version:
- rev:
1.4
date: 2021/01/20 16:02:31
- user: cg
- file: TextClassifier.st directory: libbasic2
- module: stx stc-classLibrary: libbasic2
an initial experiment in text classification.
see BayesClassifierTest
copyrightCOPYRIGHT (c) 2016 by eXept Software AG
All Rights Reserved
This software is furnished under a license and may be used
only in accordance with the terms of that license and with the
inclusion of the above copyright notice. This software may not
be provided or otherwise made available to, or used by, any
other person. No title to or ownership of the software is
hereby transferred.
instance creation
-
new
-
return an initialized instance
initialization
-
initialize
-
Invoked when a new instance is created.
Usage example(s):
super initialize. -- commented since inherited method does nothing
|
-
initializeCategory: categoryName
-
text handling
-
collectWords: lines
-
computes words from lines
-
dehyphenate: linesCollection
-
join hypens
-
tokenize: string
-
|