libime
dictionary.cpp
1 /*
2  * SPDX-FileCopyrightText: 2017-2017 CSSlayer <wengxt@gmail.com>
3  *
4  * SPDX-License-Identifier: LGPL-2.1-or-later
5  */
6 
7 #include "dictionary.h"
8 #include <unordered_set>
9 #include "segmentgraph.h"
10 
11 void libime::Dictionary::matchPrefix(
12  const SegmentGraph &graph, const GraphMatchCallback &callback,
13  const std::unordered_set<const SegmentGraphNode *> &ignore,
14  void *helper) const {
15  matchPrefixImpl(graph, callback, ignore, helper);
16 }