Em Andamento

Word permutation generator

This could be done in perl or C/C++, up to the programmer.

Command-line program that takes two command-line parameters as input, a string and a text file name, and writes "word permutations" of the string, based on words in the text file, to standard output. More explanation is below, but on a simple level, if the text file contained the words "one" and "two", and the input string was "onetwo", the program should output the permutation of the input string, "twoone".

The string that's passed will be a series digits or lowercase letters (a-z), without spaces, up to 64 characters in length, such as "bigbadwolf2".

The text file is an arbitrary list of words, one word per line, for example [url removed, login to view] can contain:

big

bad

wolf

bigger

ger

Each line in the text file has one word, digits or lowercase letters only, no punctuation, no spaces, and is limited to 64 characters max. (If a line has more than 64 characters, or it has non-alphanumeric characters, or uppercase letters, ignore that line, display an error message saying "error in textfile, line number ", and continue reading the other lines).

Using the example [url removed, login to view] file above, and running the program as

permute bigbadwolf [url removed, login to view]

should recognize that the input string is made up of three words, big, bad, and wolf, then rearrange them in every other possible combination, so it would output them, one per line, as:

bigwolfbad

badbigwolf

badwolfbig

wolfbigbad

wolfbadbig

If part of the input string is not a word defined in the word list, for example "hairy" in "bigbadhairywolf," that non-word should remain in place, while the other words swap positions with one another, so

permute bigbadhairywolf [url removed, login to view]

should output

bigwolfhairybad

badbighairywolf

badwolfhairybig

wolfbighairybad

wolfbadhairybig

A few more details are attached as a seperate file, but this gives you an idea of the project.

## Deliverables

1) Complete and fully-functional working program with complete source code of all work done.

2) Exclusive and complete copyrights to all work purchased. (No GPL, 3rd party components, etc. unless all copyright ramifications are explained AND AGREED TO by the buyer on the site).

## Platform

Target platform is FreeBSD 4.6.1

Habilidades: Programação C, Engenharia, MySQL, Perl, PHP, Arquitetura de software, Teste de Software

Ver mais: php programmer reading, continue line, word input, combination number generator, php string contain, freebsd source, seperate line, simple generator project, ignore text php, word name, word txt, permutations list, word source code, combination explanation, file swap, possible words letters, arbitrary, perl code generator, code generator perl, combination name generator, php swap, swap text word, freebsd source code, generator part, list bad words

Acerca do Empregador:
( 0 comentários ) United States

ID do Projeto: #3042143

Premiar a:

senzaciosnegyes

See private message.

$85 USD em 7 dias
(104 Avaliações)
4.9

29 freelancers estão ofertando em média $156 para este trabalho

TakeRealUK

See private message.

$85 USD in 7 dias
(785 Comentários)
7.0
ndima

See private message.

$127.5 USD in 7 dias
(96 Comentários)
6.6
bahe

See private message.

$97.75 USD in 7 dias
(147 Comentários)
6.5
DenKar

See private message.

$85 USD in 7 dias
(92 Comentários)
6.4
joysvw

See private message.

$102 USD in 7 dias
(31 Comentários)
6.4
kdz13

See private message.

$208.25 USD in 7 dias
(74 Comentários)
6.3
jamix2

See private message.

$93.46 USD in 7 dias
(57 Comentários)
5.9
VictorUstymchuk

See private message.

$170 USD in 7 dias
(18 Comentários)
5.7
bonfiresoft

See private message.

$85 USD in 7 dias
(32 Comentários)
5.7
oscommercevw

See private message.

$340 USD in 7 dias
(142 Comentários)
5.6
vadymvw

See private message.

$85 USD in 7 dias
(20 Comentários)
5.4
misteryvw

See private message.

$127.5 USD in 7 dias
(37 Comentários)
5.2
candym6n

See private message.

$85 USD in 7 dias
(84 Comentários)
5.1
dcrs

See private message.

$85 USD in 7 dias
(11 Comentários)
4.6
johngull

See private message.

$85 USD in 7 dias
(11 Comentários)
4.2
simplycodervw

See private message.

$127.5 USD in 7 dias
(16 Comentários)
4.0
katchei

See private message.

$255 USD in 7 dias
(10 Comentários)
3.9
shashikhanvw

See private message.

$297.5 USD in 7 dias
(15 Comentários)
3.8
shantanut

See private message.

$127.5 USD in 7 dias
(17 Comentários)
3.7
minditvw

See private message.

$297.5 USD in 7 dias
(5 Comentários)
3.6