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

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

Serving Software Downloads in 976 Categories, Downloaded 29.982.803 Times

Lingua::Phonology::Segment 0.32

  Date Added: May 05, 2010  |  Visits: 645

Lingua::Phonology::Segment

Report Broken Link
Printer Friendly Version


Product Homepage
Download (75 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
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  
Utilities  -  QR Reader for iPad 2.1
The most simple & easy QR Reader - 100% FREE. Now scans QR codes, barcodes and even creates PDF files with the "Scan to PDF" feature. FEATURES - Scans QR codes and barcodes - Browse deals & coupons - Scan to PDF - turns...
33.4 MB  
Utilities  -  QR Reader for iPhone 4.4
The most simple & easy QR Reader - 100% FREE. Now scans QR codes, barcodes, words and even creates PDF files with the "Scan to PDF" feature. FEATURES - Scans QR codes, barcodes and words (OCR) - Browse deals & coupons - Scan...
33.3 MB  
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  
Programming  -  JLRFractal: Mandelbrot/Julia Generator 1.0
JLRFractal is a Mandelbrot/Julia generator written in C++ using Trolltech's Qt graphics libraries. It features an easy-to-use zoom feature and a speed-up technique that is visible to the user. Color cycling features as well as saving to file are also
2.86 MB  
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  
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  
NEW DOWNLOADS IN PROGRAMMING, LIBRARIES
Programming  -  FLEX-db Digital Asset Manager 3.0.9
FLEX-db - an enterprise Digital Asset Manager (DAM). It ingests and links metadata with files, creates thumbnails, and processes files using business rules. FLEX-db has a JSP client, Java app server for file input and output and an EJB metadata...
21.57 MB  
Programming  -  Libicom 0.9.0
The libicom library is a character based dynamicly linked library for Linux. It is used to remotely control the Icom IC-R8500 wide band receiver via an RS232 link. All call and return parameters to the control functions are character string based....
20.48 KB  
Programming  -  dotdesktop 0.3
Dotdesktop library provides ability to parse desktop entry file and access the information in a convenient way. Desktop entry file format is defined by freedesktop.org, it is used to describe information about an application such as the name and...
327.68 KB  
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  -  libyasl 0.2
Libyasl is a C++ class library to easily realize TCP/UDP/Multicast clientsand servers in IPv4 and IPv6 environments under GNU/Linux systems.
143.36 KB  
Libraries  -  wolfSSL 3.12.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...
2.73 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