Version française
Home     About     Download     Resources     Contact us    

This site is updated infrequently. For up-to-date information, please visit the new OCaml website at

Browse thread
[Caml-list] Simple full-text search dictionary
[ Home ] [ Index: by date | by threads ]
[ Search: ]

[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
Date: 2002-09-24 (17:04)
From: Kontra, Gergely <kgergely@m...>
Subject: [Caml-list] Simple full-text search dictionary

I want to implement a simple *full-text* search dictionary.
I have a textfile with a list of the words.

The main question of mine is how can I (easily) collect words, that
match a regexp. I've found Str.search_forward, but this is seems
complicated when using with List.filter (raises Exception...).

Another question, whether to store the dictionary in a say: list or
not. If yes, how to fill the list efficiently.


+-[Kontra, Gergely @ Budapest University of Technology and Economics]-+
|         Email:,          |
|  URL:    Mobile: (+36 20) 356 9656     |
+-------"Olyan langesz vagyok, hogy poroltoval kellene jarnom!"-------+
Magyar php mirror es magyar php dokumentacio:

To unsubscribe, mail Archives:
Bug reports: FAQ:
Beginner's list: