org.apache.lucene.analysis.standard.package-info Maven / Gradle / Ivy
The newest version!
/*
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership.
* The ASF licenses this file to You under the Apache License, Version 2.0
* (the "License"); you may not use this file except in compliance with
* the License. You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
/**
* Fast, general-purpose grammar-based tokenizers.
* The org.apache.lucene.analysis.standard
package contains three
* fast grammar-based tokenizers constructed with JFlex:
*
* - {@link org.apache.lucene.analysis.standard.StandardTokenizer}:
* as of Lucene 3.1, implements the Word Break rules from the Unicode Text
* Segmentation algorithm, as specified in
* Unicode Standard Annex #29.
* Unlike
UAX29URLEmailTokenizer
, URLs and email addresses are
* not tokenized as single tokens, but are instead split up into
* tokens according to the UAX#29 word break rules.
*
* {@link org.apache.lucene.analysis.standard.StandardAnalyzer StandardAnalyzer} includes
* {@link org.apache.lucene.analysis.standard.StandardTokenizer StandardTokenizer},
* {@link org.apache.lucene.analysis.standard.StandardFilter StandardFilter},
* {@link org.apache.lucene.analysis.core.LowerCaseFilter LowerCaseFilter}
* and {@link org.apache.lucene.analysis.core.StopFilter StopFilter}.
* When the Version
specified in the constructor is lower than
* 3.1, the {@link org.apache.lucene.analysis.standard.ClassicTokenizer ClassicTokenizer}
* implementation is invoked.
* - {@link org.apache.lucene.analysis.standard.ClassicTokenizer ClassicTokenizer}:
* this class was formerly (prior to Lucene 3.1) named
*
StandardTokenizer
. (Its tokenization rules are not
* based on the Unicode Text Segmentation algorithm.)
* {@link org.apache.lucene.analysis.standard.ClassicAnalyzer ClassicAnalyzer} includes
* {@link org.apache.lucene.analysis.standard.ClassicTokenizer ClassicTokenizer},
* {@link org.apache.lucene.analysis.standard.StandardFilter StandardFilter},
* {@link org.apache.lucene.analysis.core.LowerCaseFilter LowerCaseFilter}
* and {@link org.apache.lucene.analysis.core.StopFilter StopFilter}.
*
* - {@link org.apache.lucene.analysis.standard.UAX29URLEmailTokenizer UAX29URLEmailTokenizer}:
* implements the Word Break rules from the Unicode Text Segmentation
* algorithm, as specified in
* Unicode Standard Annex #29.
* URLs and email addresses are also tokenized according to the relevant RFCs.
*
* {@link org.apache.lucene.analysis.standard.UAX29URLEmailAnalyzer UAX29URLEmailAnalyzer} includes
* {@link org.apache.lucene.analysis.standard.UAX29URLEmailTokenizer UAX29URLEmailTokenizer},
* {@link org.apache.lucene.analysis.standard.StandardFilter StandardFilter},
* {@link org.apache.lucene.analysis.core.LowerCaseFilter LowerCaseFilter}
* and {@link org.apache.lucene.analysis.core.StopFilter StopFilter}.
*
*
*/
package org.apache.lucene.analysis.standard;
© 2015 - 2025 Weber Informatics LLC | Privacy Policy