Chinese terminology: Difference between revisions

From APL Wiki
Jump to navigation Jump to search
(Chinese terminology for ⍳⍴↓, one for monadic and another for dyadic)
 
No edit summary
Line 1: Line 1:
While written APL is mostly symbolic, facilitating communication of thought across human language barriers, instructional text and verbal conveying of APL subjects requires human language translations of the [[glyphs]] and [[primitive function|primitives]] etc. This article attempts to provide a standard for Chinese terminology used in such contexts, to ease the burden of translators, assist speakers, and in general lessen the risk of misunderstandings in conversation.
== Translations ==
This list is incomplete. Please [{{fullurl:{{PAGENAME}}|action=edit}} edit] this page to contribute<!--, keeping the list in alphabetical order by primary English term-->. The primary English term is the corresponding article name (which should be linked) if an article exists. Use the [[{{TALKPAGENAME}}|Discussion]] page to remark about translations you disagree with, or to provide suggestions for otherwise improving this page. When a translation has historical or external precedent, please add a reference to that.
In the below, 单 refers to 单参数 ([[monadic]] usage) and 双 refers to 双参数 ([[dyadic]] usage).
{| class="wikitable"
{| class="wikitable"
|-
|-
! APL !! Chinese !! Sample Code in APL !! Sample Code in Chinese
! Primary term !! Description !! Translation !! Sample Code !! Explanation
|-
|-
| ⍳ 单参数 || 数列 || ⍳6 || 数列6
| [[Index Generator]] || Monadic <source lang=apl inline></source> 单 || 数列 || <source lang=apl inline>⍳6</source> || 数列6
|-
|-
| ⍳ 双参数 || 位置 || 'abcd' ⍳ 'ac' || 'abcd' 位置 'ac'
| [[Index of]] || Dyadic <source lang=apl inline></source> 双 || 位置 || <source lang=apl inline>'abcd' ⍳ 'ac'</source> || 'abcd' 位置 'ac'
|-
|-
| ⍴ 单 || 形状 || ⍴⍳6 || 形状 数列6
| [[Shape]] || Monadic <source lang=apl inline></source> 单 || 形状 || <source lang=apl inline>⍴⍳6</source> || 形状 数列6
|-
|-
| ⍴ 双 || 重塑 || 3 2 ⍴ ⍳6 || 3 2 重塑 数列6
| [[Reshape]] || Dyadic <source lang=apl inline></source> 双 || 重塑 || <source lang=apl inline>3 2 ⍴ ⍳6</source> || 3 2 重塑 数列6
|-
|-
| ↓ 单 || 拆分 || ↓3 2⍴⍳6 || 拆分 3 2 塑形 数列6
| [[Split]] || Monadic <source lang=apl inline></source> 单 || 拆分 || <source lang=apl inline>↓3 2⍴⍳6</source> || 拆分 3 2 塑形 数列6
|-
|-
| ↓ 双 || 去头 || 2↓⍳6 || 2 去头 数列6
| [[Drop]] || Dyadic <source lang=apl inline></source> 双 || 去头 || <source lang=apl inline>2↓⍳6</source> || 2 去头 数列6
|}
|}

Revision as of 08:01, 16 November 2021

While written APL is mostly symbolic, facilitating communication of thought across human language barriers, instructional text and verbal conveying of APL subjects requires human language translations of the glyphs and primitives etc. This article attempts to provide a standard for Chinese terminology used in such contexts, to ease the burden of translators, assist speakers, and in general lessen the risk of misunderstandings in conversation.

Translations

This list is incomplete. Please edit this page to contribute. The primary English term is the corresponding article name (which should be linked) if an article exists. Use the Discussion page to remark about translations you disagree with, or to provide suggestions for otherwise improving this page. When a translation has historical or external precedent, please add a reference to that.

In the below, 单 refers to 单参数 (monadic usage) and 双 refers to 双参数 (dyadic usage).

Primary term Description Translation Sample Code Explanation
Index Generator Monadic 数列 ⍳6 数列6
Index of Dyadic 位置 'abcd' ⍳ 'ac' 'abcd' 位置 'ac'
Shape Monadic 形状 ⍴⍳6 形状 数列6
Reshape Dyadic 重塑 3 2 ⍴ ⍳6 3 2 重塑 数列6
Split Monadic 拆分 ↓3 2⍴⍳6 拆分 3 2 塑形 数列6
Drop Dyadic 去头 2↓⍳6 2 去头 数列6