GSP
Quick Navigator

Search Site

Unix VPS
A - Starter
B - Basic
C - Preferred
D - Commercial
MPS - Dedicated
Previous VPSs
* Sign Up! *

Support
Contact Us
Online Help
Handbooks
Domain Status
Man Pages

FAQ
Virtual Servers
Pricing
Billing
Technical

Network
Facilities
Connectivity
Topology Map

Miscellaneous
Server Agreement
Year 2038
Credits
 

USA Flag

 

 

Man Pages


Manual Reference Pages  -  HAILO::ROLE::TOKENIZER (3)

.ds Aq ’

NAME

Hailo::Role::Tokenizer - A role representing a Hailo tokenizer

CONTENTS

METHODS

CWnew

This is the constructor. It takes no arguments.

CWmake_tokens

Takes a line of input and returns an array reference of tokens. A token is an array reference containing two elements: a spacing attribute and the token text. The spacing attribute is an integer which will be stored along with the token text in the database. The following values are currently being used:
0 - normal token
1 - prefix token (no whitespace follows it)
2 - postfix token (no whitespace precedes it)
3 - infix token (no whitespace follows or precedes it)

CWmake_output

Takes an array reference of tokens and returns a line of output. A token is an array reference as described in make_tokens. The tokens will be joined together into a sentence according to the whitespace attributes associated with the tokens, as well as any formatting provided by the tokenizer implementation.

AUTHORS

Hinrik Oern Sigurd`sson, hinrik.sig@gmail.com

AEvar Arnfjoerd` Bjarmason <avar@cpan.org>

LICENSE AND COPYRIGHT

Copyright 2010 Hinrik Oern Sigurd`sson and AEvar Arnfjoerd` Bjarmason <avar@cpan.org>

This program is free software, you can redistribute it and/or modify it under the same terms as Perl itself.

Search for    or go to Top of page |  Section 3 |  Main Index


perl v5.20.3 HAILO::ROLE::TOKENIZER (3) 2011-09-18

Powered by GSP Visit the GSP FreeBSD Man Page Interface.
Output converted with manServer 1.07.