Bridget McInnes > Text-NSP-1.21 >


Annotate this POD


Open  0
View/Report Bugs
Source   Latest Release: Text-NSP-1.31

NAME ^ - pick out the compound words of the text.


See perldoc

USAGE ^ SourceFile CompoundWordList


Required Arguments:


Source file is the original text file.


Compound word list contains the compound words. Compound words are seperated by underscore "_". Each compound word is a line.


The original text contains "This is the new york city". In the compound word list, it has

new_york new_york_city

The will find the longest match. After replace the compound words, the text is "This is the new_york_city".

Other Options:


Find compound words within one line boundary with this option. If run without this option, find compound words crossing lines.

Displays this message.


Displays this message.


Displays the version information.


Ying Liu. University of Minnesota at Twin Cities.


Copyright (c) 2010

This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version.

This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.

You should have received a copy of the GNU General Public License along with this program; if not, write to

The Free Software Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.

syntax highlighting: