Main > Free Download Search >

Free text twist software for linux

text twist

Sponsored Links
Sponsored Links
Secleted [ 0 ] software to compare
Results 1 - 15 of about 3058
Text::Yats 0.03

Text::Yats 0.03


Text::Yats is Yet Another Template System. more>>
Text::Yats is Yet Another Template System.

SYNOPSIS

use Text::Yats;

my $template = < < ENDHTML;
< html >
< head >
< title >$title - $version< /title >
< /head >
< body >
< form >
< select name="names" >< !--{1}-- >
< option $selected >$list< /option >
< !--{2}-- >< /select >
< /form >
< /body >
< /html >
ENDHTML

my $result = "";
my $tpl = Text::Yats- >new(
level = > 1,
text = > $template);

$result .= $tpl- >section- >[0]- >replace(
title = > "Yats",
version = > "Development", );

$result .= $tpl- >section- >[1]- >replace(
list = > [hdias,anita,cubitos],
selected = > { value = > "selected",
array = > "list",
match = > "anita", } );

$result .= $tpl- >section- >[2]- >text;
print $result;

<<less
Download (0.005MB)
Added: 2007-08-10 License: Perl Artistic License Price:
805 downloads
Text::Indent 0.1

Text::Indent 0.1


Text::Indent is a simple indentation of text shared among modules. more>>
Text::Indent is a simple indentation of text shared among modules.

SYNOPSIS

In your main program:

use Text::Indent;
my $indent = Text::Indent->new;
$indent->spaces(2);

In a module to produce indented output:

use Text::Indent;
my $indent = Text::Indent->instance;
$indent->increase;
print $indent->indent("this will be indented two spaces");
$indent->increase(2);
print $indent->indent("this will be indented six spaces");
$indent->decrease(3);

Text::Indent is designed for use in programs which need to produce output with multiple levels of indent when the source of the output comes from different modules that know nothing about each other.

For example take module A, whose output includes the indented output of module B. Module B can also produce output directly, so it falls to module B to know whether it should indent its output or not depending on its calling context.

Text::Indent allows programs and modules to cooperate to choose an appropriate indent level that is shared within the program context. In the above example, module A would increase the indent level prior to calling the output routines of module B. Module B would simply use the Text::Indent instance confident that if it were being called directly no indent would be applied but if module A was calling it then its output would be indented one level.

<<less
Download (0.005MB)
Added: 2007-08-08 License: Perl Artistic License Price:
807 downloads
Text::WikiFormat 0.79

Text::WikiFormat 0.79


Text::WikiFormat is a Perl module for translating Wiki formatted text into other formats. more>>
Text::WikiFormat is a Perl module for translating Wiki formatted text into other formats.

SYNOPSIS

use Text::WikiFormat;
my $html = Text::WikiFormat::format($raw);

The original Wiki web site had a very simple interface to edit and to add pages. Its formatting rules are simple and easy to use. They are also easy to translate into other, more complicated markup languages with this module. It creates HTML by default, but can produce valid POD, DocBook, XML, or any other format imaginable.

The most important function is format(). It is not exported by default.

format()

format() takes one required argument, the text to convert, and returns the converted text. It allows two optional arguments. The first is a reference to a hash of tags. Anything passed in here will override the default tag behavior. The second argument is a hash reference of options. They are currently:

prefix

The prefix of any links. In HTML mode, this is the path to the Wiki. The actual linked item itself will be appended to the prefix. This is useful to create full URIs:

