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:
- 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
- Click in the left-hand, black box where it says <element name="bncDocs"/>. A list pops up.
- Choose XML. A new window opens.
- 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.
- Click in the right-hand, red box. From the list that pops up you choose Edit and then Phrase. A Phrase Query box opens.
- Type your first word (or phrase) into the Phrase Query box and click OK. You are taken back to the Query Builder window.
- Click on the node pointing down from the box now containing your first word. A new, red box is created
- Click in the new red box. From the list that pops up you choose Edit and then Phrase. A Phrase Query box opens.
- Type your second word (or phrase) into the Phrase Query box and click OK. You are taken back to the Query Builder window.
- 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.
- Click on OK to execute the search.