PERL: Convert Python "Text Abbreviation" Script to PERL & Parse Data to MySQL

PERL: Convert Python "Text Abbreviation" Script to PERL & Parse Data to MySQL, the title pretty much covers it. I have a Python script that parses two input files and outputs a third. The output / result is an abbreviated text. See below for clarification.

Static Files:

1. [login to view URL] - a python script that works w/ items #2 & #3 in this list to output a file #4 of abbreviated text

2. [login to view URL] - a list of possible abbreviations for many words.

3. [login to view URL] - text one wishes to abbreviate.

4. [login to view URL] - the final resulting abbreviated text.

But this method didn't save much time due to the manual command line task and preparation of the input file text.

SO, the BEST move is to not only convert from Python to PERL (sorry all my automation is in PERL), but to make this a dynamic automated process handled by Linux cron function, PERL, and MySQL.

So I'm asking for multiple things here.

Convert existing script functions from Python to PERL;

Extend the functionality to work via local database queries where input would come from a specific database field, and output would go to a specific database field instead of a text file;

Due to working with cron, the script would need to do an initial MySQL query of "within the last 5 minutes, AND status_abbreviation = "pending";

MySQL update / set "status_abbreviation" from "pending" to "done" when the job was complete.


The script used to work like this:

Abbreviations List: (now from static file to database table)

California = CA

Computer Aided Design = CAD (ok maybe this one is pushing it but would be nice to do exact matches)

Friday = Fri.

include = incl.

Monday = Mon.

schedule = sched.

through = thru

working = wk'ing

with = w/

When triggered the script reads text from a second file called ad.txt.

So an [login to view URL] file that contains:

"Architect. Los Angeles, California. Schedule: Monday through Friday. Duties include working with Computer Aided Design software to create architectural drawings."

Ends up as [login to view URL]:

"Architect. LA, CA. sched.: Mon. thru Fri. Duties incl. wk'ing w/ CAD software to create architectural drawings."

As you can see, this would be way better with the data in MySQL and triggering from a time & status field based MySQL query triggered in cron and capable of making / sending tasty pizzas.

Skills: Linux, Perl, Shell Script, MySQL, MariaDB

See more: script add data mysql, php script parse email mysql, perl script parse log mysql, php script edit data mysql dreamweaver, asterisk script will data mysql, php script store data mysql, script extract data html perl mysql, convert pdf text via script, php script parse xml mysql database, script parse data rss feed, simple perl script parse data web site, convert number text java script, perl script import data mysql, perl script parse data webpage, script parse save mysql, oscommerce php script import data mysql, parse data mysql multiple php, script display data mysql, convert python text file

About the Employer:
( 10 reviews ) Orange, Thailand

Project ID: #27401880

Awarded to:

(391 Reviews)

5 freelancers are bidding on average $153 for this job


Hello, I am a Perl, MySQL, Linux, Cron and data conversion expert and i can help you to make solution Could you please clarify below? - Do we have all "Abbreviations List " already? so that we can manually import the More

$225 USD in 4 days
(59 Reviews)
(12 Reviews)

Hello elarko,I have checked the requirements in job description .I can do it you hope i'm expert python and perl. i have good experience with perl so i think i can help hope to seee you

$140 USD in 7 days
(5 Reviews)

Hello, I am an expert in websites and mobile app development. I have extensive knowledge in React Native, React JS, Node.js(MERN Stack). I am a Fullstack Developer. Probing an opportunity to work along with genuine Cl More

$140 USD in 7 days
(3 Reviews)