Beefy Boxes and Bandwidth Generously Provided by pair Networks
Pathologically Eclectic Rubbish Lister
 
PerlMonks  

Re: What are the monks doing with Perl and Linguistics?

by crenz (Priest)
on May 05, 2003 at 10:22 UTC ( #255598=note: print w/ replies, xml ) Need Help??


in reply to What are the monks doing with Perl and Linguistics?

This is not really science... but your post brought up fond memories: One of the first things I did with Perl was to create statistics on letter, letter pairs, letter triplets etc. distribution in a given text, and then used this to create random texts that resembled the original text. The results were quite good, and rather funny, especially when using several source texts (e.g. mixing the KJV bible and Edgar Allan Poe).

After a few years, I learned that what I had implemented is a very common algorithm in a lot of different fields: Markov Chains :).


Comment on Re: What are the monks doing with Perl and Linguistics?
Re: Re: What are the monks doing with Perl and Linguistics?
by allolex (Curate) on May 05, 2003 at 10:29 UTC

    LOL. I can imagine the results. Actually, you really don't have to mix texts if the original (even one author) is sufficiently cryptic. Noam Chomsky has been able to maximize ambiguity in his work and the Chomskybot (written in Perl as well) is even more fun than Chomsky himself. If they don't understand what you're saying, you must be a genius. ;-) Let's hear it for Markov chains!

    --
    Allolex

Re: Re: What are the monks doing with Perl and Linguistics?
by thraxil (Prior) on May 05, 2003 at 15:26 UTC

    After a few years, I learned that what I had implemented is a very common algorithm in a lot of different fields: Markov Chains :).

    yay, markov chains! i use markov chains to generate random posts for my weblog. it uses the database of all other posts to build the transition matrix.

    anders pearson

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://255598]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others having an uproarious good time at the Monastery: (7)
As of 2014-07-26 17:30 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    My favorite superfluous repetitious redundant duplicative phrase is:









    Results (178 votes), past polls