Beefy Boxes and Bandwidth Generously Provided by pair Networks
Problems? Is your data what you think it is?
 
PerlMonks  

SPLITTING WORDS INTO SYLLABLES

by gimley (Initiate)
on Sep 23, 2011 at 11:23 UTC ( [id://927535]=perlquestion: print w/replies, xml ) Need Help??

gimley has asked for the wisdom of the Perl Monks concerning the following question:

Hello, I am a relative newbie and want to split Names in English into syllables. Does anyone know of a perl script which does that. Since my main area is linguistics, I would be happy to add rules to it and post the per script back for other users. Many thanks and Kind regards, Gimley the PERL dwarf

Replies are listed 'Best First'.
Re: SPLITTING WORDS INTO SYLLABLES
by choroba (Cardinal) on Sep 23, 2011 at 11:28 UTC
    Hello gimley, welcome to the Monastery.
    Have you checked syllable?
    Moreover, do not use all caps in node titles. It is regarded as yelling and considered unpolite.
      sorry. am new to the site. won't repeat it again
Re: SPLITTING WORDS INTO SYLLABLES
by MidLifeXis (Monsignor) on Sep 23, 2011 at 12:29 UTC

    Perhaps something in the lingua area of cpan may help as well.

    --MidLifeXis

      Hello, Many thanks for the suggestion. I tried but cannot get the module to run. Am a total newbie to Perl. Programmed in C and basic for the past 20 years and decided to learn a new script I download the module run perl makefile and get messages which don't do much. Is there a tutorial where I can learn how to use the Cpan modules. Sorry to bother you guys this way. Many thanks, gimley
        Is there a tutorial where I can learn how to use the Cpan modules

        Take a look to the module section in the Tutorials. If perl is a new land to you, try first to build a solid basis, so read also the basic tutorials first.

        Using a module implies

        1-Download and install the module in your system, i.e with

        cpan install a::module::name

        The core and Very Important Modules are available directly with your perl installation, no need to download or install this

        2-Put a line like this in your script:

        use a::module::name;

        Now you can call the functions provided by this module in your script with something like:

        my $var = &function( "required function args here" );

        Really, how to use the funcion ranges between very easy and really esoteric. All modules in cpan have your own documentation and examples (generally in the same page as the download link), but its true that some are poorly documented and you will need to guess how to fill the gaps.

Re: SPLITTING WORDS INTO SYLLABLES
by Gavin (Archbishop) on Sep 24, 2011 at 10:58 UTC

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: perlquestion [id://927535]
Approved by koolgirl
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others perusing the Monastery: (3)
As of 2024-04-25 06:34 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found