Skip to content

Commit

Permalink
documentation for custom synonyms files
Browse files Browse the repository at this point in the history
  • Loading branch information
missinglink committed Mar 23, 2018
1 parent b9c079c commit 28f01b1
Show file tree
Hide file tree
Showing 3 changed files with 75 additions and 3 deletions.
26 changes: 25 additions & 1 deletion synonyms/custom_admin.txt
Original file line number Diff line number Diff line change
@@ -1 +1,25 @@
# this file allows users to add their own configuration below
# =============================================================================
# This file allows users to add their own custom synonyms below.
#
# 1. Blank lines and lines starting with '#' are comments.
#
# 2. Explicit mappings match any token sequence on the left-hand-side of "=>" and replace with all
# alternatives on the right-hand-side.
# These types of mappings ignore the expand parameter in the constructor.
# Example:
# i-pod, i pod => ipod
#
# 3. Equivalent synonyms may be separated with commas and give no explicit mapping.
# In this case the mapping behavior will be taken from the expand parameter in the constructor.
# This allows the same synonym file to be used in different synonym handling strategies.
# Example:
# ipod, i-pod, i pod
#
# 4. Multiple synonym mapping entries are merged.
# Example:
# foo => foo bar
# foo => baz
# is equivalent to:
# foo => foo bar, baz
#
# =============================================================================
26 changes: 25 additions & 1 deletion synonyms/custom_name.txt
Original file line number Diff line number Diff line change
@@ -1 +1,25 @@
# this file allows users to add their own configuration below
# =============================================================================
# This file allows users to add their own custom synonyms below.
#
# 1. Blank lines and lines starting with '#' are comments.
#
# 2. Explicit mappings match any token sequence on the left-hand-side of "=>" and replace with all
# alternatives on the right-hand-side.
# These types of mappings ignore the expand parameter in the constructor.
# Example:
# i-pod, i pod => ipod
#
# 3. Equivalent synonyms may be separated with commas and give no explicit mapping.
# In this case the mapping behavior will be taken from the expand parameter in the constructor.
# This allows the same synonym file to be used in different synonym handling strategies.
# Example:
# ipod, i-pod, i pod
#
# 4. Multiple synonym mapping entries are merged.
# Example:
# foo => foo bar
# foo => baz
# is equivalent to:
# foo => foo bar, baz
#
# =============================================================================
26 changes: 25 additions & 1 deletion synonyms/custom_street.txt
Original file line number Diff line number Diff line change
@@ -1 +1,25 @@
# this file allows users to add their own configuration below
# =============================================================================
# This file allows users to add their own custom synonyms below.
#
# 1. Blank lines and lines starting with '#' are comments.
#
# 2. Explicit mappings match any token sequence on the left-hand-side of "=>" and replace with all
# alternatives on the right-hand-side.
# These types of mappings ignore the expand parameter in the constructor.
# Example:
# i-pod, i pod => ipod
#
# 3. Equivalent synonyms may be separated with commas and give no explicit mapping.
# In this case the mapping behavior will be taken from the expand parameter in the constructor.
# This allows the same synonym file to be used in different synonym handling strategies.
# Example:
# ipod, i-pod, i pod
#
# 4. Multiple synonym mapping entries are merged.
# Example:
# foo => foo bar
# foo => baz
# is equivalent to:
# foo => foo bar, baz
#
# =============================================================================

0 comments on commit 28f01b1

Please sign in to comment.