Subversion Repositories wimsdev

Rev

Rev 33 | Rev 2725 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 33 Rev 2670
Line 9... Line 9...
9
# gotw is only for debugging uses.
9
# gotw is only for debugging uses.
10
!nocache
10
!nocache
11
 
11
 
12
!if $srch!=$empty
12
!if $srch!=$empty
13
 suffix_dictionary=
13
 suffix_dictionary=
14
 dictionary=$search_package2/$search_category.$lang
14
 dictionary=$search_package2/$search_category.$search_lang
15
 translator_unknown=
15
 translator_unknown=
16
 sout=!exec translator $srch
16
 sout=!exec translator $srch
17
 sout=!items2words $sout
17
 sout=!items2words $sout
18
 sout=!words2lines $sout
18
 sout=!words2lines $sout
19
 sout=!translate ? to $ $ in $sout
19
 sout=!translate ? to $ $ in $sout
Line 57... Line 57...
57
!if $gotcnt>0
57
!if $gotcnt>0
58
 translator_switch=leavelines
58
 translator_switch=leavelines
59
 translator_unknown=200
59
 translator_unknown=200
60
 gotw=!words2lines $gotw
60
 gotw=!words2lines $gotw
61
 gotm=!words2lines $gotm
61
 gotm=!words2lines $gotm
62
 dictionary=$search_package2/weight.$lang
62
 dictionary=$search_package2/weight.$search_lang
63
 gotW=!exec translator $gotm
63
 gotW=!exec translator $gotm
64
 dictionary=$search_package2/popular.1
64
 dictionary=$search_package2/popular.1
65
 gotp=!exec translator $gotm
65
 gotp=!exec translator $gotm
66
 w_=
66
 w_=
67
 !for i=1 to $gotcnt
67
 !for i=1 to $gotcnt
Line 74... Line 74...
74
 gotw=!sort reverse numeric lines $w_
74
 gotw=!sort reverse numeric lines $w_
75
 gotm=!line $wims_sort_order of $gotm
75
 gotm=!line $wims_sort_order of $gotm
76
 gotm=!line 1 to $gotlim2 of $gotm
76
 gotm=!line 1 to $gotlim2 of $gotm
77
 gotcnt=!linecnt $gotm
77
 gotcnt=!linecnt $gotm
78
!endif
78
!endif
79
 
-