I know SFA about NLP, but I'd imagine that Perl would
be quite suitable: it has excellent text segmentation
support, which I'd guess would be useful. (Although I'd
think semantic structure would be more important than
text chunking... argh. Too much image processing in
As far as Perl's "suitability" goes: Perl's really
good for hashing out proof-of-concept code and dealing
with text, which would (likely) make it good for some
aspects of AI programming. By the same token, Lisp is
good for, say, genetic programming (since its code/data
separation is even thinner than Perl's), Prolog's good
for planning/reasoning (because its logical syntax
makes encoding knowledge easier), and C's good for
search-based and general number-crunching (neural nets,
anyone?), because, well, you can write some bloody fast
In my (limited) experience, a lot of AI involves a
lot of number crunching, which Perl isn't so good at.
(Not that it can't crunch numbers, but it can't crunch
them fast enough. And let's face it: you're going to
be a happier camper if your program takes one second
to run than if it takes five minutes, especially when
you're tweaking parameters.) I'd be most likely to
write a prototype in Perl (provided Lisp, Prolog, and
Haskell are unsuited for the job), make sure that I'm
on the right track, then recode in C for the efficiency
win. As always, YMMV.
Posts are HTML formatted. Put <p> </p> tags around your paragraphs. Put <code> </code> tags around your code and data!
Read Where should I post X? if you're not absolutely sure you're posting in the right place.
Please read these before you post! —
Posts may use any of the Perl Monks Approved HTML tags:
You may need to use entities for some characters, as follows. (Exception: Within code tags, you can put the characters literally.)
- a, abbr, b, big, blockquote, br, caption, center, col, colgroup, dd, del, div, dl, dt, em, font, h1, h2, h3, h4, h5, h6, hr, i, ins, li, ol, p, pre, readmore, small, span, spoiler, strike, strong, sub, sup, table, tbody, td, tfoot, th, thead, tr, tt, u, ul, wbr
Link using PerlMonks shortcuts! What shortcuts can I use for linking?
See Writeup Formatting Tips and other pages linked from there for more info.
| & || & |
| < || < |
| > || > |
| [ || [ |
| ] || ] ||