Finding Language Objects in Teneo Studio
Language objects and entities (a special case of language objects) are useful building blocks when creating conditions. On this page we will refer to language objects and entities as language objects for simplicity. To use them you have to know how to find them in Teneo. This page will illustrate three ways of finding language objects and they all apply to both, language objects that come with Teneo Lexical Resources and the ones you have created yourself.
In Teneo, you can find language objects using:
- the auto-complete function
- marking and searching
- the search interface
If you already know that a certain language object exists and you (at least vaguely) remember its name, you can simply start typing the language object’s name in a language condition. Just remember that all language object names start with ‘%’. Once you have typed a few letters, press Ctrl + Space. This opens a drop-down menu which displays all available language objects (from both the TLR and your locally created ones) that start with the letters you have typed so far.
If the list of proposed language objects is too wide, simply continue typing the language object name and the list will narrow down. You can hover over each proposed language object in order to know what it covers without having to open it. This helps you to decide whether it is the right candidate for your current purpose. Once you found the desired language object, simply click on it and it will be added to the condition.
Mark and Search
This search strategy is similar to the first one, but it is more flexible and powerful:
- you don’t need to type ‘%’
- you can type more than one word (well suited to find more complex language objects like phrases)
- what you type matches not only language object names but also the words the language objects cover
This is how you proceed:
- type one or more words in a language condition
- mark the word(s) and press Ctrl + Space
- hover over the language objects in the result list to find the one that fits best
- select the desired language object from the result list
Sometimes you may not know the name of a language object or you may want to search for language objects of a certain kind (for example language objects covering phrases). In such cases, you can use Teneo’s search interface. Here, you may enter either complete language object names, parts of them or simply object type suffixes. Unknown parts can be replaced with an asterisk *.
If you click on the search symbol, only language objects which have been stored locally in the current solution will be searched. But, opening the drop-down menu under the ‘Search’ button allows you to broaden and customize your search: for example, you can search for phrase language objects (*PHR) that have been defined in the current solution or any of its associated lexical resources.
Try it out!
That’s it! If you’re curious to find out more about language objects, you’re now all set to give it a go and find them!
Extra challenge for the brave!
Try to find out how many language objects names of the TLR contain the word “coffee”! (hint: in the search interface, more than one part may be unknown!)
Feeling extra brave? Then why not go on and try to find all language objects of the TLR that cover the word “coffee”?