the main service code of viper text mining