* If it's a noun meaning "wise woman" in Portuguese, it does not have an accent: sabia
* If it's the third-person singular preterite (past tense) of the verb "saber" (to know) in Spanish, it does have an accent: sabía
Therefore, you need to consider the language and the grammatical function of the word to determine if an accent is needed.