Mailing List Archive
tlug.jp Mailing List tlug archive tlug Mailing List Archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]Re: [tlug] a japanese dictionary: regex v. db query
- Date: Tue, 4 Apr 2006 17:12:42 +0200
- From: "David Stibbe" <dstibbe@example.com>
- Subject: Re: [tlug] a japanese dictionary: regex v. db query
- References: <442EADBF.3060701@example.com> <a2588e100604010926o733cdc7en57335349dac956a8@example.com> <aaa8c4580604011516m6605d116j3df1fb29deabb94b@example.com> <a2588e100604031616v60663498qdb3d3d03bed3a3f6@example.com> <4432084F.6050400@example.com> <87u099h8rt.fsf@example.com> <20060404103045.507444eb.jep200404@example.com>
I can not think of how to express "all characters with 16 strokes"
in the present schemes of regexes as I know them.
Regex was designed for romaji script... a simple 'extension' could cure it from that. And fail to see what isn't simple about regex's ^_^The complement, regexes in database queries already exists.So one has classic tradeoffs. One can extend regexes to
Database query-languages most of the time are not really regular expressions...
(perhaps poorly) do what databases do well. Or one can use
databases that can handle regexes in their queries.
To looking for all the 16 stroke characters in a document,
I would want a regex. For a dictionary, a database would
probably be fine.
Since I'm planning on creating a dictionary tool (I believe I pointed this out several times), the search method is certainly relevant and a regexp would most definitely be welcome as an addition to the traditional search methods.Which brings us back to Stibbe's interest: a Japanese dictionary.
Extending regexes to handle attributes would likely be a
significant project in its own right, so Stibbe might want
to stick to the tools presently available.
I.e., a database.
You are mixing up methods with resources. A database is the resource, the regexp or db-query is the method to obtain data from it.
I'm not creating a database (Jim Breen and other folks have already been so kind to create several big dictionary files that can be used aas databases); I'm creating database search functionality.
Kind regards,
David
- References:
- [tlug] a japanese dictionary
- From: David Stibbe
- Re: [tlug] a japanese dictionary
- From: dabicho
- Re: [tlug] a japanese dictionary
- From: Michael Engel
- Re: [tlug] a japanese dictionary
- From: dabicho
- Re: [tlug] a japanese dictionary
- From: David Stibbe
- Re: [tlug] a japanese dictionary
- From: Stephen J. Turnbull
- [tlug] a japanese dictionary: regex v. db query
- From: Jim
Home | Main Index | Thread Index
- Prev by Date: [tlug] a japanese dictionary: regex v. db query
- Next by Date: Re: [tlug] Unusual Character entry
- Previous by thread: [tlug] a japanese dictionary: regex v. db query
- Next by thread: Re: [tlug] a japanese dictionary: regex v. db query
- Index(es):
Home Page Mailing List Linux and Japan TLUG Members Links