Main > Free Download Search >

Free lingua phonology features 0.32 software for linux

lingua phonology features 0.32

Sponsored Links
Sponsored Links
Secleted [ 0 ] software to compare
Results 1 - 15 of about 60
Lingua::Phonology::Features 0.32

Lingua::Phonology::Features 0.32


Lingua::Phonology::Features is a module to handle a set of hierarchical features. more>>
Lingua::Phonology::Features is a module to handle a set of hierarchical features.

SYNOPSIS

use Lingua::Phonology;

my $phono = new Lingua::Phonology;
my $features = $phono->features;

# Add features programmatically
$features->add_feature(
Node => { type => privative, children => [Scalar, Binary, Privative] },
Scalar => { type => scalar },
Binary => { type => binary },
Privative => { type => privative }
);

# Drop features
$features->drop_feature(Privative);

# Load feature definitions from a file
$features->loadfile(phono.xml);

# Load default features
$features->loadfile;

Lingua::Phonology::Features allows you to create a hierarchy of features of various types, and includes methods for adding and deleting features and changing the relationships between them.

By "heirarchical features" we mean that some features dominate some other features, as in a tree. By having heirarchical features, it becomes possible to set multiple features at once by assigning to a node, and to indicate conceptually related features that are combined under the same node. This module, however, does not instantiate values of features, but only establishes the relationships between features.

Lingua::Phonology::Features recognizes multiple types of features. Features may be privative (which means that their legal values are either true or undef), binary (which means they may be true, false, or undef), or scalar (which means that their legal value may be anything). You can freely mix different kinds of features into the same set of features.

Finally, while this module provides a full set of methods to add and delete features programmatically, it also provides the option of reading feature definitions from a file. This is usually faster and more convenient. The method to do this is "loadfile". Lingua::Phonology::Features also comes with an extensive default feature set.

<<less
Download (0.098MB)
Added: 2006-06-13 License: Perl Artistic License Price:
1228 downloads
Lingua::Phonology::Rules 0.32

Lingua::Phonology::Rules 0.32


Lingua::Phonology::Rules is a Perl module for defining and applying phonological rules. more>>
Lingua::Phonology::Rules is a Perl module for defining and applying phonological rules.

SYNOPSIS

use Lingua::Phonology;
$phono = new Lingua::Phonology;

$rules = $phono->rules;

# Adding and manipulating rules is discussed in the "WRITING RULES"
# section

This module allows for the creation of linguistic rules, and the application of those rules to "words" of Segment objects. You, the user, add rules to a Rules object, defining various parameters and code references that actually perform the action of the rule. Lingua::Phonology::Rules will take care of the guts of applying and creating rules.

The rules you create may have the following parameters. This is just a brief description of the parameters--a more detailed discussion of their effect is in the "WRITING RULES" section.

domain

Defines the domain within which the rule applies. This should be the name of a feature in the featureset of the segments which the rule is applied to.

tier

Defines the tier on which the rule applies. Must be the name of a feature in the feature set for the segments of the word you pass in.

direction

Defines the direction that the rule applies in. Must be either leftward or rightward. If no direction is given, defaults to rightward.

filter

Defines a filter for the segments that the rule applies on. Must a code reference that returns a truth value.

linguistic

Defines a linguistic-style rule to be parsed. When you provide a linguistic-style rule, it is parsed into code references that take the place of the where and do properties listed below. The format of linguistic rules is described in "LINGUISTIC-STYLE RULES" in Lingua::Phonology::FileFormatPOD.

where - defines the condition or conditions where the rule applies. Must be a coderef that returns a truth value. If no value is given, defaults to always true.

do - defines the action to take when the where condition is met. Must be a code reference. If no value is given, does nothing.

result - EXPERIMENTAL. Defines a condition that must be true after the do code has applied. Must be a code reference that returns a truth value. NOTE: This parameter depends on the module Whatif (available from CPAN), and will behave differently if this module is not present. See "Using result".

Lingua::Phonology::Rules is flexible and powerful enough to handle any sequential type of rule system. It cannot handle Optimality Theory-style processes, because those require a fundamentally different kind of algorithm.

