org.mtzky.lucene.filter
クラス KanaUpperCaseFilter

java.lang.Object
  上位を拡張 org.apache.lucene.util.AttributeSource
      上位を拡張 org.apache.lucene.analysis.TokenStream
          上位を拡張 org.apache.lucene.analysis.TokenFilter
              上位を拡張 org.mtzky.lucene.filter.CharToCharMappingTokenFilter
                  上位を拡張 org.mtzky.lucene.filter.KanaUpperCaseFilter
すべての実装されたインタフェース:
Closeable

public class KanaUpperCaseFilter
extends CharToCharMappingTokenFilter

Normalizes lower case Kana to upper case.

This class converts the following:

  1. The Hiragana range (U+3040 ... U+309F)
  2. The Katakana range (U+30A0 ... U+30FF)
  3. "Katakana Phonetic Extensions" range (U+31F0 ... U+31FF), which includes some extra characters for writing the Ainu language.
  4. The Halfwidth and Fullwidth Forms block (U+FF00 ... U+FFEF)

NOTE: NOT support Unicode version 6.0; "Katakana letter archaic E" (U+1B000) and "Hiragana letter archaic YE" (U+1B001) in the Kana Supplement block.

作成者:
mtzky

入れ子のクラスの概要
 
クラス org.apache.lucene.util.AttributeSource から継承された入れ子のクラス/インタフェース
AttributeSource.AttributeFactory, AttributeSource.State
 
フィールドの概要
 
クラス org.apache.lucene.analysis.TokenFilter から継承されたフィールド
input
 
コンストラクタの概要
KanaUpperCaseFilter(TokenStream in)
           
 
メソッドの概要
protected  char convert(char c)
           
 
クラス org.mtzky.lucene.filter.CharToCharMappingTokenFilter から継承されたメソッド
incrementToken
 
クラス org.apache.lucene.analysis.TokenFilter から継承されたメソッド
close, end, reset
 
クラス org.apache.lucene.util.AttributeSource から継承されたメソッド
addAttribute, addAttributeImpl, captureState, clearAttributes, cloneAttributes, copyTo, equals, getAttribute, getAttributeClassesIterator, getAttributeFactory, getAttributeImplsIterator, hasAttribute, hasAttributes, hashCode, reflectAsString, reflectWith, restoreState, toString
 
クラス java.lang.Object から継承されたメソッド
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

コンストラクタの詳細

KanaUpperCaseFilter

public KanaUpperCaseFilter(TokenStream in)
パラメータ:
in -
メソッドの詳細

convert

protected char convert(char c)
定義:
クラス CharToCharMappingTokenFilter 内の convert
パラメータ:
c - character to convert
戻り値:
a converted character


Copyright (C) 2010-2011 Mtzky. AllRights Reserved.