forked from raymanrt/aho-corasick
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathREADME
45 lines (28 loc) · 1.35 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
This is the source code distribution for an implementation of the Aho-Corasick
automaton in Java. For license information, please see LICENSE.
*********************************************************************
This implemenation changes the build system from Ant to Maven
The starting version is 1.2
*********************************************************************
This implementations improve some aspects of a software written by Danny Yoo,
available at https://hkn.eecs.berkeley.edu/~dyoo/java/index.html
The starting version is 1.1
The main changes are:
* the use of Java Generics
* the use of char[] data structure to represent text instead of byte[]; this
makes the software compatible with UTF-8 strings
* a Benchmark class, to test the improvements of using the Aho-Corasick
algorithm instead of regular expressions
*********************************************************************
Here follows the original README:
The following commands require Apache Maven, which can be found here:
http://maven.apache.org/
Building the jar
================
To compile the jar, run `maven install'. The resulting jar should be created
in:
target/ahocorasick-<version>.jar
Building the documentation
==========================
To build the javadocs, run `maven install'. The javadocs should be created in:
target/ahocorasick-<version>-javadoc.jar