##
## This is an example ~/.lookup file.
##

## turn verbose mode off during startup file processing
verbose off

prompt "%C([%#]%0)%!C(%w'*'%!f'raw '%n)> "
spinner 200
pager on

## The filter for edict will hit for entries that
## have only one English part, and that English part
## having a pl or pn designation.
load /var/lib/lookup/edict
filter "name" #^[^/]+/[^/]*<p[ln]>[^/]*/$#
highlight on
word on

## The filter for kanjidic will hit for entries without a
## frequency-of-use number.  The modify spec will remove
## fields with the named initial code (U,N,Q,M,E, and Y)
load /var/lib/lookup/kanjidic
filter "uncommon" !/<F\d+>/
modify /( [UNQMEY]\S+)+//g

## Use the same filter for my local word file,
## but turn off by default.
load ~/lib/local.words
filter "name" #^[^/]+/[^/]*<p[ln]>[^/]*/$#
filter off
highlight on
word on
## Want a tag for my local words, but only when
## accessed via the combo below
tag off ""

combine "words" 2 0
select words

## turn verbosity back on for interactive use.
verbose on
