Commit graph

331 commits

Author SHA1 Message Date
Eric House
9680733899 tweak xwd header output 2023-05-29 16:55:14 -07:00
Eric House
cc0e5d978f add 21x21 info for German 2023-03-10 10:30:56 -08:00
Eric House
7c33bb41af add note explaining source 2022-11-04 10:08:24 -07:00
Eric House
29d44cd49c use an explicit mapping to uppercase Turkish
Sed is otherwise turning stuff into 'I' that shouldn't be
2022-10-09 10:40:04 -07:00
Eric House
828f8b3af3 add support for non-empty Turkish wordlist 2022-10-07 08:12:56 -07:00
Eric House
2312290987 make only 15-letters dicts by default 2022-10-06 15:25:25 -07:00
Eric House
ad8b81baf5 makefile for CSW21 2022-09-06 11:40:09 -07:00
Eric House
8c4a1d2be6 add support for Dazaga language 2022-06-05 16:38:23 -07:00
Eric House
fd726a9563 add support for Tudaga language 2022-06-05 16:27:26 -07:00
Eric House
d24099f52b clean up Hex wordlist
Remove it from known set so it can be used to test. Get rid of
filenames having umlaut since that screws up URLs between Android and
nginx (not sure whose fault and not going there now.) Lang name should
be able to have an umlaut, but it gets used for filename for now so
fix later....
2022-06-05 14:38:33 -07:00
Eric House
20df5fec3a add command to print language name 2022-06-05 13:47:29 -07:00
Eric House
98cb3b4930 cleanup 2022-04-22 07:59:50 -07:00
Eric House
2b900aef19 rebuild builtin wordlists with 21x21 counts
Didn't rename BasEnglish2to8 because user winds up getting forced to
pick a substitute wordlist.
2022-04-20 13:17:07 -07:00
Prod User
44b7e09c32 log to stderr! 2022-04-11 13:43:24 -07:00
Eric House
5d6d8c7499 bring in changes to make larger boards work for linux
Includes making tile sets vary with board size, calculated from 15x15
unless present in the wordlist. Likely breaks android.
2022-04-04 10:39:29 +02:00
Eric House
d3a80e316d add counts for 21x21 games to English 2022-04-04 08:28:34 +02:00
Eric House
5a65d0a3db change tile info format in info.txt
I'm moving toward allowing per-board-size counts with faces and values
staying the same. So it makes more sense to have face and values be
the first columns.
2022-04-04 08:12:29 +02:00
Eric House
93b38d568d use new format 2022-04-01 08:36:15 +02:00
Eric House
9568e4ab03 move extra counts into header so new dicts backward compatible 2022-04-01 07:51:13 +02:00
Eric House
c970d39768 move extra counts to header
Fix so old versions of the app will still be able to read the new format
2022-04-01 07:51:13 +02:00
Eric House
cdc77eaf68 add board sizes to wordlist format (English only)
Modify language metadata to have possibly different counts of tiles
for different board sizes. Make the necessary changes for loading such
files. Works on linux version at least. Only English will build for
now thanks to changes in info.txt format.
2022-04-01 07:51:13 +02:00
Eric House
b150ef471b use contributed Finnish wordlist 2022-03-31 10:10:05 +02:00
Eric House
cc7298c6a5 add Finnish support 2022-03-31 10:10:05 +02:00
Eric House
76dc78cd1c use sed instead of tr to uppercase -- everywhere
Required for some unicode chars, but might as well use it everywhere to
make copying easier.
2022-01-27 19:36:55 -08:00
Eric House
3912a60ee9 limit word lengths to 2-15
dict2dawg crashes when given a 1-letter word. Easier to fix in the
filtering that has to be there anyway.
2022-01-23 17:46:52 -08:00
Eric House
4b55b0b873 fix typo in Makefile
Didn't seem to matter...
2022-01-20 22:14:13 -08:00
Eric House
7d869a6bda add sorting options 2022-01-17 16:31:19 -08:00
Eric House
ff767f6711 add Romanian metadata 2021-12-01 08:31:25 -08:00
Eric House
de739586c3 add makefile and info for Romanian 2021-11-27 12:41:21 -08:00
Eric House
d8a89abd53 need to specify *which* python now 2021-11-27 11:26:31 -08:00
Eric Prod
ebe1c5a22d just the message, ma'am 2021-01-01 16:15:42 -08:00
Eric House
e4a3d55876 include all possible case combinations (like Spanish) 2020-12-20 21:23:45 -08:00
Eric House
4936adab75 add option to output number of words 2020-12-14 08:57:11 -08:00
Eric House
ef7c0965ba fix to build wordlist from current sources
I'd lost the old source, so uncompressed a current list to recreate.
2020-12-14 08:57:11 -08:00
Eric House
57ab42223a fix to print older wordlists with tiny headers 2020-12-14 08:57:11 -08:00
Eric House
b8f359c3e5 add filtering to wordlist browser
Add a basic regular expression engine to the dictiter, and to the UI add
the ability to filter for "starts with", "contains" and "ends with",
which translate into ANDed RE_*, _*RE_* and _*RE, respectively (with
_ standing for blank/wildcard). The engine's tightly integrated with the
next/prevWord() functions for greatest possible speed, but unless
there's no pattern does slow things down a bit (especially when "ENDS
WITH" is used.) The full engine is not exposed (users can't provide raw
REs), and while the parser will accept nesting (e.g. ([AB]_*[CD]){2,5}
to mean words from 2-5 tiles long starting with A or B and ending with C
or D) the engine can't handle it. Which is why filtering for word length
is handled separately from REs (but also tightly integrated.)

