TranscriptStudio is a project mainly written in ..., it's free.
XML based sub-document level categorization tool