|get_sentences( $text )||The get sentences function takes a scalar containing ascii text as an argument and returns a reference to an array of sentences that the text has been split into. Returned sentences will be trimmed (beginning and end of sentence) of white-spaces. Strings with no alpha-numeric characters in them, wont be returned as sentences.|
|add_acronyms( @acronyms )||This function is used for adding acronyms not supported by this code. Please see Acronym/Abbreviations list section for the abbreviations already supported by this module.|
|get_acronyms( )||This function will return the defined list of acronyms.|
|set_acronyms( @my_acronyms )||This function replaces the predefined acroym list with the given list.|
|get_EOS( )||This function returns the value of the string used to mark the end of sentence. You might want to see what it is, and to make sure your text doesnt contain it. You can use set_EOS() to alter the end-of-sentence string to whatever you desire.|
|set_EOS( $new_EOS_string )||This function alters the end-of-sentence string used to mark the end of sentences.|
|set_locale( $new_locale ) Revceives language locale in the form language.country.character-set for example: fr_CA.ISO8859-1 for Canadian French using character set ISO8859-1.||
Returns a reference to a hash containing the current locale formatting values.
Returns undef if got undef.
The following will set the LC_COLLATE behaviour to Argentinian Spanish. NOTE: The naming and avail ability of locales depends on your operating sys tem. Please consult the perllocale manpage for how to find out which locales are available in your system.
$loc = set_locale( es_AR.ISO8859-1 );
This actually does this:
$loc = setlocale( LC_ALL, es_AR.ISO8859-1 );
You can use the get_acronyms() function to get acronyms. It has become too long to specify in the documentation.
If I come across a good general-purpose list - Ill incorporate it into this module. Feel free to suggest such lists.
Shlomo Yona firstname.lastname@example.org
Copyright (c) 2001, 2002 Shlomo Yona. All rights reserved.
This library is free software. You can redistribute it and/or modify it under the same terms as Perl itself.
Hey! <B>The above document had some coding errors, which are explained below:B>
Around line 40: =item outside of any =over Around line 76: Non-ASCII character seen before =encoding in avail . Assuming ISO8859-1 Around line 84: You forgot a =back before =head1
|perl v5.20.3||LINGUA::EN::SENTENCE (3)||2002-09-24|