02-17-2015
Hi, gandolf989.
Quote:
Originally Posted by
gandolf989
... It's worth noting that Lingua::EN::Numbers is probably not installed by default.
Yes, good point. Thanks for making that comment ... cheers, drl
10 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
I want to make a script to read a list of ip addresses from a file then convert those ip addresses to ip number.
ip number is made by removing the dots then transfer to a number , so the ip number transfered to binary then to decimal which will represents the ip number 0 : 4294967295
Also I... (17 Replies)
Discussion started by: moutaz1983
17 Replies
2. Shell Programming and Scripting
file abc
abc: English text
I want to convert the above into
file abc
file: ascii text (1 Reply)
Discussion started by: laknar
1 Replies
3. Shell Programming and Scripting
hi ,
i need a script to convert number into hexadecimal base
for example: 237=>ED
it s very important for me thank you in advance for you help (5 Replies)
Discussion started by: mips
5 Replies
4. Shell Programming and Scripting
Hi,
I am using awk to get particular dates in seconds and the output am getting is like 1.28071e+09.
How can I convert it to number format.
Can anyone help me out?
Thanks in advance..! (7 Replies)
Discussion started by: Kattoor
7 Replies
5. Shell Programming and Scripting
Hi Experts,
Can anyone help me to convert a english input into chinese in a bash script. help would be highly appreciable.
thanks,
Deepak (3 Replies)
Discussion started by: naw_deepak
3 Replies
6. Programming
Hi, My animal ID's have two zeros in them and are also converting to asterisk. I only need to change the zero values in columns two and three. I would appreciate any help.
This is my data structure:
head phendata.txt
201008809 0.0 0.0
201008810 0.0 0.0
201008813 0.0 0.0
201014103... (6 Replies)
Discussion started by: lel7lel7
6 Replies
7. Shell Programming and Scripting
friends
as I can convert this value to number
in this example it is well but can vary the value does not help me cut from a nesecito espefifica opsiocn get zero
CantCabe = 00023
Cant = 23
CantPntCabe = 0000000000000034
CantPnt = 34
if && ; then
echo... (3 Replies)
Discussion started by: tricampeon81
3 Replies
8. Shell Programming and Scripting
I have data as below
"ROWS merge process complete. thousand rows changed"
I need to get a variable assigned the value of 1000. I mean convert the string thousand to 1000.
Any help or pointer.
Please use CODE tags as required by forum rules! (6 Replies)
Discussion started by: dsravanam
6 Replies
9. Shell Programming and Scripting
I read in two numbers from a user but the number is a string.
#!/bin/bash
read -p "Enter first number: " num1
read -p "Enter second number: " num2
I know you can use the the "expr" or "bc" command to automatically convert the string to a number then add them together. But I don't want to add... (10 Replies)
Discussion started by: Loc
10 Replies
10. Shell Programming and Scripting
Hello Guys,
I have a floating point number 1.14475E+15 I want to convert this number in to full number (Integer or Big integer). I tried couple of functions it did not work. When I use INT=${FLOAT/.*} I am getting value as 1. I don't want a truncated value
#!/bin/bash
#... (9 Replies)
Discussion started by: skatpally
9 Replies
LEARN ABOUT DEBIAN
lingua::stem::sv
Lingua::Stem::Sv(3pm) User Contributed Perl Documentation Lingua::Stem::Sv(3pm)
NAME
Lingua::Stem::Sv - Stemming algorithm for Swedish
SYNOPSIS
use Lingua::Stem::Sv;
my $stems = Lingua::Stem::Sv::stem({ -words => $word_list_reference,
-locale => 'sv',
-exceptions => $exceptions_hash,
});
DESCRIPTION
This routine applies a stemming slgorithm to a passed anon array of Swedish words, returning the stemmed words as an anon array.
It is a 'convienence' wrapper for 'Lingua::Stem::Snowball::Se' that provides a standardized interface and caching.
CHANGES
1.01 2003.09.28 - Documentation fix
1.00 2003.04.05 - Initial release
METHODS
stem({ -words => @words, -locale => 'sv', -exceptions => \%exceptions });
Stems a list of passed words using the rules of Swedish. Returns an anonymous array reference to the stemmed words.
Example:
my $stemmed_words = Lingua::Stem::Sv::stem({ -words => @words,
-locale => 'sv',
-exceptions => \%exceptions,
});
stem_caching({ -level => 0|1|2 });
Sets the level of stem caching.
'0' means 'no caching'. This is the default level.
'1' means 'cache per run'. This caches stemming results during a single
call to 'stem'.
'2' means 'cache indefinitely'. This caches stemming results until
either the process exits or the 'clear_stem_cache' method is called.
clear_stem_cache;
Clears the cache of stemmed words
NOTES
This code is a wrapper around Lingua::Stem::Snowball::Sv written by Ask Solem Hoel, <ask@unixmonks.net>
SEE ALSO
Lingua::Stem Lingua::Stem::Snowball::Sv
AUTHOR
Integration in Lingua::Stem by
Benjamin Franz, FreeRun Technologies,
snowhare@nihongo.org or http://www.nihongo.org/snowhare/
COPYRIGHT
Benjamin Franz, FreeRun Technologies
This code is freely available under the same terms as Perl.
BUGS
TODO
perl v5.10.1 2007-10-23 Lingua::Stem::Sv(3pm)