Parsing inflected forms may not always work as expected. If the following does not give the correct word, try Latin Words or Perseus.
Pergămis, ĭdis, f., a city in Epirus, Varr. R. R. 2, 2.