An approach to the script discrimination in the Slavic documents