GSoC/GCI Archive
Google Code-in 2014 Apertium

make scraper Writer fail gracefully on break and write output

completed by: Joonas Kylmälä

mentors: Jonathan

When the apertium scraper framework is interrupted (with ^C or similar), it currently crashes ungracefully. Have it close gracefully (unless a break is forced, such as with killall -9) and write any remaining data to disk before exiting.