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
FIND-COMPOUNDS(1) User Contributed Perl Documentation FIND-COMPOUNDS(1)

find-compounds.pl - find compound words in a text that are specified in a list.

See perldoc find-compounds.pl

find-compounds.pl SourceFile CompoundWordList

SourceFile

Source file is the original text file.

CompoundWordList

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

Examples:

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

 new_york
 new_york_city

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

Other Options:

--newline

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

Displays this message.

--help

Displays this message.

--version

Displays the version information.

Ying Liu. University of Minnesota at Twin Cities. liux0395@umn.edu

Copyright (c) 2010-2011, Ying Liu

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.

2013-02-15 perl v5.32.1

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

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