Ghini / ghini.desktop

plant collections manager (desktop version)
http://ghini.github.io/
GNU General Public License v2.0
24 stars 14 forks source link

write a configurable parser for taxonomic exports #110

Open mfrasca opened 8 years ago

mfrasca commented 8 years ago

From @mfrasca on October 24, 2015 17:2

we regularly receive exports of taxonomic data in text format, but produced automatically, thus with a very recognizable structure. it would be nice to be able to parse such documents more or less automatically. one typical example from tropicos:

$

Aa brevis Schltr.

Aa brevis Schltr. = Myrosmodes breve (Schltr.) Garay

Reference: FP 1438: 102; Garay, L. A., 1978: 168; Dodson, C. H., 1992: xx.

$

Aa calceata (Rchb. f.) Schltr.

Aa calceata (Rchb. f.) Schltr.

Synonyms: Aa calceata Rchb. f. Reference: Flora Peru: 1438: 94; Dodson, pers. comm.. Note: Not reconfirmed.

$

Zygosepalum lindeniae (Rolfe) Garay & Dunst.

Zygosepalum lindeniae (Rolfe) Garay & Dunst.

Synonyms: Zygosepalum lindeniae Rolfe Reference: Dodson, pers. comm.. Ecology: Native epiphytic herb. Amazonian: seasonally inundated areas. 0-500 m. Voucher: Pastorelli illus.

Copied from original issue: Bauble/bauble.classic#156

mfrasca commented 8 years ago

the full input file: http://bauble.io/resources/Brako&Zarucchi.txt.gz