-
-
Notifications
You must be signed in to change notification settings - Fork 77
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
documentation for custom synonyms files
- Loading branch information
1 parent
b9c079c
commit 28f01b1
Showing
3 changed files
with
75 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 | ||
# | ||
# ============================================================================= |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 | ||
# | ||
# ============================================================================= |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 | ||
# | ||
# ============================================================================= |