Re: [antconc:201] bug in "Advanced Search" in concordance? (bug in "Advanced Search" in wordlist?)

66 views
Skip to first unread message

Warren Tang

unread,
Sep 7, 2011, 12:45:37 AM9/7/11
to ant...@googlegroups.com
I understand now. But that would mean I would lose the 'time' keyword from the centre.

But say I want 'time' as the keyword (KWIC). and the words 'spend', 'spends', 'spent' and 'spending' as the other context search types in a range of 5L to 1L.

'spending a lot of time'
'spent some time'
'spends most of his time'
'spend some time'

The Advanced Search loading a file of {spend} with the context word as 'time' will yield me the lines but that would put the term {spend} as the KWIC. And a simple regex search using 'spend*@@@@time' will again get me the concordance lines but again I cannot have the term 'time' in the KWIC slot.

Any solution for this in Antconc?


Warren

Laurence Anthony

unread,
Sep 7, 2011, 10:50:54 PM9/7/11
to ant...@googlegroups.com
On Wed, Sep 7, 2011 at 1:45 PM, Warren Tang <theor...@gmail.com> wrote:
I understand now. But that would mean I would lose the 'time' keyword from the centre.

But say I want 'time' as the keyword (KWIC). and the words 'spend', 'spends', 'spent' and 'spending' as the other context search types in a range of 5L to 1L.

'spending a lot of time'
'spent some time'
'spends most of his time'
'spend some time'

The Advanced Search loading a file of {spend} with the context word as 'time' will yield me the lines but that would put the term {spend} as the KWIC. And a simple regex [correction => wildcard] search using 'spend*@@@@time' will again get me the concordance lines but again I cannot have the term 'time' in the KWIC slot.


Any solution for this in Antconc?

Hi Warren,

I think what you are suggesting is basically a limited Concgrams kind of feature. This *would* be possible in AntConc if the context search accepted wildcards. Then, you would be able to specify 'spend*' as the wildcard and search for 'time'. This would give you the results you want. But, AntConc does not allow this yet. In fact, someone else asked for the same feature. Others have asked for a full-blown Concgrams feature.

Let me look at the code and see how easy it would be to implement. I'll report back here what I find.

Regards,
Laurence.

Warren Tang

unread,
Oct 12, 2011, 6:56:38 AM10/12/11
to AntConc-discussion
Laurence,
Yes, what I am asking is in fact for what ConcGram does. Why I ask is
because I want to have consistant counts from the AntConc wordlists to
the ConcGram (programs differ in their counts for various reasons).
But I guess I can be contented with that if making one is a lot work.
While I have tried my hand at perl with some success it doesn't seem
to me it would be something I can do (it doesn't look so easy) so I
think we should be happy to have ConcGram around (although it isn't
free).


Cheers,
Warren

Laurence Anthony

unread,
Oct 12, 2011, 8:22:01 AM10/12/11
to ant...@googlegroups.com
Now that my big recoding of the AntConc interface is basically finished (see Version 3.3.0), I can have a more serious look at this feature. It doesn't seem that difficult to implement but the results might be slow to generate with the current database structure that I use. Please be patient!

Laurence.

Reply all
Reply to author
Forward
0 new messages