In irb, the method “one\ntwo\nthree”.split worked fine
but in a file…
@text = "
@lines = @text.split(/\n/)
… it fails: “private method `split’ called for nil:NilClass
After getting the array of lines, again I need to call split() on each
line, then joing them with ", "
(basically I need a CSV file for 14,000 lines verb annotation from
It’s late, so I probably could not figure this out myself tonight. Any
help is welcome. Thank you.