aboutsummaryrefslogtreecommitdiffstats
path: root/vespalib/src/vespa/fastlib/text/wordfolder.h
blob: 8b75606f82841185e55f950396353fa1563d3e94 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
// Copyright Yahoo. Licensed under the terms of the Apache 2.0 license. See LICENSE in the project root.
#pragma once

#include <vespa/fastlib/text/unicodeutil.h>

class Fast_WordFolder
{
public:
    virtual ~Fast_WordFolder() = default;
    virtual const char* UCS4Tokenize(const char *buf,
                                     const char *bufend,
                                     ucs4_t *dstbuf,
                                     ucs4_t *dstbufend,
                                     const char*& origstart,
                                     size_t& tokenlen) const = 0;
};