Users can enter strings that don't map to tiles. They now get an
error. It made sense for the error alert to have a "Show tiles"
button, so there's now a dialog listing all the tiles in a wordlist,
something the browser has needed all along.
2020-08-05 09:47:44 -07:00
Eric House
7daf3313e0 fix to include optional info.txt info 2020-07-25 13:58:29 -07:00
Eric House
d98430aa0d improving prep of byod files 2020-07-25 13:58:29 -07:00
Eric House
6f6e5516c9 add LANGFILTER so byod can build Hungarian 2020-07-25 13:58:29 -07:00
Eric House
d2a997d0ee don't exit badly when piped 2020-07-25 13:58:29 -07:00
Eric House
67d91111df more tweaks for byod 2020-07-25 13:58:29 -07:00
Eric House
a75264c8eb tweaks for byod 2020-07-25 13:58:29 -07:00
Eric House
666d2db62a add Makefile as symlink 2020-07-25 13:58:29 -07:00
Eric House
83b775a52c convert two more perl scripts to python 2020-07-25 13:58:29 -07:00
Eric House
042e5e6eab remove files I'll never need again 2020-07-25 13:58:29 -07:00
Eric House
f30bc77a5f rewrite some dawg perl scripts in python 2020-07-25 13:58:29 -07:00
Eric House
db30cea947 update to work with uncompressed Portuguese source 2020-05-18 20:24:36 -07:00
Eric House
4c28013439 fix per informant's instructions to build from git src 2020-05-15 08:33:23 -07:00
Eric House
0e9661aa19 fix search of wordlists containing duplicates
Hungarian is unique (so far) in having two-letter tiles that can be
spelled with one-letter tiles AND in allowing words to be spelled both
ways. This crashed search based on strings because there were
duplicates. So now search is done by tile arrays. Strings are first
converted, and then IFF there is more than one tile array result AND the
wordlist has the new flag indicating that duplicates are possible, THEN
the user is asked to choose among the possible tile spellings of the
search string.
2020-05-04 08:33:15 -07:00
Eric House
851fa1a76e let's not change the Spanish wordlist name rashly 2020-05-03 21:28:33 -07:00