[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [seul-edu] Re: perl or......

On Sun, 3 Dec 2000, Ray Olszewski wrote:
> Others have already responded that "grep" will do this for you. But the
> output of grep will be fairly crude and hard to interpret. A more detailed
> description of what you want to accomplish might lead to better, more
> focused feedback.
> Please do not misunderstand me: the other suggestions are correct.I just
> suspect they will not do the unstated thing that you really want to accomplish.
> For example, take "ped". It is a root in "orthopedic" but not in "slapped".
> It takes more than grep to make that distinction; it takes a lot of design
> work, and I don't know of anything in the free/Open Source software world
> that operates at that level of sophistication. 

Considering that the number of prefixes and suffixes is limited:
ortho, meta, hyper, in, ex, des, un, dis, anti, mis,...

It's not very difficult to design a (python) script that by
simple "brute" "force" guesses it. 

www.ctv.es/USERS/irmina    /TeEncontreX.html   /texpython.htm
/pyttex.htm /cruo/cruolinux.htm ICQ:77697936 (sirve el ICQ para algo?)