<<less
Download (0.097MB)
Added: 2007-07-16 License: Perl Artistic License Price:
831 downloads
Lingua::Phonology::FileFormatPOD 0.32

Lingua::Phonology::FileFormatPOD 0.32


Lingua::Phonology::FileFormatPOD is a Perl module that contains documentation for the xml file format. more>>
Lingua::Phonology::FileFormatPOD is a Perl module that contains documentation for the xml file format written and read by Lingua::Phonology.

As of v0.3, Lingua::Phonology is able to read and write an XML file that defines a complete Lingua::Phonology object. This file is meant to be human-editable, so you can write a phonology definition in a text file and then load it using Lingua::Phonology. Your perl script itself can be quite minimal, as most of the work of creating your phonology is done in the file.

For example, the following script reads the phonology defined in my_phono.xml, then reads a list of underlying forms from STDIN, applies the rules to them, and writes the surface forms to phono.out.

use Lingua::Phonology;

my $phono = new Lingua::Phonology;

$phono->loadfile(my_phono.xml);

open OUT, >phono.out or die $!;

while (< >) {
chomp $_;

# The following assumes one word per line. It also assumes that all of
# our symbols are one character and that there are no diacritics.
# Implementing this script if any of the preceding are false is left as
# an exercise to the reader.
@word = $phono->symbols->segment(split //, $_);

$phono->rules->apply_all(@word);

print OUT $phono->symbols->spell(@word), "n";
}

Of course, having this be successful depends on my_phono.xml working properly. The rest of this document describes how to do that.

<<less
Download (0.097MB)
Added: 2006-09-16 License: Perl Artistic License Price:
1134 downloads
Lingua::Phonology::Segment 0.32

Lingua::Phonology::Segment 0.32


Lingua::Phonology::Segment is a module to represent a segment as a bundle of feature values. more>>
Lingua::Phonology::Segment is a module to represent a segment as a bundle of feature values.

SYNOPSIS

use Lingua::Phonology;
$phono = new Lingua::Phonology;

# Define a feature set
$features = $phono->features;
$features->loadfile;

# Make a segment
$segment = $phono->segment;

# Set some values
$segment->labial(1);
$segment->continuant(0);
$segment->voice(1);
# Segment is now voiced labial stop, i.e. [b]

# Reset the segment
$segment->clear;

A Lingua::Phonology::Segment object provides a programmatic representation of a linguistic segment. Such a segment is associated with a Lingua::Phonology::Features object that lists the available features and the relationships between them. The segment itself is a list of the values for those features.

This module provides methods for returning and setting these feature values. A segment may also be associated with a Lingua::Phonology::Symbols object, which allows the segment to return the symbol that it best matches.

OVERLOADING

As of Lingua::Phonology v0.32 (Lingua::Phonology::Segment v0.4), string conversion of segments is overloaded. When you use a Lingua::Phonology::Segment in string context, the spell() method is automatically called, and the representation of the segment from the current symbolset is returned. String comparison operators (cmp eq ne lt le gt ge) are also overloaded. Therefore, the following work correctly, assuming that you have a Lingua::Phonology object correctly set up in $phono.

my ($b, $k) = $phono->symbols->segment(b, k);

print "Segments: $b, $kn"; # Prints "Segments: b, k";
print "$b is greater than $kn" if $b gt $k; # Wont print
print "$b is less than $kn" if $b lt $k; # Prints b is less than k;
print "$b is equal to $kn" if $b eq $k; # Wont print

my $b2 = $b->duplicate;
print "$b is equal to $b2n" if $b eq $b2 # Prints b is equal to b;
Note that stringification is not overloaded if the symbolset is not properly set. However, it turns on as soon as a symbolset is available:
my $b = Lingua::Phonology::Segment->new($features);
$b->voice(1);
$b->labial(1);

print "$bn"; # Prints Lingua::Phonology::Segment=HASH(0x88af598)
# or something similar, because there is no symbolset
# defined for spelling the segment.

$b->symbolset($symbols);
print "$bn"; # Prints b
Number conversion is not overloaded.

<<less
Download (0.098MB)
Added: 2006-06-02 License: Perl Artistic License Price:
1239 downloads
Lingua::Phonology::Symbols 0.32

Lingua::Phonology::Symbols 0.32


Lingua::Phonology::Symbols is a Perl module for associating symbols with segment prototypes. more>>
Lingua::Phonology::Symbols is a Perl module for associating symbols with segment prototypes.

SYNOPSIS

use Lingua::Phonology;
$phono = new Lingua::Phonology;

# Load the default features
$phono->features->loadfile;

# Load the default symbols
$symbols = $phono->symbols;
$symbols->loadfile;

# Make a test segment
$segment = $phono->segment;
$segment->labial(1);
$segment->voice(1);

# Find the symbol matching the segment
print $symbols->spell($segment); # Should print b

When using Lingua::Phonology, you usually manipulate Segment objects that have various feature values that specify the phonetic qualities of the segment. However, it is difficult to print those feature values, and a list of feature values can be difficult to interpret anyway. This is where Symbols comes in--it provides a way to take a Segment object and get a phonetic symbol representing the properties of that segment.

In Symbols, you may use add_symbol() to define text symbols that correlate to "prototypes", which are special Segment objects that represent the ideal segment for each symbol. After you have defined your symbols and prototypes, you may use spell() to find which prototype is the most similar to a segment in question, and get the symbol for that prototype.

As of v0.2, Symbols also includes diacritics. A diacritic is a special symbol that begins or ends with a *, and which is used to modify other symbols. If the best symbol match for a segment you are trying to spell is an imperfect match, Symbols will then attempt to use diacritics to indicate exactly how the segment is pronounced. For compatibility reasons, however, this feature is off by default. It can be turned on with set_diacritics.

You will probably want to read the add_symbol, spell, and loadfile sections, because these describe the most widely-used functions and the algorithm used to score potential matches. If youre not getting the results you expect, you probably need to examine the way your prototype definitions are interacting with that algorithm.

<<less
Download (0.097MB)
Added: 2007-07-16 License: GPL (GNU General Public License) Price:
831 downloads
Lingua::ZH::HanConvert 0.12

Lingua::ZH::HanConvert 0.12


Lingua::ZH::HanConvert is a Perl module to convert between Traditional and Simplified Chinese characters. more>> <<less
Download (0.030MB)
Added: 2006-08-09 License: Perl Artistic License Price:
1171 downloads
Bio::Graphics::Feature 1.4

Bio::Graphics::Feature 1.4


Bio::Graphics::Feature is a simple feature object for use with Bio::Graphics::Panel. more>>
Bio::Graphics::Feature is a simple feature object for use with Bio::Graphics::Panel.

SYNOPSIS

use Bio::Graphics::Feature;

# create a simple feature with no internal structure
$f = Bio::Graphics::Feature->new(-start => 1000,
-stop => 2000,
-type => transcript,
-name => alpha-1 antitrypsin,
-desc => an enzyme inhibitor,
);

# create a feature composed of multiple segments, all of type "similarity"
$f = Bio::Graphics::Feature->new(-segments => [[1000,1100],[1500,1550],[1800,2000]],
-name => ABC-3,
-type => gapped_alignment,
-subtype => similarity);

# build up a gene exon by exon
$e1 = Bio::Graphics::Feature->new(-start=>1,-stop=>100,-type=>exon);
$e2 = Bio::Graphics::Feature->new(-start=>150,-stop=>200,-type=>exon);
$e3 = Bio::Graphics::Feature->new(-start=>300,-stop=>500,-type=>exon);
$f = Bio::Graphics::Feature->new(-segments=>[$e1,$e2,$e3],-type=>gene);

This is a simple Bio::SeqFeatureI-compliant object that is compatible with Bio::Graphics::Panel. With it you can create lightweight feature objects for drawing.

<<less
Download (4.7MB)
Added: 2006-10-21 License: Perl Artistic License Price:
1098 downloads
Gimp::Feature 1.211

Gimp::Feature 1.211


Gimp::Feature is a Perl module that can check for specific features to be present before registering the script. more>>
Gimp::Feature is a Perl module that can check for specific features to be present before registering the script.

SYNOPSIS

use Gimp::Feature;
or
use Gimp::Feature qw(feature1 feature2 ...);

This module can be used to check for specific features to be present. This can be used to deny running the script when neccessary features are not present. While some features can be checked for at any time, the Gimp::Fu module offers a nicer way to check for them.

gtk

checks for the presence of the gtk interface module.

gtk-1.1, gtk-1.2

checks for the presence of gtk-1.1 (1.2) or higher.

perl-5.005

checks for perl version 5.005 or higher.

pdl

checks for the presence of a suitable version of PDL (>=1.9906).

gnome

checks for the presence of the Gnome-Perl module.

gtkxmhtl

checks for the presence of the Gtk::XmHTML module.

unix

checks wether the script runs on a unix-like operating system. At the moment, this is every system except windows, macos, os2 and vms.

persistency

checks wether the Gimp::Data module (Gimp::Data) can handle complex persistent data structures, i.e. perl references in addition to plain strings.

The following features can only be checked after Gimp-main> has been called (usually found in the form exit main). See Gimp::Fu on how to check for these.
gimp-1.1, gimp-1.2

checks for the presense of gimp in at least version 1.1 (1.2).

FUNCTIONS

present(feature)

Checks for the presense of the single feature given as the argument. Returns true if the feature is present, false otherwise.

need(feature,[function-name])

Require a specific feature. If the required feature is not present the program will exit gracefully, logging an appropriate message. You can optionally supply a function name to further specify the place where this feature was missing.

This is the function used when importing symbols from the module.

missing(feature-description,[function-name])

Indicates that a generic feature (described by the first argument) is missing. A function name can further be specified. This function will log the given message and exit gracefully.

describe(feature)

Returns a string describing the given feature in more detail, or undef if there is no description for this feature.

list()

Returns a list of features that can be checked for. This list might not be complete.

<<less
Download (0.26MB)
Added: 2006-07-13 License: Perl Artistic License Price:
1201 downloads
e-U Connect 0.32

e-U Connect 0.32


e-U Connect is a WPA Supplicant text mode user interface based on bash+dialog for connecting to the e-U network under Linux. more>>
e-U Connect is a WPA Supplicant text mode user interface based on bash+dialog for connecting to the e-U network under Linux.

<<less
Download (0.013MB)
Added: 2006-11-24 License: GPL (GNU General Public License) Price:
1068 downloads
Lingua::ZH::DateTime 0.01

Lingua::ZH::DateTime 0.01


Lingua::ZH::DateTime is a Perl module to convert time to chinese format. more>>
Lingua::ZH::DateTime is a Perl module to convert time to chinese format.

SYNOPSIS

This module can convert asctime to chinese format in your locale. you can select china singapore hongkong taiwan locale and gb2312/big5 charset. asctime is ASC C standard format will from localtime like this:

$asctime = localtime();

<<less
Download (0.003MB)
Added: 2006-08-09 License: Perl Artistic License Price:
1173 downloads
Lingua::EN::WordsToNumbers 0.11

Lingua::EN::WordsToNumbers 0.11


Lingua::EN::WordsToNumbers is Perl module to convert numbers written in English to actual numbers. more>>
Lingua::EN::WordsToNumbers is Perl module to convert numbers written in English to actual numbers.

This module is an OO wrapper for Lingua::EN::Words2Nums, which is very nice, but has an unfortunate name (which doesnt help when youre searching CPAN for modules that turn words into numbers).

SYNOPSIS

use Lingua::EN::WordsToNumbers;

my $numberizer = Lingua::EN::WordsToNumbers->new;

print $numberizer->parse("Forty-two"); # "42"

$numberizer->debug(1); # debug on
$numberizer->debug(undef); # debug off

$numberizer->billion(10**12); # use "English billion"

METHODS

new
my $numberizer = Lingua::EN::WordsToNumbers->new;
Gives you a new "object". Doesnt really do much.

parse
print $numberizer->parse("Forty-two"); # "42"
An alias for Lingua::EN::Words2Numss words2nums method. Read that modules documentation to see how it works. You can also call this method as words2nums if you really want to.

debug
$numberizer->debug(1);
Set Lingua::EN::Words2Nums debug mode. True values are on, anything else is off.

billion
$numberizer->billion(10**12);
Define the value of a billion ($Lingua::EN::Words2Nums::billion).

<<less
Download (0.003MB)
Added: 2006-08-23 License: Perl Artistic License Price:
1158 downloads
Lingua::ID::Nums2Words 0.01

Lingua::ID::Nums2Words 0.01


Lingua::ID::Nums2Words is a Perl module to convert number to Indonesian verbage. more>>
Lingua::ID::Nums2Words is a Perl module to convert number to Indonesian verbage.

SYNOPSIS

use Lingua::ID::Nums2Words ;

print nums2words(123) ; # "seratus dua puluh tiga"
print nums2words_simple(123) ; # "satu dua tiga"

nums2words currently can handle real numbers in normal and scientific form in the order of hundreds of trillions. It also preserves formatting in the number string (e.g, given "1.00" nums2words will pronounce the zeros).

<<less
Download (0.003MB)
Added: 2006-08-23 License: Perl Artistic License Price:
1157 downloads
Lingua::EO::Supersignoj 0.02

Lingua::EO::Supersignoj 0.02


Lingua::EO::Supersignoj is a Perl module that can convert Esperanto characters. more>>
Lingua::EO::Supersignoj is a Perl module that can convert Esperanto characters.

SYNOPSIS

use Lingua::EO::Supersignoj;

my $transkodigilo = Lingua::EO::Supersignoj->nova(
de => fronte,
al => X,
u => u*
);
print $transkodigilo->transkodigu(Mia ^suoj estas ankau* en la ^cambro.);
# prints: Mia sxuoj estas ankaux en la cxambro.

my $transkodigilo = Lingua::EO::Supersignoj->nova(de => X);

for (qw(X x H h poste fronte apostrofoj iso unikodo)) {
$transkodigilo->al = $_;
print $transkodigilo->transkodigu(
Laux Ludoviko Zamenhof bongustas .
fresxa cxecxa mangxajxo kun spicoj.
);
}

Esperanto has 6 letters that ASCII doesnt have. These characters do exist in Unicode and ISO-8859-3. This object orientated module makes conversion easier.

<<less
Download (0.004MB)
Added: 2006-08-08 License: Perl Artistic License Price:
1172 downloads
Lingua::RU::Charset 0.02

Lingua::RU::Charset 0.02


Lingua::RU::Charset is a Perl extension for detecting and converting various russian character sets. more>>
Lingua::RU::Charset is a Perl extension for detecting and converting various russian character sets: KOI8-r, Windows-1251, CP866, ISO-8859-5, X-Mac-Cyrillic, russian text in english letters, russian part of Unicode and UTF-8. Lingua::RU::Charset module can be especially useful for computers with broken cyrillic locales (like foreign web hosts).

SYNOPSIS

use Lingua::RU::Charset qw (:CHARSET);
use Lingua::RU::Charset qw (:CONVERT);
use Lingua::RU::Charset qw (:CONVERT :CHARCASE);
use Lingua::RU::Charset qw (any2koi koi2lc koi2uc);

More documentation and examples coming soon...

NOTE

Unfortunately I dont have time to implement the Unicode and UTF-8 subroutines. But I am sure that such functions would be useful for interesting Perl scripts exchanging russian data with Java servlets. So you are welcome to submit some code!
<<less
Download (0.004MB)
Added: 2007-06-12 License: Perl Artistic License Price:
864 downloads
GTK-Pinger 0.32

GTK-Pinger 0.32


GTK-Pinger is a utility to ping multiple addresses, which presents results using GTK/ncurses. more>>
GTK-Pinger is a cyclic multi ping utility for selected adresses using ncurses/GTK.
You simply write adresses into a configuration file and after execution of pinger, you will see small nice window, which inform you about current status of selected hosts and their triptimes.
Enhancements:
- The GTK window is now scrollable.
- Debian package support was added.
- Memory leaks were fixed.
- Some minor changes were made.
<<less
Download (0.22MB)
Added: 2007-02-17 License: GPL (GNU General Public License) Price:
980 downloads
Secleted [ 0 ] software to compare
  • Page: 1 of 4
  • 1
  • 2
  • 3
  • 4