Talk:Textonyms: Difference between revisions

From Rosetta Code
Content added Content deleted
m (→‎Example word list has 'odd' words: Reject non-representable words.)
(→‎Example word list has 'odd' words: Stats on changed wordlist.)
Line 12: Line 12:


I suggest we use the word list from task [[Ordered words]] i.e. this [http://www.puzzlers.org/pub/wordlists/unixdict.txt dictionary] although words with non a-zA-Z chars in them such as 10th will have to be rejected. --[[User:Paddy3118|Paddy3118]] ([[User talk:Paddy3118|talk]]) 07:19, 6 February 2015 (UTC)
I suggest we use the word list from task [[Ordered words]] i.e. this [http://www.puzzlers.org/pub/wordlists/unixdict.txt dictionary] although words with non a-zA-Z chars in them such as 10th will have to be rejected. --[[User:Paddy3118|Paddy3118]] ([[User talk:Paddy3118|talk]]) 07:19, 6 February 2015 (UTC)

:Changing the wordlist gives me these stats:
<pre>Read 25104 words from 'http://www.puzzlers.org/pub/wordlists/unixdict.txt'
Number of words after rejecting those that have characters other than a-zA-Z in them is 24978
Those words are represented by 22903 numbers

The numbers mapping to the most words map to 9 words each:
[('269', ['amy', 'any', 'bmw', 'bow', 'box', 'boy', 'cow', 'cox', 'coy']),
('729', ['paw', 'pax', 'pay', 'paz', 'raw', 'ray', 'saw', 'sax', 'say'])]</pre>
:--[[User:Paddy3118|Paddy3118]] ([[User talk:Paddy3118|talk]]) 07:51, 6 February 2015 (UTC)

Revision as of 07:51, 6 February 2015

Needs specifics

I think this task is good except that it needs something specific to show to help verify and show how to use the functions we program. Maybe something like "show the number of keypad combinations that map to 10 words and show what other words have the same keypad combination as 'CAT'". Just something to sync the examples up. --Mwn3d (talk) 14:45, 3 February 2015 (UTC)

Example word list incomplete

It ends in the middle of "P". --Ledrug (talk) 19:48, 5 February 2015 (UTC)

Example word list has 'odd' words

I calculated the number having the most words and got:

27: ['ap', 'aq', 'ar', 'as', 'ar', 'as', 'bp', 'br', 'bs', 'br', 'cp', 'cq', 'cr', 'cr', 'cs']

Those 'words' seem random to me.

I suggest we use the word list from task Ordered words i.e. this dictionary although words with non a-zA-Z chars in them such as 10th will have to be rejected. --Paddy3118 (talk) 07:19, 6 February 2015 (UTC)

Changing the wordlist gives me these stats:
Read 25104 words from 'http://www.puzzlers.org/pub/wordlists/unixdict.txt'
Number of words after rejecting those that have characters other than a-zA-Z in them is 24978
Those words are represented by 22903 numbers

The numbers mapping to the most words map to 9 words each:
[('269', ['amy', 'any', 'bmw', 'bow', 'box', 'boy', 'cow', 'cox', 'coy']),
 ('729', ['paw', 'pax', 'pay', 'paz', 'raw', 'ray', 'saw', 'sax', 'say'])]
--Paddy3118 (talk) 07:51, 6 February 2015 (UTC)