Entry
How can I do simple natural language processing with PHP?
How can I parse queries to remove natural language?
May 16th, 2000 23:24
Nathan Wallace, Michael Dearman, Steve Edberg
Take a look at the perl regular expression support. The preg's. 'THE'
ref on regular expressions (IMHO) is Jeff Friedl's "Matering Regular
Expressions", O'Reilly. A most 'unnatural' language. But, that'd be one
possibility.
And, to add my .02 intergalactic creds:
I second the recommendation for Freidl's 'Mastering Regular
Expressions', avaliable from O'Reilly. While it focuses mostly on
Perl-style regexes (implemented in PHP's preg_...() functions; see
http://www.php.net/manual/ref.pcre.php), it also briefly covers the
POSIX-style expressions used in PHP's ereg_...() functions
(http://www.php.net/manual/ref.regex.php).
For other natural-language processing tools, check out the list
http://www-a2k.is.tokushima-u.ac.jp/member/kita/NLP/nlp_tools.html
or the 'Unix for Linguists' page at
http://www-personal.umich.edu/~jlawler/routledge/regex.html
For more links, just run the AltaVista query
http://www.altavista.com/cgi-bin/query?sc=on&hl=on&kl=XX&pg=q&text=yes&q=%2B%22regular+expressions%22+%2Blinguistic*