Resource Generation From Structured Documents For Low-Density Languages