上下文

shàngxiàwén
noun #30,907

Meanings

  1. 1 context (textual)
  2. 2 the surrounding text
  3. 3 context (in computing)

Examples

HSK 7-9
Qǐng gēnjù shàngxiàwén cāi cíyì.
Please guess the meaning of the word from the context.
HSK 7-9
Zhè jù huà tuōlí shàngxiàwén jiù bùhǎo lǐjiě.
This sentence is hard to understand out of context.

Tips

memory
Literally "upper-lower text" - the text above and below. That is exactly what "context" means etymologically (Latin con-textus, "woven together").
usage
In computing/linguistics 上下文 is the standard term for "context" - context-free grammar (上下文无关文法), context window of an LLM (上下文窗口), execution context. For broader "situational context," 语境 is more common.

Stroke Order

shàng
xià
wén