add this bookmarking tool

Search for two words occurring in one sentence

To find sentences where two words co-occur although not necessarily next to each other you can use the Query Builder:
  1. From the File menu, choose New and then Query Builder (or click on the Query Builder icon that looks a bit like a 7). The Query Builder window opens
  2. Click in the left-hand, black box where it says <element name="bncDocs"/>. A list pops up.
  3. Choose XML. A new window opens.
  4. In the top of this XML window you see a list. Click on S to define that the scope of your query is within one sentence. Then click OK and you are taken back to the Query Builder window, where you now should see element name="s"/ in the black, left-hand box.
  5. Click in the right-hand, red box. From the list that pops up you choose Edit and then Phrase. A Phrase Query box opens.
  6. Type your first word (or phrase) into the Phrase Query box and click OK. You are taken back to the Query Builder window.
  7. Click on the node pointing down from the box now containing your first word. A new, red box is created
  8. Click in the new red box. From the list that pops up you choose Edit and then Phrase. A Phrase Query box opens.
  9. Type your second word (or phrase) into the Phrase Query box and click OK. You are taken back to the Query Builder window.
  10. Now click on the line connecting the two boxes. A list appears. Select Link type and then Two-way to define that the two words can occur in any order. The line now looks like a two-way arrow.Please note that due to a bug, this function may not work in all versions of Xaira. If your search times out, please try another option (for two-way co-occurrences, consider using the Collocation function).
  11. Click on OK to execute the search.

Up: Contents Previous: See non-verbal clues