Initially working version for extraction of terms from the spreadsheet