英文标点符号翻译大全

转自:http://www.eol.cn/article/20060227/3175182.shtml

+  plus 加号;正号
  -  minus 减号;负号
  ± plus or minus 正负号
  × is multiplied by 乘号
  ÷ is divided by 除号
  = is equal to 等于号
  ≠ is not equal to 不等于号
  ≡ is equivalent to 全等于号
  ≌ is equal to or approximately equal to 等于或约等于号
  ≈ is approximately equal to 约等于号

  < is less than 小于号
  > is more than 大于号
  ≮ is not less than 不小于号
  ≯ is not more than 不大于号
  ≤ is less than or equal to 小于或等于号
  ≥ is more than or equal to 大于或等于号
  %  per cent 百分之...
  ‰ per mill 千分之...
  ∞ infinity 无限大号
  ∝ varies as 与...成比例

  √ (square) root 平方根
  ∵ since; because 因为
  ∴ hence 所以
  ∷ equals, as (proportion) 等于,成比例
  ∠ angle 角
  ⌒ semicircle 半圆
  ⊙ circle 圆
  ○ circumference 圆周
  π pi 圆周率
  △ triangle 三角形

  ⊥ perpendicular to 垂直于
  ∪ union of 并,合集
  ∩ intersection of 交,通集
  ∫ the integral of ...的积分
  ∑ (sigma) summation of 总和
  ° degree 度
  ′ minute 分
  ″ second 秒
  ℃ Celsius system 摄氏度

  { open brace, open curly 左花括号
  } close brace, close curly 右花括号
  ( open parenthesis, open paren 左圆括号
  ) close parenthesis, close paren 右圆括号
  () brakets/ parentheses 括号
  [ open bracket 左方括号
  ] close bracket 右方括号
  [] square brackets 方括号
  . period, dot 句号,点
  | vertical bar, vertical virgule 竖线

  & ampersand, and, reference, ref 和,引用
  * asterisk, multiply, star, pointer 星号,乘号,星,指针
  / slash, divide, oblique 斜线,斜杠,除号
  // slash-slash, comment 双斜线,注释符
  # pound 井号
  / backslash, sometimes
  escape 反斜线转义符,有时表示转义符或续行符
  ~ tilde 波浪符

  . full stop 句号
  , comma 逗号
  : colon 冒号
  ; semicolon 分号
  ? question mark 问号
  ! exclamation mark (英式英语) exclamation point (美式英语)
  ' apostrophe 撇号
  - hyphen 连字号
  -- dash 破折号
  ... dots/ ellipsis 省略号

  " single quotation marks 单引号
  "" double quotation marks 双引号
  ‖ parallel 双线号
  & ampersand = and
  ~ swung dash 代字号
  § section; division 分节号
  → arrow 箭号;参见号

  • 1
    点赞
  • 1
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
以下是一段英文短文: "The quick brown fox jumps over the lazy dog." 针对短文中各字符包括标点符号的统计其出现的频率值,可以使用一个HashMap来存储每个字符出现的次数。具体的实现方法可以按照以下步骤进行: 1. 创建一个HashMap对象: ``` HashMap<Character, Integer> charCount = new HashMap<Character, Integer>(); ``` 2. 遍历短文中的每个字符,统计其出现的次数并存储到HashMap中: ``` String text = "The quick brown fox jumps over the lazy dog."; for (int i = 0; i < text.length(); i++) { char c = text.charAt(i); if (charCount.containsKey(c)) { int count = charCount.get(c); charCount.put(c, count + 1); } else { charCount.put(c, 1); } } ``` 3. 输出每个字符出现的频率值: ``` for (Map.Entry<Character, Integer> entry : charCount.entrySet()) { System.out.println(entry.getKey() + " : " + entry.getValue()); } ``` 按所给频率值翻译英文,可以将每个字符按照其出现的次数进行排序,然后按照出现次数从高到低的顺序重新排列短文中的字符。具体的实现方法可以按照以下步骤进行: 1. 将HashMap中的Entry对象转换为List,并按照出现次数从高到低排序: ``` List<Map.Entry<Character, Integer>> charList = new ArrayList<>(charCount.entrySet()); Collections.sort(charList, new Comparator<Map.Entry<Character, Integer>>() { public int compare(Map.Entry<Character, Integer> o1, Map.Entry<Character, Integer> o2) { return o2.getValue().compareTo(o1.getValue()); } }); ``` 2. 将短文中的字符按照出现次数从高到低的顺序重新排列: ``` StringBuilder translatedText = new StringBuilder(); for (Map.Entry<Character, Integer> entry : charList) { char c = entry.getKey(); int count = entry.getValue(); for (int i = 0; i < count; i++) { translatedText.append(c); } } ``` 这样就可以按照所给频率值翻译英文短文了。
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值