I am new to Java . My problem is I have to select the rows of an entire file (Size less than 70MB) to match my pattern (e.g.<subject> <Predicate> <Object>). Currently I am using basic string matching algorithm bit it takes time so I want to use "Boyer-Moore algorithm". Is it good to use? Do we have some other better solution? If yes Please let me know and the code also in Java.
-
1Try to put some sample code so we can suggest improvementsVincent Mimoun-Prat– Vincent Mimoun-Prat2011-05-11 08:24:17 +00:00Commented May 11, 2011 at 8:24
Add a comment
|
3 Answers
A quick Google returned:
Maybe you simply give it a try and see the results.
Comments
JEval is an advanced library for adding high-performance, mathematical, Boolean and functional expression parsing and evaluation to your Java applications
1 Comment
Kal
Thanks for your reply...Do you think it will perform better string matching with a big file from its counter part like "Boyer-Moore algorithm"?