Treex::Core

Interface to linguistic structures and processing units in Treex
Download

Treex::Core Ranking & Summary

Advertisement

  • Rating:
  • License:
  • Perl Artistic License
  • Price:
  • FREE
  • Publisher Name:
  • Tomas Kraut
  • Publisher web site:
  • http://search.cpan.org/~tkr/

Treex::Core Tags


Treex::Core Description

Treex::Core is a Perl module for processing linguistic data, especially tree-shaped syntactic representations of natural language sentences, both for language analysis and synthesis purposes.Treex::Core is meant to be as language universal as possible. It makes only a few assumptions: the language's written form must be representable by Unicode characters, and it should be possible to segment texts in such language into sentences (or sentence-like units) and words (or word-like units).Treex::Core is tightly coupled with the tree editor TrEd, which makes browsing the linguistic data structures very comfortable.Treex::Core uses TrEd's Treex::PML for the memory representation, as well as for storing the data into *.treex files, using the XML-based Prague Markup Language.SYNOPSIS use Treex::Core; my $doc = Treex::Core::Document->new; my $bundle = $doc->create_bundle; my $zone = $bundle->create_zone('en'); my $atree = $zone->create_atree; my $predicate = $atree->create_child({form=>'loves'}); foreach my $argument (qw(John Mary)) { my $child = $atree->create_child( { form=>$argument } ); $child->set_parent($predicate); } $doc->save('demo.treex');Product's homepage


Treex::Core Related Software