snippet

/ˈsnɪpɪt/
片段

I read a snippet of the article before deciding to buy the book.

我在决定买书之前读了文章的一个片段。


neutral

一小段话、文章或对话

The podcast shared a snippet of the interview with the famous scientist.

播客分享了与那位著名科学家访谈的一个片段。

She quoted a snippet from Shakespeare’s play in her essay.

她在论文中引用了莎士比亚剧作中的一小段。

常用于指代书籍、文章、演讲、对话等的简短摘录部分。

科技
技术

(计算机)代码片段

The developer copied a snippet of code from the tutorial to use in their project.

开发者从教程中复制了一段代码用于自己的项目。

在编程中指可重复使用的小段代码。

搭配

code snippet代码片段audio snippet音频片段video snippet视频片段

专业提示

区分相似词

snippet 通常指短小的摘录,而 excerpt 多用于文学作品或正式文本的节选;clip 多指音频或视频的短片段。

词源

中古英语 snippen(切割)+ -et(小词缀),源自古荷兰语 snippen 或中古低地德语 snippen(切断)。

用法说明

用于非正式场合时,可指任何简短的摘录;技术领域特指可复用的代码片段。

单词拆解

snip-
切割
root
+
-et
小词缀(表示小或弱化)
suffix
英汉词典