# Package org.apache.lucene.analysis.util

Utility functions for text analysis.

See: Description

- Interface Summary
  Interface | Description
  --- | ---
  ResourceLoader | Abstraction for loading resources (streams, files, and classes).
  ResourceLoaderAware | Interface for a component that needs to be initialized by an implementation of `ResourceLoader`.

- Class Summary
  Class | Description
  --- | ---
  AbstractAnalysisFactory | Abstract parent class for analysis factories `TokenizerFactory`, `TokenFilterFactory` and `CharFilterFactory`.
  AnalysisSPILoader<S extends AbstractAnalysisFactory> | Helper class for loading named SPIs from classpath (e.g.
  CharArrayIterator | A CharacterIterator used internally for use with `BreakIterator`
  CharFilterFactory | Abstract parent class for analysis factories that create `CharFilter` instances.
  CharTokenizer | An abstract base class for simple, character-oriented tokenizers.
  ClasspathResourceLoader | Simple `ResourceLoader` that uses `ClassLoader.getResourceAsStream(String)` and `Class.forName(String,boolean,ClassLoader)` to open resources and classes, respectively.
  ElisionFilter | Removes elisions from a `TokenStream`.
  ElisionFilterFactory | Factory for `ElisionFilter`.
  FilesystemResourceLoader | Simple `ResourceLoader` that opens resource files from the local file system, optionally resolving against a base directory.
  OpenStringBuilder | A StringBuilder that allows one to access the array.
  RollingCharBuffer | Acts like a forever growing char[] as you read characters into it from the provided reader, but internally it uses a circular buffer to only hold the characters that haven't been freed yet.
  SegmentingTokenizerBase | Breaks text into sentences with a `BreakIterator` and allows subclasses to decompose these sentences into words.
  StemmerUtil | Some commonly-used stemming functions
  TokenFilterFactory | Abstract parent class for analysis factories that create `TokenFilter` instances.
  TokenizerFactory | Abstract parent class for analysis factories that create `Tokenizer` instances.
  UnicodeProps | This file contains unicode properties used by various `CharTokenizer`s.

## Package org.apache.lucene.analysis.util Description

Utility functions for text analysis.

Copyright © 2000-2024 Apache Software Foundation. All Rights Reserved.