mirror of
				https://github.com/ggml-org/llama.cpp.git
				synced 2025-11-04 09:32:00 +00:00 
			
		
		
		
	unicode : improve naming style (#10838)
* unicode : improve naming style ggml-ci * cont [no ci]
This commit is contained in:
		@@ -738,7 +738,7 @@ struct llm_tokenizer_wpm_session {
 | 
			
		||||
        std::vector<std::string> words(1, "");
 | 
			
		||||
 | 
			
		||||
        for (const uint32_t cpt : cpts_nfd) {
 | 
			
		||||
            const auto flags = unicode_cpt_flags(cpt);
 | 
			
		||||
            const auto flags = unicode_cpt_flags_from_cpt(cpt);
 | 
			
		||||
 | 
			
		||||
            if (flags.is_whitespace) {
 | 
			
		||||
                if (words.back().size()) {  // finish previous word if any
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user