randomcamel / silly-werder Goto Github PK
View Code? Open in Web Editor NEWRelease history of Silly-Werder
Home Page: http://search.cpan.org/dist/Silly-Werder/
License: GNU General Public License v2.0
Release history of Silly-Werder
Home Page: http://search.cpan.org/dist/Silly-Werder/
License: GNU General Public License v2.0
Werder - Meaningless gibberish generator ---------------------------------------- This module is used to create pronounceable yet completely meaningless language. It is good for sending to a text- to-speech program (ala festival), generating passwords, annoying people on irc, and all kinds of fun things. This new release is a full rewrite of the engine. It is based on grammar files derived from real text of real lan guages. Several grammars are provided for you to use, and you can also create your own. Sample code: use Silly::Werder; my $werds = new Silly::Werder; # Set the min and max number of werds per line $werds->set_werds_num(5, 9); # Set the min and max # of syllables per werd $werds->set_syllables_num(3, 7); # End the sentences in a newline $werds->end_with_newline(1); # Set the language to mimic $werds->set_language(English, small); # Return a random sentence, question, or exclamation $line = $werds->line; $sentence = $werds->sentence; $question = $werds->question; $exclamation = $werds->exclamation; # Get a single werd $werd = $werds->get_werd; # Generate a long random sentence calling as a class method Silly::Werder->set_werds_num(10,20); print Silly::Werder->line; # All of the methods can be used as either class methods # or object methods. Werder was created and implemented by Dave Olszewski, aka cxreg. You can send comments, suggestions, flames, or love letters to [email protected] This code is distributed under the GPL. See COPYING for details.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.