Convert a CSV to a JSON Object Based on a Template

Closed - This job posting has been filled and work has been completed.
Web, Mobile & Software Dev Other - Software Development Posted 10 months ago

Fixed Price

Delivery by August 7, 2014

$15.00

Budget

Details

I have a CSV file that I need converted into the form of a JSON object via whatever means necessary. You could write a python script to do this or if you're quick with your keyboard and mouse, you can do it all manually. It's entirely up to you.

The CSV file looks something like this:

CorV        type phoneme_CMU grapheme example
vowel bv AE                 A         c(a)t
vowel bv EH                 A         (a)ny
vowel bv AA                 A         w(a)sh
vowel bv AH                 A         (A)lask(a)
vowel bv EY                 A         t(a)ble
vowel bv IH                 A         wom(a)n

The template (correct result for the first and second row) is as follows:

'AE': {
grapheme: 'a',
example: 'c(a)t',
type: 'bv',
CorV: 'vowel'
},
'EH': {
        grapheme: 'a',
        example: '(a)ny',
        type: 'bv',
        CorV: 'vowel'
}

If you're familiar with JSON and CSV as well as a scripting language, you should have no trouble getting this done.


About the Client

(4.96) 21 reviews

United States
Atlanta 04:35 PM

37 Jobs Posted
79% Hire Rate, 1 Open Job

$8,749 Total Spent
42 Hires, 6 Active

$6.84/hr Avg Hourly Rate Paid
1,170 Hour

Member Since May 6, 2012