viresh-ratnakar / exet

Web app for crossword construction: designing a grid, filling the grid, creating straight or cryptic clues, and downloading as Exolve or .puz. All data is saved locally, no crosswords are sent to any server.
https://viresh-ratnakar.github.io/exet.html
MIT License
43 stars 12 forks source link

Break up multi-word during autofill #16

Closed anand-rr closed 2 years ago

anand-rr commented 3 years ago

Not sure if this already happens, haven't seen it while using auto-fill. It would be cool if auto-fill tried to split a multi-word entry across multiple entries. It could increase usage of preferred-fill entries.

viresh-ratnakar commented 3 years ago

Interesting idea. No, it doesn't happen right now. But the workaround is to put the multi-word entry into the preferred list as separate words (of course, with some extra manual work to reject fills that only use some of the multiple words).

I'll look into it. Will do if it can be done without adding too much extra complexity to the code.

viresh-ratnakar commented 2 years ago

I haven't done this yet. Am probably not likely to, as it would add complexity and the use-case is fairly niche. Closing this issue with apologies.

I did improve auto-fill a bit recently (v0.75). This includes better coverage of preferred fills and showing which preferred fills have been used.