Version at: 28/10/2013, 08:46
#How to Search for Text
## Briefly, ...
To get English sentences with "live", "lives", "living" or "lived" you can search English using just the word "live".
[live](http://tatoeba.org/eng/sentences/search?query=live+&from=eng&to=und)
To get exact matches, you need to use an equals sign (=) before a word.
[=live](http://tatoeba.org/eng/sentences/search?query=%3Dlive+&from=eng&to=und)
There is no way to search for phrases, but you can include multiple words with an equals sign (=) in front of each word. The order of the words doesn't matter.
The following search will find sentences with the phrase "live in Boston".
[=in =Boston =live](http://tatoeba.org/eng/sentences/search?query=%3Din+%3DBoston+%3Dlive+&from=und&to=und)
If you also want to see phrases like "living in Boston" or "lives in Boston", just remove the equals sign (=) in front of the word "live".
## More Details
Each page on Tatoeba features a box that allows you to search for text within the collection of sentences. The search will only find sentences that have been indexed by a script that is run every few months. Sentences that have been added more recently will not appear in the results. However, you can find the latest sentences added by a particular user (perhaps yourself), either by looking at the user's profile and selecting "Show latest activity" or by going to an address like [http://tatoeba.org/eng/sentences/of_user/trang](http://tatoeba.org/eng/sentences/of_user/trang) (where you replace "trang" with the name of the user whose sentences you want to see).
The search engine used on Tatoeba is Sphinx. In many languages, including English, Sphinx **stems** the search words by default. This means that it removes certain trailing sequences from both search words and indexed words. Thus a search for *pare* will also find *pared* and *paring*.
If you want to find an exact match for a word, you must precede it with an equals sign, as in *=pare*. This may come as a surprise to users who are accustomed to Google Search, where wrapping a word or phrase in double quotes forces an exact match. In Sphinx, double quotes have a different function, which only affects multiword (phrase) searches: wrapping a phrase in double quotes requires matching sentences to contain words in the specified continuous sequence. Simply placing a phrase in quotes does not suppress stemming of its individual words. To do that, you will need to place an equals sign before each word in the phrase for which you want to suppress stemming.
As an example, take the search *like thing*. This will find *like things*, *likely things*, and even *things like*. Adding quotes, as in *"like thing"*, will prevent a match against *things like* (where the words appear in the wrong order), but it will continue to match *like things*, *likely things*, and so on. By contrast, *"=like =thing"* will only match *like thing* (which does not occur in the Tatoeba corpus). Removing the double quotes, *=like =thing*, will match *What made you do a silly thing like that?* Removing one of the equals signs, as in *like =thing*, will find *Such a strange thing is not likely to happen.*
You may be interested in other features, such as the following:
* A vertical bar finds examples where either of the words appears:
*hate | detest* will match sentences with either *hate* or *detest* (or both)
* A dash (or exclamation point) before a word prevents matches with sentences where the word appears: *like -thing* (or *like !thing*) will match *I like ice cream* but not *I like that red thing*.
See the [Sphinx documentation](http://sphinxsearch.com/docs/current.html#boolean-syntax) for other functionality. Note that keywords pertaining to specific fields in a document are not relevant to Tatoeba.
version at: 28/10/2013, 22:04
#How to Search for Text
## Briefly, ...
To get English sentences with "live", "lives", "living" or "lived" you can search English using just the word "live".
[live](http://tatoeba.org/eng/sentences/search?query=live+&from=eng&to=und)
If you only want exact matches, you need to use an equals sign (=) before a word.
[=live](http://tatoeba.org/eng/sentences/search?query=%3Dlive+&from=eng&to=und)
To search for a particular sequence of words, include double quotes around the phrase. Put an equals sign (=) in front of each word if you want each word to be matched exactly. The following search will find sentences with the exact phrase "live in Boston".
["=live =in =Boston"](http://tatoeba.org/eng/sentences/search?query=%22%3Dlive+%3Din+%3DBoston%22&from=eng&to=und)
If you also want to see phrases like "living in Boston" or "lives in Boston", just remove the equals sign (=) in front of the word "live":
["live =in =Boston"](http://tatoeba.org/eng/sentences/search?query=%22live+%3Din+%3DBoston%22&from=eng&to=und)
## More Details
Each page on Tatoeba features a box that allows you to search for text within the collection of sentences. The search will only find sentences that have been indexed by a script that is run every few months. Sentences that have been added more recently will not appear in the results. However, you can find the latest sentences added by a particular user (perhaps yourself), either by looking at the user's profile and selecting "Show latest activity" or by going to an address like [http://tatoeba.org/eng/sentences/of_user/trang](http://tatoeba.org/eng/sentences/of_user/trang) (where you replace "trang" with the name of the user whose sentences you want to see).
The search engine used on Tatoeba is Sphinx. In many languages, including English, Sphinx **stems** the search words by default. This means that it removes certain trailing sequences from both search words and indexed words. Thus a search for *pare* will also find *pared* and *paring*.
If you want to find an exact match for a word, you must precede it with an equals sign, as in *=pare*. This may come as a surprise to users who are accustomed to Google Search, where wrapping a word or phrase in double quotes forces an exact match. In Sphinx, double quotes have a different function, which only affects multiword (phrase) searches: wrapping a phrase in double quotes requires matching sentences to contain words in the specified continuous sequence. Simply placing a phrase in quotes does not suppress stemming of its individual words. To do that, you will need to place an equals sign before each word in the phrase for which you want to suppress stemming.
As an example, take the search *like thing*. This will find *like things*, *likely things*, and even *things like*. Adding quotes, as in *"like thing"*, will prevent a match against *things like* (where the words appear in the wrong order), but it will continue to match *like things*, *likely things*, and so on. By contrast, *"=like =thing"* will only match *like thing* (which does not occur in the Tatoeba corpus). Removing the double quotes, *=like =thing*, will match *What made you do a silly thing like that?* Removing one of the equals signs, as in *like =thing*, will find *Such a strange thing is not likely to happen.*
You may be interested in other features, such as the following:
* A vertical bar finds examples where either of the words appears:
*hate | detest* will match sentences with either *hate* or *detest* (or both)
* A dash (or exclamation point) before a word prevents matches with sentences where the word appears: *like -thing* (or *like !thing*) will match *I like ice cream* but not *I like that red thing*.
See the [Sphinx documentation](http://sphinxsearch.com/docs/current.html#boolean-syntax) for other functionality. Note that keywords pertaining to specific fields in a document are not relevant to Tatoeba.