DtkCore
DTK Core module
dpinyin.h
1/*
2 * Copyright (C) 2017 ~ 2017 Deepin Technology Co., Ltd.
3 *
4 * Author: kirigaya <[email protected]>
5 * This program is free software: you can redistribute it and/or modify
6 * it under the terms of the GNU Lesser General Public License as published by
7 * the Free Software Foundation, either version 3 of the License, or
8 * any later version.
9 *
10 * This program is distributed in the hope that it will be useful,
11 * but WITHOUT ANY WARRANTY; without even the implied warranty of
12 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
13 * GNU General Public License for more details.
14 *
15 * You should have received a copy of the GNU Lesser General Public License
16 * along with this program. If not, see <http://www.gnu.org/licenses/>.
17 *
18 * pinyin.dict from https://github.com/flyerhzm/chinese_pinyin
19 */
20
21#ifndef DPINYIN_H
22#define DPINYIN_H
23
24#include <dtkcore_global.h>
25
26#include <QHash>
27
28DCORE_BEGIN_NAMESPACE
29
30QString LIBDTKCORESHARED_EXPORT Chinese2Pinyin(const QString& words);
31
32DCORE_END_NAMESPACE
33
34#endif // DPINYIN_H