472,796 Members | 2,339 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 472,796 software developers and data experts.

c/c++ text searching engine library

I am looking for a c/c++ text search engine library that supports:

- free text searching - not only beginning of words but substrings as
well
- wildcard searching - I want strings such as *test* to be supported
- regular expressions

I know about clucene, but, unless I am mistaken, lucene doesn't
support, for instance, having the * at the beginning of the searched
text, and it doesn't seem to support searching substrings.

Is there anything else out there? I came across a library developed at
some university, the library had a deity name but I can't recall it.

Thanks
Nov 21 '07 #1
4 2906
I just want to add that I used google to search for a library but I
could not find anything 100% satisfactory.
Nov 21 '07 #2
Costa a écrit :
I just want to add that I used google to search for a library but I
could not find anything 100% satisfactory.
http://en.wikipedia.org/wiki/Compari...ession_engines
Nov 21 '07 #3
I am actually looking for an embeddable c/c++ text search engine such
as clucene not for a regular expression library. If the engine
doesn't support regular expressions that's fine but I want it to
support wildcard searches and substrings.
Nov 21 '07 #4
Costa wrote:
I am looking for a c/c++ text search engine library that supports:
- free text searching - not only beginning of words but substrings as
well
- wildcard searching - I want strings such as *test* to be supported
- regular expressions
I know about clucene, but, unless I am mistaken, lucene doesn't
support, for instance, having the * at the beginning of the searched
text, and it doesn't seem to support searching substrings.
Is there anything else out there? I came across a library
developed at some university, the library had a deity name but
I can't recall it.
Boost has a regex component that looks pretty good. For
wildcard matching, of course, the conventions are somewhat
system dependent. In my own code, I map the wildcard pattern to
a regular expression, and use that.

--
James Kanze (GABI Software) email:ja*********@gmail.com
Conseils en informatique orientée objet/
Beratung in objektorientierter Datenverarbeitung
9 place Sémard, 78210 St.-Cyr-l'École, France, +33 (0)1 30 23 00 34
Nov 22 '07 #5

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

0
by: Rare Book School | last post by:
RARE BOOK SCHOOL 2005 Rare Book School is pleased to announce its schedule of courses for 2005, including sessions at the University of Virginia, the Walters Art Museum/Johns Hopkins University...
0
by: Adam | last post by:
I am currently determining the architecture for a rewrite of an existing retailed software product - moving from Smalltalk to C# .Net. It is to be a rich-client single-user desktop application. The...
0
by: Brandon | last post by:
I'm looking for a .NET component for text indexing and searching. I'd like to be able to create an index by passing the component various strings (chapters, etc; strings that could be one...
7
by: teo | last post by:
hallo, I need to extract a word and few text that precedes and follows it (about 30 + 30 chars) from a long textual document. Like the description that Google returns when it has found a...
12
by: Boris Borcic | last post by:
Hello, I am trying to use UI Automation to drive an MS Windows app (with pywinauto). I need to scrape the app's window contents and use some form of OCR to get at the texts (pywinauto can't...
0
by: JosAH | last post by:
Greetings, Introduction At the end of the last Compiler article part I stated that I wanted to write about text processing. I had no idea what exactly to talk about; until my wife commanded...
0
by: JosAH | last post by:
Greetings, Introduction Last week I was a bit too busy to cook up this part of the article series; sorry for that. This article part wraps up the Text Processing article series. The ...
0
by: JosAH | last post by:
Greetings, welcome back; above we discussed the peripherals of the Library class: loading and saving such an instantiation of it, the BookMark interface and then some. This part of the article...
3
by: Daniel Fetchinson | last post by:
Does Python 2.5.2's embedded SQLite support full text searching? Sqlite itself is not distributed with python. Only a python db api compliant wrapper is part of the python stdlib and as such it...
0
by: erikbower65 | last post by:
Using CodiumAI's pr-agent is simple and powerful. Follow these steps: 1. Install CodiumAI CLI: Ensure Node.js is installed, then run 'npm install -g codiumai' in the terminal. 2. Connect to...
0
linyimin
by: linyimin | last post by:
Spring Startup Analyzer generates an interactive Spring application startup report that lets you understand what contributes to the application startup time and helps to optimize it. Support for...
0
by: kcodez | last post by:
As a H5 game development enthusiast, I recently wrote a very interesting little game - Toy Claw ((http://claw.kjeek.com/))。Here I will summarize and share the development experience here, and hope it...
2
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Sept 2023 starting at 18:00 UK time (6PM UTC+1) and finishing at about 19:15 (7.15PM) The start time is equivalent to 19:00 (7PM) in Central...
14
DJRhino1175
by: DJRhino1175 | last post by:
When I run this code I get an error, its Run-time error# 424 Object required...This is my first attempt at doing something like this. I test the entire code and it worked until I added this - If...
5
by: DJRhino | last post by:
Private Sub CboDrawingID_BeforeUpdate(Cancel As Integer) If = 310029923 Or 310030138 Or 310030152 Or 310030346 Or 310030348 Or _ 310030356 Or 310030359 Or 310030362 Or...
0
by: lllomh | last post by:
Define the method first this.state = { buttonBackgroundColor: 'green', isBlinking: false, // A new status is added to identify whether the button is blinking or not } autoStart=()=>{
0
by: Mushico | last post by:
How to calculate date of retirement from date of birth
2
by: DJRhino | last post by:
Was curious if anyone else was having this same issue or not.... I was just Up/Down graded to windows 11 and now my access combo boxes are not acting right. With win 10 I could start typing...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.