English语法_并列连词-but

1

1


1> 表转折关系

1.1> difficult but interesting

The jigsaw is difficult but interesting.
这个拼图虽难,但很有趣。

  • 2个形容词,不需要加逗号;

1.2> with sad look but with patience.

She was standing there with a sad look but with patience.
她站在那里,愁容满面, 但还是很耐心。

  • but 连接短语;

1.3> Pet cats

Pet cats may be cute, but they are difficult to look after.
宠物猫或许很可爱,但它们很难照顾

  • but 后面有 主语, 要加逗号;

1.4> anything but / nothing but

She is anything but a writer.
她决不是一个作家。

He is nothing but a liar.
他只不过是个说谎者。

  • 否定词+ but = only;

2> not…but…

It’s not your fault, but it’s my fault.
It’s not your fault, but mine.
这不是你的错,而是我的错。

They worked hard not to make money but to help people.
They woked hard to help people not to make money.
他们努力工作,不是为了赚钱,而是为了帮助人。


3> not only…but also…


3.1> the teacher was late

Not only the pupils but also the teacher was late.
The teacher as well as the pupils was late.
不仅学生迟到,就连老师也迟到了。

  • 强调 老师, 所以动词用was;

3.2> put the blame on me

She not noly made a mistake but also put the blame on me.
她不仅犯了错误,而且还把过错推到我身上。


3.3> but also educational

The TV program is not only amusing but also educational.
这电视节目寓教于乐。

1


3.4> not only… but also… 倒装句

He not only showed up late, but also forgot to bring his books.
Not noly did he show up late, but he also forgot to bring his books.
他不仅迟到,还忘记带书。

  • 否定词放句首,后面用倒装句;

He speakes ont only English but also Spanish.
Not ony English but also Spanish does he speak.
他不仅会说英语,还会说西班牙语。

3


4> Sorry / Excuse me, but…

Excuse me, but this is a non-smoking area.
对不起,这里是禁烟区域。

  • but 表客气;

I am sorry that I am late.
对不起,我迟到了。

  • that连词,表原因;
  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
R R version 4.2.2 (2022-10-31) -- "Innocent and Trusting" Copyright (C) 2022 The R Foundation for Statistical Computing Platform: x86_64-conda-linux-gnu (64-bit) R is free software and comes with ABSOLUTELY NO WARRANTY. You are welcome to redistribute it under certain conditions. Type 'license()' or 'licence()' for distribution details. Natural language support but running in an English locale R is a collaborative project with many contributors.Type 'contributors()' for more information and 'citation()' on how to cite R or R packages in publications. Type 'demo()' for some demos, 'help()' for on-line help, or 'help.start()' for an HTML browser interface to help. Type 'q()' to quit R. library(ape) setwd("/ifs1/User/dengwei/NTF_data/7.14/rooted_species_tree") species_tree <- read.tree("species_tree.treefile")> compare_trees <- function(gene_tree_file, species_tree) { gene_tree <- read.tree(gene_tree_file) diff_count <- comparePhylo(gene_tree, species_tree, force.rooted = TRUE) return(diff_count) } batch_compare_trees <- function(gene_tree_folder, species_tree) { gene_tree_files <- list.files(path = gene_tree_folder, pattern = ".treefile", full.names = TRUE) diff_counts <- data.frame(Gene_Tree_File = gene_tree_files, Diff_Count = numeric(length(gene_tree_files)), stringsAsFactors = FALSE) for (i in seq_along(gene_tree_files)) { gene_tree_file <- gene_tree_files[i] diff_counts$Diff_Count[i] <- compare_trees(gene_tree_file, species_tree) } return(diff_counts) } gene_tree_folder <- "/ifs1/User/dengwei/NTF_data/7.14/rooted_gene_tree" diff_counts <- batch_compare_trees(gene_tree_folder, species_tree) Error in if (n1 == n2) paste("Both trees have the same number of tips:", : the condition has length > 1
07-15
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

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

抵扣说明:

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

余额充值