Here's how it's used:
* To address someone: Ya + name of the person (e.g., Ya Ali, يا علي)
* To address a group: Ya + noun indicating the group (e.g., Ya shabab, يا شباب - "O youth")
* To invoke something: Ya + noun indicating the thing invoked (e.g., Ya Rabbi, يا رب - "O Lord")
It can also be used in expressions:
* Ya Rabb: (يا رب) - "O Lord" (a common expression used for prayers)
* Ya 3ayni: (يا عيني) - "O my eyes" (used to express strong emotion, like sadness or joy)
It's important to note that "ya" is just a particle, and it doesn't have a standalone meaning like a word. It's used in conjunction with another word to address someone or something.