pkgsrc-WIP-cvs archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

CVS commit: wip/p5-Text-Context-EitherSide



Module name:    wip
Committed by:   kuli0020
Date:           Mon Aug  1 21:28:04 UTC 2005

Import into wip/p5-Text-Context-EitherSide

Log Message:
Suppose you have a large piece of text - typically, say, a web page or
a mail message. And now suppose you've done some kind of full-text search
on that text for a bunch of keywords, and you want to display the context
in which you found the keywords inside the body of the text.

A simple-minded way to do that would be just to get the two words either
side of each keyword. But hey, don't be too simple minded, because you've
got to make sure that the list doesn't overlap. If you have

    the quick brown fox jumped over the lazy dog

and you extract two words either side of ``fox'', ``jumped'' and ``dog'',
you really don't want to end up with

    quick brown fox jumped over brown fox jumped over the the lazy dog

so you need a small amount of smarts. This module has a small amount of smarts.


Status:

Vendor Tag:     kuli0020
Release Tags:   kuli0020_20050801
                
N wip/p5-Text-Context-EitherSide/DESCR
N wip/p5-Text-Context-EitherSide/Makefile
N wip/p5-Text-Context-EitherSide/PLIST
N wip/p5-Text-Context-EitherSide/distinfo

No conflicts created by this import


To generate a diff of this commit:

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.


-------------------------------------------------------
SF.Net email is sponsored by: Discover Easy Linux Migration Strategies
from IBM. Find simple to follow Roadmaps, straightforward articles,
informative Webcasts and more! Get everything you need to get up to
speed, fast. http://ads.osdn.com/?ad_id=7477&alloc_id=16492&op=click
_______________________________________________
pkgsrc-wip-cvs mailing list
pkgsrc-wip-cvs%lists.sourceforge.net@localhost
https://lists.sourceforge.net/lists/listinfo/pkgsrc-wip-cvs



Home | Main Index | Thread Index | Old Index