-
Notifications
You must be signed in to change notification settings - Fork 27
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Answers don't recreate crossword #8
Comments
Thank you very much for submitting this issue! I really appreciate it and I am sorry for the delay. Here are some of my initial thoughts: (1) If you're able to share more information, that would be greatly appreciated. For example, if you can share the 15 by 15 crossword that you are trying to generate, that would help quite a bit. (2) I hadn't thought about it before, but being able to regenerate an existing "pretty" or "nice" crossword layout could be a great performance test going along with Issue #2. What is your motivation for regenerating existing crossword layouts? (3) Regenerating an existing crossword layout might not be computationally feasible. There could be exponentially many arrangements that would need to be considered. Maybe instead, the challenge should be to generate a similar crossword layout using at least a specified number of words while restricted to specified dimensions. (4) The crossword layout generator is currently at a state that is adequate for generating simple crossword layouts like you would see in middle school worksheets or mobile games like wordscapes. The layout generator is not yet optimized to generate extremely dense layouts like are seen in famous newspapers. Generating such layouts appears challenging for small word banks. Existing products that we've experimented with generate such layouts only with very large words banks where there is much more flexibility on what words can be used. I'm still learning so if I said anything wrong or that you disagree with, there is a good chance that I made some mistakes and I would be thrilled to learn more from your experiences with crosswords. I am very happy to have you here and welcome any of your contributions to the project. :) |
I noticed that you are calling:
The list [0, 0, 0, 0] is used to specify weights (between 0 and 1) for four different features. Assigning a higher weight to a feature will incentivize the layout generator to create a layout that satisfies a certain property such as having less blank squares or having more connections between words. The generator doesn't check every possible arrangement because that would be too time consuming. As a result, we experimentally added incentives in an attempt to improve the results. We haven't yet proven that these incentives are beneficial and that is why I added Issue #2 which discusses our need to develop performance metrics. |
Thanks for the reply. (1) The example crossword is attached below in AcrossLite txt format (but you can see the layout I did make a start on writing my own code, but got side tracked. I'll have another go at it and report back if there is anything I can add. Here is the JSON I used: |
Thank you very much for clarifying and I'm sorry about the long delay! (2) What does it mean "grid as a code", but not "code-grid lookup"? More generally, I'm still trying to understand. Questions:
Thanks again and I hope that you are doing well! P.S. We made a lot of progress on automatically filling in grids. We hope to release that as a separate open source project in the future. :) |
I want to recreate a crossword grid using only the answers. As a test I am using answers from a known grid (15x15 blocked crossword).
I input the answers, but the created grid does not match the known grid and is too big.
I have set:
var rows = 15;
andvar table = generateTable(blankTable, rows, cols, words, [0, 0, 0, 0]);
in
function generateSimpleTable(words)
which makes a better match, but not identical.
What else do I need to change to make this work?
Thank you.
The text was updated successfully, but these errors were encountered: