Hi there,
I am trying to develop a PHP-KWIC (gkey word in contexth) web page. Please have a look at http://133.12.37.60/kwic/kwic-eng.html .
As you can see, $keyword comes in context at the center of the lines. It was pretty easy to do this with a standard split function, but how can I get the same result when the $keyword is a regular expression?
I would also like to know about libraries related to string manipulation, word frequencies, sorting, etc. Is there anybody interested in helping me to develop these types of (web version) tools useful in the field of Corpus Linguistics?
Many thanks in advance for your help,
Antonio