neelsmith / CitableParserBuilder.jl

Common infrastructure for building parsers and working with citable morphological datasets.
https://neelsmith.quarto.pub/citableparserbuilder/.
GNU General Public License v3.0
0 stars 0 forks source link

Convert among various types of parsers #138

Open neelsmith opened 5 months ago

neelsmith commented 5 months ago

Make stringParser the hub that others go through

neelsmith commented 5 months ago

String parser to dataframe:

hdr = join(["Token","Lexeme","Form","Stem","Rule"], DELIMITER)
csvsrc = HDR * "\n" * join(sp.entries,"\n") * "\n"
CSV.read(IOBuffer(csvsrc), DataFrame)