Beruflich Dokumente
Kultur Dokumente
GENERATION
GIRISH MAHADEVAN
24SCS131
CSE A
BACKGROUND
Reputed to have originated as a Victorian
word game, Anagrams has appeared in
many published versions in the last
century. The first modern version seems to
have been the game "Anagrams"
published in 1934, the manufacturer which
would publish Scrabble in 1953. In 1975,
Selchow published the "Scrabble Scoring
Anagrams" version which featured tiles
with point values similar to the familiar
Scrabble system.
INTRODUCTION
Anagrams are often expressed in the
form of an equation, with the equals
symbol (=) separating the original
subject and the resulting anagram.
‘Earth = heart’ is an example of a
simple anagram expressed in that way.
In a more advanced, sophisticated form
of anagramming, the aim is to
‘discover’ a result that has a linguistic
meaning that defines or comments on
the original subject in a humorous or
ironic way; e.g., Roll in the hay = Thrill
a honey (discovered by Tony Crafter),
Mother-in-law = woman Hitler, or Slot
machines = Cash lost in em.
When the subject and the resulting anagram
form a complete sentence, a tilde (~) is
commonly used instead of an equal sign;
e.g., Semolina ~ is no meal. or Somewhere
Over the Rainbow ~ Worrisome However
Beneath. Tilde gives the equivalence
between two values in mathematics.
PROJECT PURPOSE
The ANAGRAM GENERATION program
which is developed in C compiler has to
perform the following processes to arrive
at a solution.
permutation.c
Calculates the number of permutations
which are possible in the input word and
stores them in a file which is kept for
further usage.
dictionary.c
As the name suggests, it’s a module
which works as a dictionary ; by this the
user can search for a word and test for
its availability.
Fuse.c
It’s a module which comprises of both
the above modules and then concludes
with the resultant anagram.
ADVANTAGES OF
ANAGRAMS
1. Grammar based advantages
2. Data transformation techniques
3. Analyzing and debugging grammars
4. Parser generator
5. Usage in games (scrabble)
6. Fuzzy English
DESCRIPTION
As defined in the previous slides about
anagram generation; now we have a
basic idea about anagram
operations.
• PERMUTATION.C
• DICTIONARY.C
• FUSE.C
WORK COMPLETED
1. PERMUTATION.C
The module has been finished and
checked with some input for producing
permutation of a given string.
4. DICTIONARY.C
The module has a file which consists of
all the possible English words and it does
the keyword search for the input
availability.
MODULE EXPLANATION
PERMUTATION.C
Concept : LIFO
DICTIONARY.C