Jump to content

Using STYLE command with tagging


syardney

Recommended Posts

I want to run a search that will find every instance of a particular part of speech (in this case, nouns) that I've marked with a particular highlight style, but I can't figure out how to use the STYLE command together with grammatical tags. Accordance will find every noun in a text, or it will find every instance of my highlight style, but I want to find the overlap between those two categories.

 

Can anyone help?

 

Thanks,

Sarah

Link to comment
Share on other sites

Have you tried something like this:

 

 [TAG Noun] <AND> [sTYLE Name_of_Highlight] 

Link to comment
Share on other sites

Have you tried something like this:

 

 [TAG Noun] <AND> [sTYLE Name_of_Highlight]

 

I have, and it finds me every verse that has both a noun and an instance of my highlight, which is not what I want. 

Link to comment
Share on other sites

Strange. Do you mean every verse that has a noun OR your highlight style? I’m getting the right results using this search.

 

Can you share a screenshot?

Edited by jarcher
Link to comment
Share on other sites

Theoretically what you want is :

 [TAG Noun] @ [sTYLE Name_of_Highlight]

 

This would apply the two criteria to the one word rather than the same verse which is what <AND> does, but I don't know if that actually runs because I won't know if it's supported.

 

Thx

D

Link to comment
Share on other sites

Daniel, yes, in theory that is exactly what I want. Unfortunately that search doesn't run. I get an error message that "The @ character cannot be used here."

 

jarcher, screen shot attached. The <AND> command is doing exactly what I expect it to do. See Accordance Help: "X <AND> Z finds verses where X and Z are both present."

post-33267-0-33483800-1529087705_thumb.png

Edited by syardney
Link to comment
Share on other sites

I am afraid that [sTYLE] is supported only at a verse level, not at a word level, so it picks up all verse that have that style applied anywhere in the verse. You could create a different style for each case, but you cannot combine Style with a criterion for a word.

Link to comment
Share on other sites

Helen, I'm sorry to hear that, but thank you for the information. Saves me banging my head against a brick wall any longer :)

Link to comment
Share on other sites

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now
×
×
  • Create New...