We deal here with interjections like yes, no and please and their foreign-language equivalents.
When forming a complete utterances by themselves, these have category S[intj]:
| 
 | 
 | ||||||
| S[intj] < 0
 | |||||||
Likewise if they appear as the object of a speech verb (treat them as direct speech even if there are no quotation marks):
| 
 | 
 | |||||||||||||
| S[b]\NP < 0
 | ||||||||||||||
If they appear next to a another sentence, VP, or NP, treat them as modifiers:
| 
 | 
 | ||||||
| S[b]\NP > 0
 | |||||||
| 
 | 
 | ||||||||||||||||||||||||
| NP < 0
 | |||||||||||||||||||||||||