hide tags (but allow tag search)

836 views
Skip to first unread message

Rob Troyer

unread,
Jan 1, 2012, 12:46:56 PM1/1/12
to ant...@googlegroups.com
Dear Laurence,
I've been using Antconc off and on for a few years for simple things, so many thanks.

Unfortunately, now I'm having some trouble using the "Hide tags (but allow tag search)" option to retrieve concordance lines--it's the first time I've worked with a tagged corpus in Antconc. I have a corpus that I POS tagged using the free version of CLAWS, so for example the word "thought" may appear as
   thought_VVD
   thought_VVN
   thought_NN1
   thoughts_NN2
      etc.

I have a list of verbs I am concordancing, so I use the advanced search window. If I paste my search terms in the form (for example):
   believ*_V*
   know*_V*
   knew_V*
   thought_V*
     etc.
and don't hide the tags, the concordance search works fine except that I'm left with all those messy tags on everything when I need to do manual editing of the lines.
However, when I select the "hide tags (but allow tag search)" option, I get no hits.
What I am doing wrong?

Thanks in advance,
Rob

Laurence Anthony

unread,
Jan 5, 2012, 9:19:16 AM1/5/12
to ant...@googlegroups.com

Hi Rob,

I just tested things here and there is no problem. See the attached screenshot, noting the number of blue-colored hits. I wonder if the problem is that when you paste in the lines, some invisible end-of-line information is also being added. Can you try again by typing a few search terms directly.

Laurence.
tags_search.png

Rob Troyer

unread,
Jan 10, 2012, 6:04:53 AM1/10/12
to AntConc-discussion
Hi Anthony,

Thank you for the reply. After changing some variables I found my
problem, and this may interest you, or maybe I just didn't read some
instructions.

1) If I type "verb" into the main Search Term box and then within
Advanced load my file of search terms with wild cards,
and search with global setting show tags,
I get the correct number of hits.

2) If I change the global setting to hide tags (but allow search),
I get no hits.

3) If within the Advanced search window I deselect "use the search
terms below" and then change what is in the main search term box to
"_" and then recheck the "use search terms below" box,
I get the correct number of hits.

I had assumed that whatever is typed in the main search term box
becomes arbitrary as soon as you check the "use search terms from the
list below" box in the Advanced search window. And this does appear to
be the case when searching under the global setting "show tags"--i.e.
I can type pretty much anything, "any word", "_" or "*" into the main
search term box and when I check use the terms below I get the correct
hits but only if I'm under the global setting show tags.

However, when you hide the tags (and I'm using the embedded tags,
i.e., word_tag), there must be an underscore in the main search term
box when the "use terms below" box is checked in advanced search.
Actually the first main search term I tried was "*_v*" but then I
tried eliminating characters until I found that as long as I had
underscore (_) in the main box in advanced, then I would still get all
the hits when the tags are hidden.

This seems logical from the programing perspective though not exactly
intuitive from the user perspective. Anyway, if I haven't been clear
enough in my explanation, let me know.
Thanks again,
Rob

Laurence Anthony

unread,
Jan 21, 2012, 11:18:45 PM1/21/12
to ant...@googlegroups.com
Hi Rob,

Sorry for the long, long delay. What you write is very interesting.
AntConc certainly isn't supposed to work like this. As you mention, when
you are using the file list search, the text in the regular search box
should be completely ignored. I just finished my last class of the 2011
academic year so I'm going to have a look at this now. If there is a
bug, I'll try and fix it in AntConc 3.3.0 before I upload that.
(Interestingly, you are the first person to mention this.)

Regards,
Laurence.

Jupp Möhring

unread,
Feb 19, 2012, 5:52:08 PM2/19/12
to AntConc-discussion
Hi,

I read through all the Tag-Posts and tried plenty of options, but
still have some issues with using tags in antconc. I have a corpus
tagged like word[tag], e.g.: nice[ADJE].

Can I make Antconc treating tags as if they would belong to a word? Let
´s assume, I´m using the wordlist fct and search for *[ADJE] than I
would get only adjectives in my wordlist, the most frequent on top? Or
is there a different solution by making the CORRECT Tag settings -
that I obviously didn´t figure out so far.

So, is it possible to look for collocations or clusters using tags?
E.g. *[VVER] with collocator *[ADJE] L2,R2 or something like this, to
find examples for pos-strings?

I was using WordSmith a lot and I´m excited to see the, how Antconc
works, thanks for doing all this great work!

Best wishes,

Jupp

Laurence Anthony

unread,
Feb 26, 2012, 12:18:46 PM2/26/12
to ant...@googlegroups.com
Hi Jupp,

I'm in the US right now, so I can't test things so easily but let me try and answer.


On Mon, Feb 20, 2012 at 7:52 AM, Jupp Möhring <jupp.m...@uni-leipzig.de> wrote:
Hi,

I read through all the Tag-Posts and tried plenty of options, but
still have some issues with using tags in antconc. I have a corpus
tagged like word[tag], e.g.: nice[ADJE].

Can I make Antconc treating tags as if they would belong to a word? Let
´s assume, I´m using the wordlist fct and search for *[ADJE] than I
would get only adjectives in my wordlist, the most frequent on top? Or
is there a different solution by making the CORRECT Tag settings -
that I obviously didn´t figure out so far.


You can add tags to a word by simply editing the token definition for a word. In your case, it would mean adding [  and ] to the token definition. However, the word list tool would still show all words (but they would now simply appear with tags added. If you wanted to get a tag list, I suppose you could preprocess the corpus to delete the words and keep just the tags, but there is no inbuilt way.

 
So, is it possible to look for collocations or clusters using tags?
E.g. *[VVER] with collocator *[ADJE] L2,R2 or something like this, to
find examples for pos-strings?


Yes, once tags are added to the word definition, you can do all regular searches.
 
I was using WordSmith a lot and I´m excited to see the, how Antconc
works, thanks for doing all this great work!

You're very welcome! (The tag features of AntConc have always been a little limited, but I hope to address this in the future. I use tagged corpora for all my work these days, so I really want to improve AntConc in this respect).

Laurence.


Jupp Möhring

unread,
Apr 3, 2012, 6:48:39 PM4/3/12
to AntConc-discussion
Thank you for the advice! It works!

On Feb 26, 10:18 am, Laurence Anthony <anthony0...@gmail.com> wrote:
> Hi Jupp,
>
> I'm in the US right now, so I can't test things so easily but let me try
> and answer.
>
> On Mon, Feb 20, 2012 at 7:52 AM, Jupp Möhring
> <jupp.moehr...@uni-leipzig.de>wrote:
Reply all
Reply to author
Forward
0 new messages