[prev in list] [next in list] [prev in thread] [next in thread]
List: python-list
Subject: Re: Dictionary
From: Bischoop <martin () jakis ! adres ! em>
Date: 2014-01-08 18:51:26
Message-ID: P6hzu.2028$Wn7.1602 () fx20 ! am4
[Download RAW message or body]
Dennis Lee Bieber wrote:
> On Mon, 30 Dec 2013 18:38:20 +0000, Bischoop <martin@jakis.adres.em>
> declaimed the following:
>
>>I have a txt file with some words, and need simply program that will
>>print me words containing provided letters.
>>
>>For example:
>>Type the letters:
>> (I type: g,m,o)
>>open the dictionary.txt
>>check words containing:g,m,o in dictionary.txt
>>if there are words containing: ["g", "m", "o" ]
>>print words with g,m,o
>
> Vague requirement...
>
> Do you need:
> 1 any word containing any single letter
> 2 any word containing all supplied letters (is there a limit on how
many
> letters?)
> 3 any word containing the supplied letters in the entered order,
but not
> necessarily adjacent to each other
> 4 any word containing the supplied letters in adjacent sequence
> 5 any word that begins with the supplied sequence of letters
1.yes
2. Any combination with supplied letters. It would be great if possible that
I could set also the combination for example: show me all words with: l,x
3. the order doesn't matter
4. doesnt matter
5 doesnt matter.
--
https://mail.python.org/mailman/listinfo/python-list
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic