neelsmith / Kanones.jl

A julia package implementing the kanones system for building Greek morphological parsers.
https://neelsmith.github.io/Kanones.jl/stable/
GNU General Public License v3.0
1 stars 0 forks source link

Convert dataset to df parser? #407

Open neelsmith opened 5 months ago

neelsmith commented 5 months ago

function simpleDF(ds::Kanones.Dataset) sp = stringParser(ds) csvsrc = "Token,Lexeme,Form,Stem,Rule\n" replace(join(sp.entries,"\n"), "|" => ",") "\n" CSV.read(IOBuffer(csvsrc), DataFrame) end