GATE: A General Architecture for Text Extraction