AnalyzerBuilder

sealed abstract class AnalyzerBuilder

Build an Analyzer or tokenizer function

Companion:
object
Source:
AnalyzerBuilder.scala
class Object
trait Matchable
class Any

Type members

Value members

Abstract methods

def build[F[_]](implicit F: Sync[F]): Resource[F, Analyzer]

Build the Analyzer wrapped inside a Resource.

Build the Analyzer wrapped inside a Resource.

Source:
AnalyzerBuilder.scala

A convenience value for debugging or investigating, to inspect the Lucene default stop words. This set is immutable, and unused; it is the underlying Lucene CharArraySet that we use to build the default StopFilter

A convenience value for debugging or investigating, to inspect the Lucene default stop words. This set is immutable, and unused; it is the underlying Lucene CharArraySet that we use to build the default StopFilter

Source:
AnalyzerBuilder.scala

Concrete methods

def tokenizer[F[_]](implicit F: Sync[F]): Resource[F, String => F[Vector[String]]]

Build a tokenizing function that uses the Analyzer and collects tokens in a vector

Build a tokenizing function that uses the Analyzer and collects tokens in a vector

Source:
AnalyzerBuilder.scala

Adds an ASCII folding stage to the analyzer pipeline ASCII folding converts alphanumeric and symbolic Unicode characters into their ASCII equivalents, if one exists.

Adds an ASCII folding stage to the analyzer pipeline ASCII folding converts alphanumeric and symbolic Unicode characters into their ASCII equivalents, if one exists.

Source:
AnalyzerBuilder.scala

Adds a stop filter stage to analyzer pipeline for non-empty sets.

Adds a stop filter stage to analyzer pipeline for non-empty sets.

Source:
AnalyzerBuilder.scala

Adds a lowercasing stage to the analyzer pipeline

Adds a lowercasing stage to the analyzer pipeline

Source:
AnalyzerBuilder.scala