in reply to Module for parsing tables from plain text document

> to figure out the columns by "magic"

This could be done by a combination of statistics/histograms to identify empty columns and heuristics, but can't be perfect.

Small number of data would result in ambiguity.

But a semi automatic approach, where you choose a result of your liking sounds very feasible.

Think of the way Excel asks about the best way to import CSV after showing a best guess. °

Would that be good enough?

The first step would require collecting sufficient training data.

Cheers Rolf
(addicted to the 𐍀𐌴𐍂𐌻 Programming Language :)
Wikisyntax for the Monastery

updates

°) e.g. Text-Import-Wizard

  • Comment on Re: Module for parsing tables from plain text document