mirror of
https://github.com/yanyiwu/cppjieba.git
synced 2025-07-18 00:00:12 +08:00
24 lines
415 B
C++
24 lines
415 B
C++
#ifndef TRIE_H
|
|
#define TRIE_H
|
|
#include <iostream>
|
|
#include <fstream>
|
|
#include "cppcommon/str_functs.h"
|
|
#include "cppcommon/vec_functs.h"
|
|
#include "globals.h"
|
|
|
|
namespace CppJieba
|
|
{
|
|
using namespace CPPCOMMON;
|
|
using namespace std;
|
|
class Trie
|
|
{
|
|
public:
|
|
Trie();
|
|
~Trie();
|
|
public:
|
|
bool init(const char* const filepath = DICT_FILE_PATH);
|
|
};
|
|
}
|
|
|
|
#endif
|