Help with search options using corpus annotation/mark up

171 views
Skip to first unread message

Luciana Carvalho

unread,
Jun 9, 2014, 1:55:02 PM6/9/14
to ant...@googlegroups.com

​Dear Laurence and All,

​I'm a PHD candidate at the University of São Paulo, and I'm using AntConc to investigate a corpus of Brazilian and American/Australian/British birth stories.​

I am relatively new to AntConc, so despite of doing well with the main tools, there are subtleties I still need to learn and find out about.

Therefore, I have a question about tags in an annotated corpus
​:
 Can
​tags 
be used to select parts of the text which
​I 
would like to search?

Let me explain:

​All my texts have been
​marked 
in the following way:


​<header>  
<vbac> 1 </vbac>
<author> Jana Llewellyn </author>
<datestory> 00000000 </datestory>
<datebirth> 27092011 </datebirth>
<license> ND </license>
<words> 1935 </palavras>
</header>

<birthstory>  

<csection> ​ 
<
​/​
csection>

</birthstory>  


Where
​ the interval between​
:
​​
<header>
and <
​/​
header> 
contains info on the text
Where
​ 
 the interval between
:
​​
<birthstory>
and 
<
​/​
birthstory>
​ ​
shows where the text starts/finishes
Where
​ 
 the interval between
:
​​
<csection>
​and ​
<
​/​
csection>
​ ​
shows where the author talks about her previous csection experiences.

Having said that, ​I would like to know:

1) whether I could exclude everything between <header> and </header>​, from my queries

2)  whether I could search all documents, but only text  between <birthstory> and </birthstory> (the whole of the text)

3) whether it would be possible to search all documents but only the segments within <csection> and </csection> (part of the text in which authors recount their csection experience), which, in turn, are within <birthstory> and </birthstory>.

I hope I was clear enough! :-)

best,
Luciana



Curta nossa página e acompanhe notícias sobre Law, Language & Culture! http://www.facebook.com/tradjuris






Laurence Anthony

unread,
Jun 9, 2014, 2:47:49 PM6/9/14
to ant...@googlegroups.com
Luciana,

You can achieve 1) by simply stating the start and end of the header in the Global Settings->Tag Settings menu option. Once you have achieved 1), the results will only be from the body of the text, so you will have achieved 2). 3) is more difficult and cannot be achieved in AntConc right now. It's something that I've wanted to add for a long time. For 3), a rough way is to add the tag to the context menu of the advanced search with a suitable context window size. Alternatively, you could search for the tag followed by zero of more words followed by your search term followed again by zero or more words using something like the following:

<csection>@@@@@my search term@@@@@</csection>

I hope that helps!

Laurence.



###############################################################
Laurence ANTHONY, Ph.D.
Professor
Center for English Language Education in Science and Engineering (CELESE)
Faculty of Science and Engineering
Waseda University
3-4-1 Okubo, Shinjuku-ku, Tokyo 169-8555, Japan
E-mail: antho...@gmail.com
WWW: http://www.antlab.sci.waseda.ac.jp/
###############################################################


--
You received this message because you are subscribed to the Google Groups "AntConc-discussion" group.
To unsubscribe from this group and stop receiving emails from it, send an email to antconc+u...@googlegroups.com.
To post to this group, send email to ant...@googlegroups.com.
Visit this group at http://groups.google.com/group/antconc.
For more options, visit https://groups.google.com/d/optout.

Luciana Carvalho

unread,
Jun 10, 2014, 1:45:04 PM6/10/14
to ant...@googlegroups.com
Dear Laurence,

Thank you very much for your prompt reply! It certainly does help!

warm regards,
Luciana
Reply all
Reply to author
Forward
0 new messages