-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathREADME
62 lines (39 loc) · 1.57 KB
/
README
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
MultiFast __MF_VERSION_NUMBER__
---------------
MultiFast is a fast multiple string search and replace tool which uses Aho-Corasick
Algorithm. It contains a tidy and fast implementation of the Aho-Corasick
algorithm as a C library and a search and replacement tool.
This package contains following folders:
* ahocorasick: The implementation of Aho-Corasick algorithm along with replace functions
* example0: A sample program that shows how to use _settext()/_findnext() interface
* example1: A sample program that shows how to use _search() interface
* example2: A sample program that shows how to use _replace()/_rep_flush() interface
* example3: A sample program that shows how to write a C++ wrapper for the library
* example4: A sample program which shows more advanced techniques
* example5: A sample program which shows thread safe searching
* multifast: A powerful search and replace tool
BUILD AND RUN
-------------
Get package and unzip it:
$ git clone https://github.com/lovelock/multifast.git
In order to compile all the applications you should run the following cmake commands:
$ cd multifast
$ cmake -B build -G Ninja
$ cmake --build build
For running examples just run it from current directory. e.g.:
$ build/example0
The instruntion are the same for other examples.
For command line option of multifast see the README file in multifast folder.
RUN TESTS
-------------
$ cd build
$ ctest
WEBSITE
-------
http://multifast.sourceforge.net/
CONTACT
-------
kamiar.kanani@gmail.com
BUG REPORT
----------
Please report bugs to the email mentioned above.