Home  |  About Us  |  Link To Us  |  FAQ  |  Contact

# Math::String::Charset 1.27

Date Added: September 23, 2010  |  Visits: 736

Math::String::Charset is a simple charset for Math::String objects. SYNOPSIS use Math::String::Charset; \$a = new Math::String::Charset; # default a-z \$b = new Math::String::Charset [a..z]; # same \$c = new Math::String::Charset { start => [a..z], sep => }; # with between chars print \$b->length(); # a-z => 26 # construct a charset from bigram table, and an initial set (containing # valid start-characters) # Note: After an a, either an b, c or a can follow, in this order # After an d only an a can follow \$bi = new Math::String::Charset ( { start => a..d, bi => { a => [ b, c, a ], b => [ c, b ], c => [ a, c ], d => [ a, ], q => [ ], # q will be automatically in end } end => [ a, b, ], } ); print \$bi->length(); # a,b => 2 (cross of end and start) print scalar \$bi->class(2); # count of combinations with 2 letters # will be 3+2+2+1 => 8 \$d = new Math::String::Charset ( { start => [a..z], minlen => 2, maxlen => 4, } ); print \$d->first(0),"n"; # undef, too short print \$d->first(1),"n"; # undef, to short print \$d->first(2),"n"; # aa \$d = new Math::String::Charset ( { start => [a..z] } ); print \$d->first(0),"n"; # print \$d->first(1),"n"; # a print \$d->last(1),"n"; # z print \$d->first(2),"n"; # aa This module lets you create an charset object, which is used to contruct Math::String objects. This object knows how to handle simple charsets as well as complex onex consisting of bi-grams (later tri and more). In case of more complex charsets, a reference to a Math::String::Charset::Nested or Math::String::Charset::grouped will be returned. The default charset is the set containing "abcdefghijklmnopqrstuvwxyz" (thus producing always lower case output)..

 Requirements: No special requirements Platforms: Linux Keyword: Charset,  D-,  Libraries,  Mathstringcharset,  New,  Print,  Programming Users rating: 0/10

USER REVIEWS
MATH::STRING::CHARSET RELATED
 Audio Tools  -  ChucK 1.2.0.6 ChucK is a new audio programming language for real-time synthesis, composition, and performance - fully supported on MacOS X, Windows, and Linux. ChucK presents a new time-based concurrent programming model, which supports a highly precise and... 1.5 MB Development Editors  -  Chapel 1.4.0 PreAlpha Chapel is designed to be a new parallel programming language that is part of the DARPA-led High Productivity Computing Systems program or HPCS. Chapel is designed to improve the productivity of high-end computer users while also serving as a... Puzzles  -  Clocks N900 1.0 I am new to programming on the N900 and python. Hopefully someone will get some enjoyment out of this little game that I wrote just to see if I could. Its packaged as a zip file, simply extract to a folder on your n900 (preferably... 501.76 KB Programming  -  Luxor language rc.0.6.0 Luxor is a new system programming language, designed to use instead of assembler, C/C++, or other system programming languages. 113.09 KB Audio Tools  -  ChucK miniAudicle 0.1.3.7 ChucK/miniAudicle is a new audio programming language for real-time synthesis, composition, and performance. ChucK presents a new time-based concurrent programming model, which supports a more precise and fundamental level of expressiveness, as... 4.3 MB Development Editors  -  Chapel for Linux 1.3.0 Chapel is a new parallel programming language being developed by Cray Inc. as part of the DARPA-led High Productivity Computing Systems program (HPCS). Chapel is designed to improve the productivity of high-end computer users while also serving as... 11.93 MB Productivity  -  Pwonjo 1.2 Mobile Print PWONJO secures, simplifies printer mangement and brings new print services to your devices. - Mobility of your employees. - Confidentiality for your print jobs. - Control of their cost and usage. A simple and... 921.6 KB Libraries  -  Math::String 1.27 Math::String module contains arbitrary sized integers having arbitrary charsets to calculate with key rooms. SYNOPSIS use Math::String; use Math::String::Charset; \$a = new Math::String cafebabe; # default a-z \$b = new Math::String... 61.44 KB Libraries  -  Aw::Admin 0.16.7 Aw::Admin is a Perl extension for the ActiveWorks C Administration Libraries. SYNOPSIS use Aw MyFavoriteBroker@my.host.net:6449; require Aw::Admin::ServerClient; my \$desc = new Aw::ConnectionDescriptor; my \$server = new... 122.88 KB Libraries  -  Time::Format 1.02 Time::Format is a Perl module for easy-to-use date/time formatting. SYNOPSIS use Time::Format qw(%time %strftime %manip); \$time{\$format} \$time{\$format, \$unixtime} print "Today is \$time{yyyy/mm/dd}n"; print "Yesterday was... 38.91 KB