# Package org.apache.lucene.analysis.synonym

package org.apache.lucene.analysis.synonym
Analysis components for Synonyms.

- Related Packages
  Package
  Description
  org.apache.lucene.analysis.synonym.word2vec
  Analysis components for Synonyms using Word2Vec model.
- Classes
  Class
  Description
  SolrSynonymParser
  Parser for the Solr synonyms format.
  SynonymFilter
  Deprecated.
  Use `SynonymGraphFilter` instead, but be sure to also use `FlattenGraphFilter` at index time (not at search time) as well.
  SynonymFilterFactory
  Deprecated.
  Use `SynonymGraphFilterFactory` instead, but be sure to also use `FlattenGraphFilterFactory` at index time (not at search time) as well.
  SynonymGraphFilter
  Applies single- or multi-token synonyms from a `SynonymMap` to an incoming `TokenStream`, producing a fully correct graph output.
  SynonymGraphFilterFactory
  Factory for `SynonymGraphFilter`.
  SynonymMap
  A map of synonyms, keys and values are phrases.
  SynonymMap.Builder
  Builds an FSTSynonymMap.
  SynonymMap.Parser
  Abstraction for parsing synonym files.
  WordnetSynonymParser
  Parser for wordnet prolog format