@echo off
echo Keep in mind, this is the slowest variant/approach.
echo The real/final variant will deal with one big file housing all x-grams, of course the drawback is the drive-space needed.
echo.
dir _TXT-TREE\*.txt/b/s>_TXT-TREE.lst
Leprechaun_x-leton_32bit_quadrupleton_1pass.exe _TXT-TREE.lst _TXT-TREE.wrd 1500000 y
cd Corpus_Gamera
time<Enter>TIME.LOG
rem echo Example1:
rem echo look_down_on_us
rem echo look_down_$$$$_us@
rem echo F6,Enter
rem echo Example2:
rem echo *_look_down_*
rem echo look^^^^^^_down_*
rem echo F6,Enter
rem echo.
rem echo Note1: If you are not going to use wildcards at all then
rem echo        the pattern must be equal to the whole(not partial match) x-gram within the line.
rem echo Note2: Seven wildcards are available:
rem echo        wildcard '*' any character(s) or empty,
rem echo        wildcard '@'/'#' any character {or empty}/{and not empty},
rem echo        wildcard '^^'/'$' any ALPHA character {or empty}/{and not empty},
rem echo        wildcard '^|'/'%%' any NON-ALPHA character {or empty}/{and not empty}.
rem echo Note3: Due to different line endings(CRLF in Windows; LF in UNIX)
rem echo        you must add a '^|' wildcard in place of CR:
rem echo        for example in case of searching for '*.pdf' write '*.pdf^|', our files
rem echo        need the '^|' wildcard they are in Windows format.
rem echo Note4: In Example1 '$$$$' allows 'onto' or 'upon' to emerge.
rem echo Note5: In Example2 '^^^^^^' allows 's' or 'ed' or 'ing' to emerge.
rem echo Note6: Press Ctrl+C to cancel further processing,
rem echo        Kazuya.log holds the dumped hits up to the cancelation.
rem echo.
rem echo Enter your pattern(s) one at a line, to start searching press 'F6' release and then 'Enter':
rem copy con graffith.ini>nul
copy /Y ..\_TXT-TREE.wrd Kazuya.ini >nul
copy /Y _Gamera.tar.4_QLZ_chunks.lst Kazuya.lst >nul
echo.
..\Kazuya.exe _
rem ..\GRAFFITH_r2++_Graphein.exe #
time<Enter>>TIME.LOG
type TIME.LOG
rem notepad.exe Kazuya.log
copy /Y Kazuya.log ..\Kazuya.log >nul
cd..
dir Kazuya.log/b>Kazuya.log.lst
Leprechaun_x-leton_32bit_quadrupleton_1pass.exe Kazuya.log.lst Kazuya.log.lst.wrd 1500000 y
sort Kazuya.log>Kazuya.log.sorted
rem Overlapper-Blender needs sorted wordlists as incoming files!
sort _TXT-TREE.wrd>_TXT-TREE.wrd.sorted
sort Kazuya.log.lst.wrd>Kazuya.log.lst.wrd.sorted
Overlapper-Blender_r1+1300MB.exe _TXT-TREE.wrd.sorted Kazuya.log.lst.wrd.sorted
copy Unfamiliar.txt+Kazuya.log.sorted 4-grams_checked_with_Gamera_corpus.txt /b
notepad 4-grams_checked_with_Gamera_corpus.txt