{ prefix => http://example.com/wiki.pl?page= }

extended

A boolean flag, false by default, to use extended linking semantics. This comes from the Everything Engine (http://everydevel.com/), which marks links with square brackets. An optional title may occur after the link target, preceded by an open pipe. These are valid extended links:

[a valid link]
[link|title]

Where the linking semantics of the destination format allow it, the result will display the title instead of the URI. In HTML terms, the title is the content of an A element (not the content of its HREF attribute).

You can use delimiters other than single square brackets for marking extended links by passing a value for extended_link_delimiters in the %tags hash when calling format.

implicit_links

A boolean flag, true by default, to create links from StudlyCapsStringsNote that if you disable this flag, you should probably enable the extended one also, or there will be no way of creating links in your documents. To disable it, use the pair:

{ implicit_links => 0 }

absolute_links

A boolean flag, false by default, which treats any links that are absolute URIs (such as http://www.cpan.org/) specially. Any prefix will not apply and the URIs arent quoted. Use this in conjunction with the extended option to detect the link.

A link is any text that starts with a known schema followed by a colon and one or more non-whitespace characters. This is a distinct subset of what URI recognizes as a URI, but is a good first-order approximation. If you need to recognize more complex URIs, use the standard wiki formatting explained earlier.

The recognized schemas are those defined in the schema value in the %tags hash. The defaults are http, https, ftp, mailto, and gopher.

<<less
Download (0.028MB)
Added: 2007-08-22 License: Perl Artistic License Price:
793 downloads
OO Text To Speech 0.1

OO Text To Speech 0.1


OO Text To Speech is a text-to speech macro for OpenOffice.org. more>>
OO Text To Speech is a text-to speech macro for OpenOffice.org.

Its a syllable analyzer: using a reading motor, it reads a document and translates it into a vocal message.

About OpenOffice

OpenOffice.org is a multiplatform and multilingual office suite and an open-source project. Compatible with all other major office suites, the product is free to download, use, and distribute.

It is an international office suite that will run on all major platforms and provide access to all functionality and data through open-component based APIs and an XML- based file format.
<<less
Download (4.8MB)
Added: 2006-03-01 License: GPL (GNU General Public License) Price:
1347 downloads
Text::VisualWidth 0.01

Text::VisualWidth 0.01


Text::VisualWidth is a Perl module that provides functions to treat half-width and full-width characters. more>>
Text::VisualWidth is a Perl module that provides functions to treat half-width and full-width characters and display correct size of text in one line on terminals and mobile phones. You can know the visual width of any text and truncate text by the visual width.

Now this module support EUC-JP and UTF-8 and tested only with Japanese.

<<less
Download (0.031MB)
Added: 2007-05-05 License: Perl Artistic License Price:
905 downloads
GD::Text 0.86

GD::Text 0.86


GD::Text is a Perl module with text utilities for use with GD. more>>
GD::Text is a Perl module with text utilities for use with GD.

SYNOPSIS

use GD;
use GD::Text;

my $gd_text = GD::Text->new() or die GD::Text::error();
$gd_text->set_font(funny.ttf, 12) or die $gd_text->error;
$gd_text->set_font(gdTinyFont);
$gd_text->set_font(GD::Font::Tiny);
...
$gd_text->set_text($string);
my ($w, $h) = $gd_text->get(width, height);

if ($gd_text->is_ttf)
{
...
}
Or alternatively
my $gd_text = GD::Text->new(
text => Some text,
font => funny.ttf,
ptsize => 14,
);

This module provides a font-independent way of dealing with text in GD, for use with the GD::Text::* modules and GD::Graph.

<<less
Download (0.063MB)
Added: 2006-10-02 License: Perl Artistic License Price:
648 downloads
Text::RewriteRules 0.10

Text::RewriteRules 0.10


Text::RewriteRules Perl module contains a system to rewrite text using regexp-based rules. more>>
Text::RewriteRules Perl module contains a system to rewrite text using regexp-based rules.

SYNOPSIS

use Text::RewriteRules;

RULES email
.==> DOT
@==> AT
ENDRULES

email("ambs@cpan.org") # returns ambs AT cpan DOT org

RULES/m inc
(d+)=e=> $1+1
ENDRULE

inc("I saw 11 cats and 23 docs") # returns I saw 12 cats and 24 docs

ABSTRACT

This module uses a simplified syntax for regexp-based rules for rewriting text. You define a set of rules, and the system applies them until no more rule can be applied.

Two variants are provided:

traditional rewrite (RULES function):

while it is possible do substitute
| apply first substitution rule

cursor based rewrite (RULES/m function):

add a cursor to the begining of the string
while not reach end of string
| apply substitute just after cursor and advance cursor
| or advance cursor if no rule can be applied

A lot of computer science problems can be solved using rewriting rules.
Rewriting rules consist of mainly two parts: a regexp (LHS: Left Hand Side) that is matched with the text, and the string to use to substitute the content matched with the regexp (RHS: Right Hand Side).

Now, why dont use a simple substitute? Because we want to define a set of rules and match them again and again, until no more regexp of the LHS matches.

A point of discussion is the syntax to define this system. A brief discussion shown that some users would prefer a function to receive an hash with the rules, some other, prefer some syntax sugar.

The approach used is the last: we use Filter::Simple such that we can add a specific non-perl syntax inside the Perl script. This improves legibility of big rewriting rules sytems.

This documentation is divided in two parts: first we will see the reference of the module. Kind of, what it does, with a brief explanation. Follows a tutorial which will be growing through time and releases.

<<less
Download (0.008MB)
Added: 2007-07-10 License: Perl Artistic License Price:
837 downloads
Text::EP3 1.10

Text::EP3 1.10


EP3 Perl module is the Extensible Perl PreProcessor. more>>
EP3 Perl module is the Extensible Perl PreProcessor.

SYNOPSIS

# Use options and files from command-line
use Text::EP3;
[use Text::EP3::{Extension}] # Language Specific Modules
# create the PreProcessor object
my $preprocessor = new Text::EP3 file;
# do the preprocessing, using command-line options from @ARGV
$preprocessor->ep3_execute;

# Set options and files from the Perl script
use Text::EP3;
[use Text::EP3::{Extension}] # Language Specific Modules
# create the PreProcessor object
my $preprocessor = new Text::EP3 file;
# configure the PreProcessor object (optional)
$preprocessor->ep3_output_file([$filename]);
$preprocessor->ep3_modules([@modules]);
$preprocessor->ep3_includes([@include_directories]);
$preprocessor->ep3_reset;
$preprocessor->ep3_start_comment([$string]);
$preprocessor->ep3_end_comment([$string]);
$preprocessor->ep3_line_comment([$string]);
$preprocessor->ep3_delimiter([$string]);
$preprocessor->ep3_gen_depend_list([$value]);
$preprocessor->ep3_keep_comments([$value]);
$preprocessor->ep3_protect_comments([$value]);
$preprocessor->ep3_defines($string1=$string2);
# do the preprocessing
$preprocessor->ep3_process([$filename, [$condition]]);

EP3 is a Perl5 program that preprocesses STDIN or some set of input files and produces an output file. EP3 only works on input files and produces output files. It seems to me that if you want to preprocess arrays or somesuch, you should be using perl. EP3 was first developed to provide a flexible preprocessor for the Verilog hardware description language.

Verilog presents some problems that were not easily solved by using cpp or m4. I wanted to be able to use a normal preprocessor, but extend its functionality. So I wrote EP3 - the Extensible Perl PreProcessor. The main difference between EP3 and other preprocessors is its built-in extensibility. Every directive in EP3 is really a method defined in EP3, one of its submodules, or embedded in the file that is being processed. By linking the directive name to the associated methods, other methods could be added, thus extending the preprocessor.

<<less
Download (0.020MB)
Added: 2007-05-31 License: Perl Artistic License Price:
876 downloads
Text::Emoticon 0.04

Text::Emoticon 0.04


Text::Emoticon is a factory class for Yahoo! and MSN emoticons. more>>
Text::Emoticon is a factory class for Yahoo! and MSN emoticons.

SYNOPSIS

use Text::Emoticon;

my $emoticon = Text::Emoticon->new(MSN, { strict => 1, xhtml => 0 });
print $emoticon->filter(Hello ;));

Text::Emoticon is a factory class to dispatch MSN/YIM emoticon set. Its made to become handy to be used in other applications like Kwiki/MT plugins.

<<less
Download (0.002MB)
Added: 2006-12-14 License: Perl Artistic License Price:
1050 downloads
Text::Starfish 1.06

Text::Starfish 1.06


Text::Starfish.pm and starfish is a Perl-based System for Text-Embedded Programming and Preprocessing. more>>
Text::Starfish.pm and starfish is a Perl-based System for Text-Embedded Programming and Preprocessing.

SYNOPSIS

starfish [ -o=outputfile ] [ -e=initialcode ] [ -replace ] [ -mode=mode ] file...
where files usually contain some Perl code, delimited by < ? and ! >. To produce output to be inserted into the file, use variable $O or function echo.

(The documentation is probably not up to date.)

Starfish is a system for Perl-based text-embedded programming and preprocessing, which relies on a unifying regular expression rewriting methodology. If you know Perl and php, you probably know the basic idea: embed Perl code inside the text, execute it is some way, and interleave the output with the text. Very similar projects exist and some of them are listed in "SEE ALSO". Starfish is, however, unique in several ways. One important difference between starfish and similar programs (e.g. php) is that the output does not necessarily replace the code, but it follows the code by default. It is attempted with Starfish to provide a universal text-embedded programming language, which can be used with different types of textual files.

There are two files in this package: a module (Starfish.pm) and a small script (starfish) that provides a command-line interface to the module. The options for the script are described in subsection ""starfish_cmd list of file names and options"".

The earlier name of this module was SLePerl (Something Like ePerl), but it was changed it to starfish -- sounds better and easier to type. One option was `oyster, but some people are thinking about using it for Perl beans, and there is a (yet another) Perl module for embedded Perl Text::Oyster, so it was not used.
The idea with the `starfish name is: the Perl code is embedded into a text, so the text is equivalent to a shellfish containing pearls. A starfish comes by and eats the shellfish... Unlike a natural starfish, this starfish is interested in pearls and does not normally touch most of the surrounding meat.

<<less
Download (0.022MB)
Added: 2007-06-06 License: Perl Artistic License Price:
871 downloads
Edit by Text Editors 0.1

Edit by Text Editors 0.1


Edit by Text Editors allows you to open a file with Kate, Kwrite, Kedit, Khexedit by a KDE service menu. more>>
Edit by Text Editors allows you to open a file with Kate, Kwrite, Kedit, Khexedit by a KDE service menu.

To install the service menu you must copy editby.desktop in ~/.kde/share/apps/konqueror/servicemenus

<<less
Download (MB)
Added: 2007-08-06 License: GPL (GNU General Public License) Price:
814 downloads
Text::Emoticon::MSN 0.04

Text::Emoticon::MSN 0.04


Text::Emoticon::MSN is a Perl module with emoticon filter of MSN Messenger. more>>
Text::Emoticon::MSN is a Perl module with emoticon filter of MSN Messenger.

SYNOPSIS

use Text::Emoticon::MSN;

my $emoticon = Text::Emoticon::MSN->new(
imgbase => "http://example.com/emo",
);

my $text = "Yet Another Perl Hacker ;-)";
print $emoticon->filter($text);

# it prints
# Yet Another Perl Hacker

Text::Emoticon::MSN is a text filter that replaces text emoticons like ":-)", ";-P", etc. to the icons of MSN Messenger, detailed in http://messenger.msn.com/Resource/Emoticons.aspx

METHODS

new

$emoticon = Text::Emoticon::MSN->new(
imgbase => "http://yourhost.example.com/images/emoticons",
xhtml => 1,
class => "emoticon",
);

Constructs new Text::Emoticon::MSN object. It accepts two options:

imgbase

Base URL where icon gif files are located. It defaults to "http://messenger.msn.com/Resource/emoticons" (the MSN site) but I dont recommend that, as theres a possibility MSN will ban your site.

xhtml

Whether it uses XHTML style img tags. It defaults to 1.

class

CSS class used in img tags. It defaults to nothing.

$emoticon = Text::Emoticon::MSN->new(class => "emo");

will print:

< img src="blah.gif" class="emo" / >

strict

Whether it will disable smileys with space in them. defaults to 0.

filter

$filtered_text = $emoticon->filter($text);

Filters emoticons in text and returns img tagged text (HTML).

<<less
Download (0.003MB)
Added: 2006-12-18 License: Perl Artistic License Price:
1047 downloads
Text Text Revolution 0.11

Text Text Revolution 0.11


Text Text Revolution project is a text-based ncurses DDR clone. more>>
Text Text Revolution project is a text-based ncurses DDR clone.
Text Text Revolution is a text-based Dance Dance Revolution clone.
It supports pyDDRs .step file format (which has now been superceeded by the .dance format), and plans to stream OGG, MP3, or WAV files.
Enhancements:
- Joystick (DDR mat) support is working now. use the -j switch. Its currently hardcoded to use /dev/input/js0.
- Some graphics code was cleaned up, and it is now possible to specify the difficulty (--light, --standard, --hard, or -ln, where n is 1, 2, or 3).
<<less
Download (0.044MB)
Added: 2006-12-08 License: GPL (GNU General Public License) Price:
1054 downloads
Text::Highlight 0.04

Text::Highlight 0.04


Text::Highlight is a syntax highlighting framework. more>>
Text::Highlight is a syntax highlighting framework.

SYNOPSIS

use Text::Highlight preload;
my $th = new Text::Highlight(wrapper => "
 %s 
n");
print $th->highlight(Perl, $code);

Text::Highlight is a flexible and extensible tool for highlighting the syntax in programming code. The markup used and languages supported are completely customizable. It can output highlighted code for embedding in HTML, terminal escapes for an ANSI-capable display, or even posting on an online forum. Bundled support includes C/C++, CSS, HTML, Java, Perl, PHP and SQL.

INSTALLATION

In order to install and use this package you will need Perl version 5.005 or better.

Installation as usual:

% perl Makefile.PL
% make
% make test
% su
Password: *******
% make install

<<less
Download (0.048MB)
Added: 2007-06-14 License: Perl Artistic License Price:
862 downloads
Text::Quote 0.3

Text::Quote 0.3


Text::Quote contains quotes strings as required for perl to eval them back correctly. more>>
Text::Quote contains quotes strings as required for perl to eval them back correctly.

SYNOPSIS

use Text::Quote;

my @quotes=map{$quoter->quote($_,indent=>6,col_width=>60)}(
"The time has come"
the walrus said,
"to speak of many things..."
," 123456abtn13fr16172021222324252627303132e34353637",
("6abtn13fr32e34" x 5),2/3,10,00);
for my $i (1..@quotes) {
print "$var$i=".$quotes[$i-1].";n";
}
Would produce:
$var1=qq"The time has come"ntthetwalrus said,nt"to speak of man.
qqy things...";
$var2=" 123456abtn13fr16172021222324252627".
"303132e34353637";
$var3=("6abtn13fr32e34" x 5);
$var4=0.666666666666667;
$var5=10;
$var6=00;

<<less
Download (0.012MB)
Added: 2007-08-06 License: Perl Artistic License Price:
810 downloads
Secleted [ 0 ] software to compare
  • Page: 1 of 5
  • 1
  • 2
  • 3
  • 4
  • 5