You have generated symmetric squares (square matches transpose). Can you also generate not symmetric squares like
tap pta apt ? This one is legal because all six words/abbreviations (rows and columns) are in the American Heritage Dictionary. On 10/13/2010 9:26 AM, Aai wrote: > Sorry, that was not the e-mail I wanted to post. So try this one. > > > Is this ok? > > Generated (BF) from the (linux) file /usr/share/dict/words > > For length 3 I found 36 LS's > first 4: > ┌───┬───┬───┬───┐ > │abr│abs│aid│ard│ > │bra│bsa│ida│rda│ > │rab│sab│dai│dar│ > └───┴───┴───┴───┘ > > For length 4 words I found: > > ┌────┬────┬────┬────┬────┬────┬────┬────┬────┬────┐ > │aris│alan│alit│aman│amar│anil│ariz│deni│egor│enol│ > │risa│lana│lita│mana│mara│nila│riza│enid│gore│nole│ > │isar│anal│ital│anam│aram│ilan│izar│nide│oreg│olen│ > │sari│nala│tali│nama│rama│lani│zari│iden│rego│leno│ > └────┴────┴────┴────┴────┴────┴────┴────┴────┴────┘ > > For length 5,6 and 7 I found nothing > > Don't ask me about the meaning of the words :-) > > >> A word like 'apt' has to generate at least 3 legal words. >> >> (#~legalWord"1) (i...@!@# A. ]) 'apt' >> apt >> atp >> pat >> pta >> tap >> tpa >> >> Say they are all legal in this case. >> >> Then generate a matrix/legal_word >> >> >> (,....@i.@# |. ])"1 (i...@!@# A. ]) 'apt' >> apt >> pta >> tap >> >> atp >> tpa >> pat >> >> pat >> atp >> tpa >> >> pta >> tap >> apt >> >> tap >> apt >> pta >> >> tpa >> pat >> atp >> >> If there are less than !#word legal words, but equal or more than #word >> words then check all the generated LS's for the last (<: #word) words >> per LS. >> >> >> >> Hallo Kip Murray, je schreef op 09-10-10 14:13: >> >>> After a discussion of Latin squares in Programming, I am collecting Latin >>> squares whose rows and columns are words from the American Heritage >>> Dictionary. >>> I will even accept abbreviations: >>> >>> tap >>> apt >>> pta >>> >>> Contributions? >>> ---------------------------------------------------------------------- >>> For information about J forums see http://www.jsoftware.com/forums.htm >>> >>> >> > ---------------------------------------------------------------------- For information about J forums see http://www.jsoftware.com/forums.htm
