Klasse SimpleEntropyEncoder
java.lang.Object
org.xbib.interlibrary.catalog.matching.string.SimpleEntropyEncoder
- Alle implementierten Schnittstellen:
StringEncoder
A simple entropy encoder
Inspired by:
Character coding for bibliographical record control.
E. J. Yannakoudakis, F. H. Ayres and J. A. W. Huggill.
Computer Centre, University of Bradford, 1980
Yannakoudakis, E. J. Derived search keys for bibliographic
retrieval. SIGIR Forum 17, 4 (Jun. 1983), 220-237.
-
Konstruktorübersicht
Konstruktoren -
Methodenübersicht
-
Konstruktordetails
-
SimpleEntropyEncoder
public SimpleEntropyEncoder()
-
-
Methodendetails
-
encode
Encode a string by a simple entropy-based method. Strategy: count characters in lower-case string, select only characters with a frequency of 1, drop space characters.- Angegeben von:
encode
in SchnittstelleStringEncoder
- Parameter:
s
- s- Gibt zurück:
- encoded string
- Löst aus:
EncoderException
- if encoding fails
-