Simple Text Search

Use Simple Text Search to search the TLG corpus for a single word, a lemma, a text string, or a phrase. You may search the full corpus or limit the search to authors and works previously selected in the Canon.

Word Index

Searches the pre-indexed list of words in the corpus. This is usually the fastest choice when you know the wordform you want.

Lemma

Searches for a dictionary headword and retrieves the wordforms associated with that lemma.

Textual

Searches the text files character by character for a string or phrase. It is more flexible, but usually slower.

1. Open Simple Search

Open Text Search from the site menu. The page initially displays a Search button.

Text Search landing page
Figure 1. Text Search landing page

Select Search. The Simple, Proximity, and Advanced Proximity tabs appear. Simple is selected by default.

Simple Text Search panel
Figure 2. Simple Text Search panel

2. Choose a search type

Type Use it when Behavior
Word Index You know the exact or approximate wordform. Searches the indexed vocabulary of the corpus. Accents and punctuation are normally ignored.
Lemma You want all forms associated with a dictionary headword. Searches the lemma database. If a lemma is absent, use Word Index or Textual Search.
Textual You need to search for a string, phrase, punctuation, or material not represented in the indexes. Searches the text files directly and may be slower.
Tip: Start with Word Index for a known form, use Lemma for inflected forms, and use Textual when exact spacing or punctuation matters.

3. Enter a word or lemma

Choose an input method, enter the word or lemma, and select Go.

When Lemma is selected, matching lemmata appear as you type. Select the intended lemma before running the search.

Lemma autocomplete
Figure 4. Lemma autocomplete

4. Refine the search

Option What it does
Case Sensitive Distinguishes uppercase and lowercase characters.
Exact Match Searches for the exact string entered. Available for Word Index and Textual Search.
Diacritics Sensitive Requires Greek diacritics to match.
Wildcard Interprets supported wildcard patterns. Available for Word Index and Textual Search.
Non-alphabetic characters Allows searches containing Beta Code escapes and other non-alphabetic characters.
Adscript as subscript Treats unambiguous iota adscript forms like iota subscript forms.
Textual Search options
Figure 5. Textual Search options

5. Choose an input method

The Input menu supports Greek, Beta Code, and transliteration. A virtual Greek keyboard is also available.

Input menu and virtual keyboard
Figure 6. Input menu and virtual keyboard
Accessibility note: The virtual keyboard supplements standard keyboard input and should not be the only way to enter Greek.

6. Review and refine the results

Results appear in the center of the page, with the matching form highlighted in context. The sidebar may show result counts, matching forms, author filtering, and morphology information.

Word Index results
Figure 3. Word Index results
  • As a List displays passages in sequence.
  • Per Word groups results by wordform.
  • By Author groups or filters results by author.

The action icons allow users to save, export, or print results. The booklet and magnifying-glass controls next to individual results provide bibliographic and text-level access.

Important: Large searches can return many results. Use the sidebar to deselect unwanted forms or limit the search to an author.

7. Wildcard searches

Wildcard searching is available in Word Index and Textual Search. Enable Wildcard before using these patterns.

Show common wildcard examples
Purpose Pattern
Find a string anywhere ANA
Find a string at the beginning ^ANA
Find a string at the end ANA$
Find an exact indexed word ^ANA$
Match A or E AN[AE]DU
Match either complete alternative ANADU|ANEDU
Match any character .
Match an optional group (AN)?EDU
Match a digit [0-9]
Match one or more digits [0-9]+

Special Beta Code characters such as ( ) / \ | + should be escaped with a backslash when intended literally.

8. Search for a phrase

A phrase may be entered directly in Simple Search. Word Index is efficient for indexed phrases. Textual Search is useful when exact spacing and a longer sequence must be preserved.

Tip: In Textual Search, include spaces before and after a phrase when you need to prevent the first or last element from matching inside a longer word.