Files
flashtext-cpp/examples/main.cpp
2021-04-28 00:21:13 +03:00

30 lines
490 B
C++

//
// Created by lalanke on 26/04/2021.
//
#include <iostream>
#include <map>
#include <string>
#include "../src/flashtext.h"
using std::cout;
using std::endl;
int main()
{
KeywordProcessor key; // = KeywordProcessor(true);
// cout << "Trie Size: " << key.trieSize() << endl;
// Test toLowerCase function
// cout << key.stringToLower("XaXSVXGSJGJVgsgxgs") << endl;
// Test Contains
// cout << "Contains: " << key.contains("Allan") << endl;
return 0;
}