From 9836dae1783bcf5934508a2abe32eca9ea5ee15d Mon Sep 17 00:00:00 2001 From: "Km.Van" Date: Mon, 13 Apr 2020 16:53:30 +0800 Subject: [PATCH] Speed up for parse class name (#150) Speed up for parse class name --- README.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 61ce9c19..69d82237 100755 --- a/README.md +++ b/README.md @@ -49,9 +49,9 @@ use Overtrue\Pinyin\Pinyin; // 小内存型 $pinyin = new Pinyin(); // 默认 // 内存型 -// $pinyin = new Pinyin('Overtrue\Pinyin\MemoryFileDictLoader'); +// $pinyin = new Pinyin('\\Overtrue\\Pinyin\\MemoryFileDictLoader'); // I/O型 -// $pinyin = new Pinyin('Overtrue\Pinyin\GeneratorFileDictLoader'); +// $pinyin = new Pinyin('\\Overtrue\\Pinyin\\GeneratorFileDictLoader'); $pinyin->convert('带着希望去旅行,比到达终点更美好'); // ["dai", "zhe", "xi", "wang", "qu", "lyu", "xing", "bi", "dao", "da", "zhong", "dian", "geng", "mei", "hao"]