Download Shareware and Freeware Software for Windows, Linux, Macintosh, PDA

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

Serving Software Downloads in 956 Categories, Downloaded 50.331.756 Times

Lingua::Phonology::Segment 0.32

  Date Added: May 05, 2010  |  Visits: 880

Lingua::Phonology::Segment

Report Broken Link
Printer Friendly Version


Product Homepage
Download (97 downloads)



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..

Requirements: No special requirements
Platforms: Linux
Keyword: Feature Features Libraries Linguaphonologysegment Print Programming Segment
Users rating: 0/10

License: Freeware Size: 100.35 KB
USER REVIEWS
More Reviews or Write Review


LINGUA::PHONOLOGY::SEGMENT RELATED
Screen Capture Tools  -  Free Screen Shot Lite 2.0.4
Capture Screen Shots with the press of a key or turn on the autosave feature and use the Print Screen button on your keyboard or copy feature on your right click menu.
819 KB  
Development Editors  -  TaterEdit for Mac OS 0.9.8
A multi-platform text editor, support moderm text editor features: - Syntax Highlight - Print Preview - Proportional Font - File Session - Bookmark - Support UTF-8, UTF-16, BIG5, SJIS, GBK, ISO-8859-(1, 2, 3, 5, 7) - Word Wrap - Snippet -...
10 MB  
Programming  -  devkitPro 1.5.7
This project is for homebrew console development tools based on the gnu compiler collection with additional tools and libraries to aid programming each supported console. The windows variants are built with MinGW.
444.26 KB  
Modules  -  Features Override 6.x-1.x-de
Features Override is used by modules that provide features to selectively override and enhance one another. You may want to use it if either: * you are installing a feature module that requires this module or * you are a feature developer looking...
10 KB  
Programming  -  Koha for Linux 3.2.1
Koha is the first open-source Integrated Library System (ILS). In use worldwide, its development is steered by a growing community of libraries collaborating to achieve their technology goals. Koha's impressive feature set continues to evolve and...
31.38 MB  
Graphics Viewers  -  PDF Viewer for Windows 7 1.0
It's a pity that a PDF reader isn't included when Windows 7 is released.  However, you can download and install a light-weight yet powerful PDF Viewer to serve as part of the operating system to view, print, and convert PDF. Features:...
927.08 KB  
Libraries  -  GODI 20060118
GODI library provides an advanced programming environment for the Objective Caml (OCaml) language. From INRIA (who created OCaml) you can get the OCaml compiler and runtime system, but this is usually not enough to develop applications. You also...
1.5 MB  
Blog  -  EZPX 1.2 beta
EZPX is a free lightweight photoblog engine having all the features you'd need and a user interface you'll love to use. feature : * a free photoblog application (blog engine) * written in PHP 4 (using Codeigniter framework) * driven by MySQL...
2.77 MB  
Programming  -  Anaglyph Canvas3D 0.87
AnaglyphCanvas3D is library for adding anaglyphs (red-green, red-cyan and so on) to the Java3D programming language. It utilizes the normal Canvas3D class of Java3D and extends it for stereoscopic effects. A prototypic GUI for testing is also...
20.48 KB  
Graphics Viewers  -  Cool PDF Reader 3.02
Cool PDF Reader is the world's smallest PDF viewer and reader to view and print PDF files, and convert PDF's to TXT, BMP, JPG, GIF, PNG, WMF, EMF, EPS. It is only 808KB to download and doesn't need lengthy installation, just download, unzip, and...
808.5 KB  
NEW DOWNLOADS IN PROGRAMMING, LIBRARIES
Programming  -  Cedalion for Linux 0.2.6
Cedalion is a programming language that allows its users to add new abstractions and define (and use) internal DSLs. Its innovation is in the fact that it uses projectional editing to allow the new abstractions to have no syntactic limitations.
471.04 KB  
Programming  -  Math::GMPf 0.29
Math::GMPf - perl interface to the GMP library's floating point (mpf) functions.
30.72 KB  
Programming  -  Net::Wire10 1.08
Net::Wire10 is a Pure Perl connector that talks to Sphinx, MySQL and Drizzle servers. Net::Wire10 implements the low-level network protocol, alias the MySQL wire protocol version 10, necessary for talking to one of the aforementioned...
30.72 KB  
Programming  -  logilab-common 0.56.2
a bunch of modules providing low level functionnalities shared among some python projects devel Please note that some of the modules have some extra dependencies. For instance, logilab.common.db will require a db-api 2.0 compliant...
174.08 KB  
Programming  -  OpenSSL for linux 1.0.0a
The OpenSSL Project is a collaborative effort to develop a robust, commercial-grade, full-featured, and Open Source toolkit implementing the Secure Sockets Layer (SSL v2/v3) and Transport Layer Security (TLS v1) protocols as well as a...
3.83 MB  
Libraries  -  wolfSSL 4.0.0
The wolfSSL embedded SSL/TLS library is a lightweight SSL library written in ANSI standard C and targeted for embedded and RTOS environments - primarily because of its small size, speed, and feature set. It is commonly used in standard operating...
3.88 MB  
Libraries  -  EuGTK 4.8.9
Makes it easy to develop good- looking, fast, cross-platform programs that run on Linux, OS X, and Windows. Euphoria is a very fast interpreted/compiled language with straight-forward syntax. EuGTK allows programming in a clean, object-oriented...
10.68 MB  
Libraries  -  Linux User Group Library Manager 1.0
The LUG Library Manager is a project to help Linux User Groups start their own library. A LUG library is helpful to the community at large because it increases access to information, and gives everyone the opportunity to become more knowledgeable.
5.35 KB  
Libraries  -  Module::MakefilePL::Parse 0.12
Module::MakefilePL::Parse is a Perl module to parse required modules from Makefile.PL. SYNOPSIS use Module::MakefilePL::Parse; open $fh, Makefile.PL; $parser = Module::MakefilePL::Parse->new( join("", ) ); $info = $parser->required;...
8.19 KB  
Libraries  -  sqlpp 0.06
sqlpp Perl package is a SQL preprocessor. sqlpp is a conventional cpp-alike preprocessor taught to understand SQL ( PgSQL, in particular) syntax specificities. In addition to the standard #define/#ifdef/#else/#endif cohort, provides also...
10.24 KB