# A Data Driven Approach for Raw Material Terminology
## 3 Resource Preparation
### Adding New Serbian Terms to General Lexica Dictionaries
For each terminological phrase the following information is stored: minimum, average and maximum frequency of its components, number of \"known\" components-words recognized by SrpMD. Frequency in the corpus and the number of dictionaries that attest a term are the main criteria for post editing priority of the term. For this paper, extraction of Serbian terminological phrases was performed with a frequency threshold of 10, and 12,632 candidate phrases were produced in lemmatized form. Frequency of each terminological phrase was calculated as the sum of frequencies of all its inflected forms. For example, _'kvalitet uglia'_ (coal quality) has a frequency of 1110 as a sum of frequencies of its forms: _'kvalitet uglia'_ (172), _'kvaliteta uglia'_ (587), _'kvalitetom uglia'_ (284), _'kvalitetuglja'_ (53), _'kvalitete uglia'_ (8), _'kvalitetuglia'_ (2), _'kvalitetuglja'_ (4). Six most productive patterns, which produced 92% of candidates, are listed with examples and their frequencies:  
* NNgi (32%), N2X--a noun followed by a word that does not inflect in the terminological phrase. Usually this word is a noun in the genitive or in the instrumental case; examples are _'kvalitet uglia'_ (coal quality--1110), _'sistem upravljanja'_ (management system--902), _'procena rizika'_ (risk assessment--514). * AN (29%), AXN--an adjective followed by a noun; the adjective and the noun have to agree in all four grammatical categories; examples are _'povsinski kop'_ (open pit--5738), _'ugljeni sloj'_ (coal seam--1686), _'rudarski projekt'_ (mining project--1412). * NPrepNp (11%), N4X--a noun followed by two words that do not inflect in the terminological phrase where these word form a prepositional phrase; examples are _'zdarulje na radu'_ (occupational health--1323), _'cvstoca na smicanje'_ (shear strength--270), _'transporter sa trakom'_ (belt transporter--240). * N-N (10%), NXN--a noun followed by a noun that agrees with it in number and case, where the separator can be a hyphen; examples are _'gas-lift'_ (197), _'blok diagram'_ (block diagram--192), _'bager verdricar'_ (bucket excavator--174). This class had the largest number of recognized phrases for rejection, that is, those whose slightly different lemmas were already captured by another pattern, and this pattern should thus be placed with some lower priority in disambiguation. * X-N (6%), 2 XN--a noun preceded by a word that does not inflect in the terminological phrase. Usually it is a word that is used only in one or few terminological phrases, a prefix or an adverb derived from an adjective, while the separator can be a hyphen; examples are _'bto sistem'_ (bto system--1728), _'pm preduzeee'_ (pm company--373), _'y-osa'_ (y-axis--19). * NNgiNiSgi (4%), N4X--a noun followed by two words that do not inflect in the terminological phrase where these two words are adjectives/nouns in the genitive or instrumental case; examples are _'zastita zivotne sredite'_ (environment protection--668), _'eksploatacija mineralnih sirovina'_ (mineral resource exploitation--228), _'efekat staklen baste'_ (greenhouse effect--109). Evaluation follows, where the following is checked: is the extracted candidate a terminological phrase, which domain (mining, technical, etc.) and possibly subdomain it belongs to. If the domain or subdomain are identified, the appropriate semantic markers are assigned to the terminological phrase. After the evaluation process, all correctly evaluated terminological phrases were prepared for insertion into the terminological database Termi.