FIND-COMPOUNDS(1)

πŸ“¦ version 1.31, in nixos 26.05, nixpkgs unstable

🌸 find-compounds(1) β€” User Contributed Perl Documentation 🌸

okay bestie, welcome to the find-compounds(1) manual page. It's giving old-school Perl docs, but we're gonna make it make sense. πŸ’…

πŸ’– NAME πŸ’–

find-compounds.pl β€” find compound words in a text that are specified in a list. periodt. ✨

✨ DESCRIPTION ✨

okay so the description is literally just this: See perldoc find-compounds.pl. That's the whole vibe. No cap. 🫢

πŸŽ€ USAGE πŸŽ€

find-compounds.pl SourceFile CompoundWordList

πŸ¦‹ INPUT πŸ¦‹

🌈 Required Arguments 🌈

  • SourceFile β€” the source file is the original text file, bestie. That's your starting text. πŸ’–
  • CompoundWordList β€” this one contains the compound words. Compound words are separated by underscore _. Each compound word is a line. lowkey simple, highkey useful. ✨

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 replacing the compound words, the text is "This is the new_york_city". slay. πŸ”₯

⭐ Other Options ⭐

  • --newline β€” find compound words within one line boundary with this option. If you run find-compounds.pl without this option, find compound words crossing lines. πŸŒ€
  • Displays this message. β€” okay this line is floating in the original options area all by itself, not attached to a flag, and I'm preserving it exactly because every detail matters. πŸ’€
  • --help β€” displays this message.
  • --version β€” displays the version information. πŸ‘‘

πŸ‘‘ AUTHOR πŸ‘‘

Ying Liu. University of Minnesota at Twin Cities. liux0395@umn.edu. iconic. πŸ’œ

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.


okay that's the whole page, bestie 🫢 β€” source/version: perl v5.42.3; date: 2015-10-04; and yes, it's FIND-COMPOUNDS(1) energy all the way. πŸ’–βœ¨

πŸ“¦ where this page comes from