A semantics-based method for extracting geographic scopes of texts