2006-11-28 22:48:31 -05:00
|
|
|
# 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.
|
2006-02-27 20:07:50 -05:00
|
|
|
|
2006-11-28 22:48:31 -05:00
|
|
|
#-----------------------------------------------------------------------
|
|
|
|
#some test synonym mappings unlikely to appear in real input text
|
2006-02-11 16:35:33 -05:00
|
|
|
aaa => aaaa
|
|
|
|
bbb => bbbb1 bbbb2
|
|
|
|
ccc => cccc1,cccc2
|
|
|
|
a\=>a => b\=>b
|
|
|
|
a\,a => b\,b
|
|
|
|
fooaaa,baraaa,bazaaa
|
2006-02-27 20:07:50 -05:00
|
|
|
|
2006-11-28 22:48:31 -05:00
|
|
|
# Some synonym groups specific to this example
|
2006-02-27 20:07:50 -05:00
|
|
|
GB,gib,gigabyte,gigabytes
|
|
|
|
MB,mib,megabyte,megabytes
|
2006-11-28 22:48:31 -05:00
|
|
|
Television, Televisions, TV, TVs
|
2006-02-27 20:07:50 -05:00
|
|
|
#notice we use "gib" instead of "GiB" so any WordDelimiterFilter coming
|
|
|
|
#after us won't split it into two words.
|
|
|
|
|
2006-11-28 22:48:31 -05:00
|
|
|
# Synonym mappings can be used for spelling correction too
|
2006-02-27 20:07:50 -05:00
|
|
|
pixima => pixma
|
|
|
|
|