Regex for Absolute Phrases

132 views
Skip to first unread message

Carrie Ott

unread,
Apr 13, 2015, 11:37:44 AM4/13/15
to ant...@googlegroups.com
I made sure to search the forums for topics about absolute phrases before posting here, but it seems there are none. Any help would be appreciated!

I'm trying to use AntConc to dig out absolute phrases -- that is, a noun (often) followed by a participle/participle phrase (can be both -ed and -ing verbs, though sometimes there is no verb) and any modifiers. For example, "Her arms folded across her chest," etc etc. I don't really have a good idea of where to start on this. In COCA notation, things like this might appear in forms like "her [j*] [nn*] [r*] [v?n*]" (her adjective noun adverb past participle).

Any thoughts?

Laurence Anthony

unread,
Apr 13, 2015, 11:56:17 AM4/13/15
to ant...@googlegroups.com
Hi Carrie,

Is you data tagged? If so, you can basically search for it in the same way you search within COCA using *_TAG or WORD_* syntax.

Laurence.

--
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.

Carrie Ott

unread,
Apr 14, 2015, 9:11:41 AM4/14/15
to ant...@googlegroups.com
Hello! Yes, it's tagged (through TagAnt), but either my regex doesn't pull what I'm looking for or it just brings up individual letters and not the tags (as if it's doing a Ctrl+F like you would in Word). I've never had these problems with it before, so I'm a little baffled. I'm sure I'm just doing something stupid (although I do have the box for regex checked!). 

Laurence Anthony

unread,
Apr 14, 2015, 1:57:39 PM4/14/15
to ant...@googlegroups.com
Hi,

What is the regex that you are using?

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.laurenceanthony.net/
###############################################################

Carrie Ott

unread,
Apr 14, 2015, 2:57:42 PM4/14/15
to ant...@googlegroups.com
Originally I was trying to do big long things, but when they weren't working I just narrowed it down to simple things like NP or NN by themselves (in brackets). When that didn't work I tried inserting other symbols like the wildcard * and underscores. I'm probably just formatting them wrong.

Laurence Anthony

unread,
Apr 14, 2015, 3:42:00 PM4/14/15
to ant...@googlegroups.com
Remember that AntConc has two different search engines. A simple (default) one uses *, @ etc as wildcards. The more powerful one is Regex. Regex works completely differently so you should check the syntax for it.

*_TAG would be for default searches

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.laurenceanthony.net/
###############################################################

Carrie Ott

unread,
Apr 14, 2015, 5:30:14 PM4/14/15
to ant...@googlegroups.com
Hello! Yes, I've tried the tag method regex, but it's bringing up individual letters as results. For example, if I do *_NN it finds all occurrences of _ or N. 

Laurence Anthony

unread,
May 2, 2015, 2:41:00 AM5/2/15
to ant...@googlegroups.com
Hi,

Following this thread, your data seems messed up or you are not searching with the correct options selected. I suggest you go back and watch my YouTube video on working with tagged data.


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.laurenceanthony.net/
###############################################################

Reply all
Reply to author
Forward
0 new messages