Search for two words occurring in one sentence
To find sentences where two words co-occur although not necessarily next to each other:
- 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 <bncDocs>. A new box pops up.
- Choose SGML. A new window opens.
- In the top of this SGML 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
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. The line now looks like a two-way arrow.
- Click on OK to execute the search.
Up: Contents Previous: Search for a phrase in texts from a specific domain Next: Find collocations