[roch-pm] [Perl Jobs] Highlight phrases in text (telecommute), Canada, Quebec (fwd)

Brian Mathis bmathis at directedge.com
Sat Nov 24 13:46:31 CST 2001


Online URL for this job: http://jobs.perl.org/job/166

To subscribe to this list, send mail to jobs-subscribe at perl.org.
To unsubscribe, send mail to jobs-unsubscribe at perl.org.

Posted: November 23, 2001

Job title: Highlight phrases in text

Company name: CogMedia

Location: Canada, Quebec

Travel: 0%

Terms of employment: Independent contractor (project-based)

Onsite: no

Description:
What I need is to take a text (source.txt) and a file (phrases.txt) and
create output that highlight the phrase.txt found in source.txt. The
operation is very similar to somebody reading and highlighting what he
decides important for him when reading. Phrases.txt can contain words that
are not present in source.txt.

Source.txt
For the reasons given by Cory and McLachlin JJ., the
appellant, on the facts of this case, had a duty of care and a defence of
ex turpi causa was not open to him, be it viewed as such or as a matter of
public policy.	A restricted and more carefully circumscribed application
of the defence of ex turpi causa must lie in tort cases.  Its principle,
properly applied, has a valid and important role to play in limited
circumstances but it
is not appropriate to define exhaustively a priori the circumstances for
its application.

Phrase.txt
For the reasons
McLachlin JJ.,
duty of care
carefully circumscribed application
tort cases.
Its principle,

Output
<For the reasons> given by Cory and <McLachlin JJ.,> the
appellant, on the facts of this case, had a <duty of care> and a defence of
ex turpi causa was not open to him, be it viewed as such or as a matter of
public
policy.  A restricted and more <carefully circumscribed application> of the
defence of ex turpi causa must lie in tort cases.  <Its principle,>
properly applied, has a valid and important role to play in limited
circumstances but it is not appropriate to define exhaustively a priori the
circumstances for its application.




Contact information: Houda.Araj at cogmedia.com




--
For information on unsubscribing from this list, please visit
http://rochester.pm.org



More information about the Rochester-pm mailing list