精华内容
下载资源
问答
  • sentence_pattern_2007-0911

    2008-07-15 12:08:05
    sentence_pattern_2007-0911sentence_pattern_2007-0911
  • 16 sentence pattern

    2009-02-23 18:44:13
    for/from want of 由于缺少…… The flowers died from want of water. 这些花由于缺少水而枯死了。 Some of the wounded soldiers died...

    for/from want of 由于缺少……

    The flowers died from want of water.

    这些花由于缺少水而枯死了。

    Some of the wounded soldiers died for want of medicine.

    有些士兵因为缺乏药物而死去。
    for the use of 供……使用的

    This parking lot is for the use of employees only.

    这个停车场只供员工使用。

    This dining hall is for the use of teachers.

    这个饭堂是供教师使用的。

    in support of 为了支持……,为了拥护……

    He spoke at the meeting in support of my idea.

    他在会上讲话支持我的想法。

    They decided to stay in support of the new leadership.

    为了支持新的领导班子,他们决定留下来。

    so as to 为了(做)……,以便(做)……

    They made a lot of lively programs so sas to attract more children.

    为了吸引更多的孩子,他们制作了很多生动活泼的节目。

    I left home at 5:00 in the morning so as to be there on time.

    我早上5点钟就出门,以便准时到达那里。

    in search of 为了寻找……,为了寻求……

    He went to the south in search of better prospects.

    他为了寻找更好的前途到南方去。

    She immigrated to New Zealand in search of a quiet life.

    她为了过上平静的生活移民到新西兰去。

    for the sake of/for ones sake 为……起见,为了……

    His family moved to the countryside for the sake of his sons health.

    他一家为了他儿子的健康搬到乡下去。

    He betrayed his friend for moneys sake.

    他为了钱而出卖自己的朋友。

    for ones own safety 为了某人自身的安全

    For your own safety please dont smoke inside the plane.

    为了你自身的安全,请不要在飞机上抽烟。

    Please fasten your seat belt for your own safety.

    为了你们自己的安全,请系上安全带。

    for future reference 为了以后参考,为了今后备查

    Keep all the price lists on file for future reference.

    把所有的价格表存档,以便今后备查。

    You can take this booklet home for future reference.

    你可以把小册子带回家,留着以后参考。

    for reasons of 因……理由,为……缘故

    The road has been closed for reasons of safety.

    为了安全起见,路已经被封了。

    They switched to a new product for reasons of better profits.

    为了更好地获得,他们转向了一种新产品。

    in memory of 为纪念……,为追悼……

    She set up an educational fund im memory of her mother.

    她为了纪念她母亲而设立了一个教育基金会。

    This musem was built in memory of the great writer -Lu Xun.

    这个博物馆是为了纪念伟大作家鲁迅而建造的。

    in order to 为了……

    Most students study hard in order to please the teacher.

    为了让老师开心,多数学生努力工作。

    Business schools are trying to improve their courses in order to produce better graduates.

    为了培养出更好的毕业生,商务学校在改进他们的课程。

    for sb.s benefit/for the benefit of 为了……的利益为了帮助……

    It is not his fault. He did it for your benefit.

    这不是他的过错。他是为了你的利益才这样做的。

    All the donations are for the benefit of the disabled children.

    所有的捐款都是为了帮助残疾儿童。

    for fear of 以免,以防

    Put on a coat for fdar of catching a cold.

    穿上外衣以免感冒。

    The weather in London is so changable that people always bring their umbrella with them for fear of rain.

    伦敦的天气很多变,人们总是要随身带着雨伞以防下雨。

    as a result 结果是

    As a result, the unemployment rate began to fall.

    结果,失业率开始下降。

    As a result, 50 per cent of the groundwater in cities is polluted.

    结果,城市50%的地表水受到污染。

    in honor of 为纪念……,为庆祝……

    They are holding a birthday party in honor of the prince.

    他们为王子举行生日会。

    The book was written in honor of those who died in the war.

    这本书是为纪念在战争中死亡的人而写的。

    in favor of 为了支持……,赞同……的

    He spoke at the meeting in favor of the plan.

    他在会上发言赞成这个计划。

    Most educators are in favor of distance learning.

    多数教育家支持远程教育

    来自 “ ITPUB博客 ” ,链接:http://blog.itpub.net/11379785/viewspace-557494/,如需转载,请注明出处,否则将追究法律责任。

    转载于:http://blog.itpub.net/11379785/viewspace-557494/

    展开全文
  • topical sentence

    2019-10-05 16:35:11
    sentence: He grasped both my hands/He is physically mature./I'm so sorry about this. I do want to see hime./I have the right to know. It's incredible./It's hard to say./I cannot image wh...

    sentence:
      He grasped both my hands/He is physically mature./I'm so sorry about this.
      I do want to see hime./I have the right to know.
      It's incredible./It's hard to say./I cannot image why.

    key words and expressions:
      pull       拉,拔            put out      拔出,离开
      nod        点头,打盹        cotton       棉花
      corn       玉米             wool         羊毛,毛织品
      meanwhile  其间,其时        search out   找到,找出
      mature     成熟             grasp        抓住,掌握
      remove form = take out of   从..去除..
      physically 身体上地         cotton wool  医用棉
      make progress/do some shopping/make up your mind/do a job   do及make的固定短语
     
    Pattern:
      Do me a favor,will u?/U have just made a mistake.
      He always does his best./Donot make such a noise.
      Either the letter got lost or U didnot write to me at all.
      U r either with us or U r not.
      I will call u,either this evening or tomorrow morning.

    Syntax:
      <topical sentence> 英文常用第一句概括全文
      The librarian finally searched out the book I wanted.
      People r not so honest as they once were.
      JW is one of those rare people who believes in ancient myths.
      Aeroplanes r slowly driving mad.
      If u park your car in the wrong place,a traffic policeman will soon find it.

    转载于:https://www.cnblogs.com/stock3745/archive/2007/10/31/944481.html

    展开全文
  • Prototype_Pattern

    2018-09-19 10:45:23
    The Prototype_Pattern is the application of "template". package prototype_pattern; public abstract class Prototype implements Cloneable {  protected String name;  protected int age;  ...

    The Prototype_Pattern is the application of "template".

    package prototype_pattern;

    public abstract class Prototype implements Cloneable {
        protected String name;
        protected int age;
        protected Body body;

        public String getName() {
            return name;
        }

        public void setName(String name) {
            this.name = name;
        }

        public int getAge() {
            return age;
        }

        public void setAge(int age) {
            this.age = age;
        }

        public Body getBody() {
            return body;
        }

        public void setBody(Body body) {
            this.body = body;
        }

        @Override
        protected Object clone() throws CloneNotSupportedException {
            // The method of clone just copy the basic data type.
            Prototype person = (Prototype) super.clone();
            return person;
        }
    }

    package prototype_pattern;

    public class ConcretePrototype extends Prototype {
        @Override
        protected Object clone() {//This method process the possible exception.
            Prototype person = null;
            try {
                // The method of clone just copy the basic data type.
                person = (ConcretePrototype) super.clone();
                person.name = new String(super.name);// The current is deep copy,without this sentence is shallow copy.
                person.body = (Body) body.clone();// The reference type need deep copy.
            } catch (CloneNotSupportedException e) {
                e.printStackTrace();
            }
            return person;
        }
    }

    package prototype_pattern;

    public class Body implements Cloneable{
        private double weight;
        private Physique physique;
        public double getWeight() {
            return weight;
        }
        public void setWeight(double weight) {
            this.weight = weight;
        }
        public Physique getPhysique() {
            return physique;
        }
        public void setPhysique(Physique pyysique) {
            this.physique = pyysique;
        }
        @Override
        protected Object clone() throws CloneNotSupportedException{
            Body body =(Body) super.clone();
            body.physique = (Physique)physique.clone();//deep copy
            return body;
        }
    }

    package prototype_pattern;

    public class Physique implements Cloneable{
        private boolean health;
        
        public boolean isHealth() {
            return health;
        }

        public void setHealth(boolean health) {
            this.health = health;
        }

        @Override
        protected Object clone() throws CloneNotSupportedException{
            return super.clone();
        }
    }

    package prototype_pattern;

    public class Main {
        public static void main(String args[]){
            Prototype person = new ConcretePrototype();
            person.setAge(11);
            person.setName("sam");
            Physique physique = new Physique();
            physique.setHealth(true);
            Body body = new Body();
            body.setPhysique(physique);
            body.setWeight(65.5);
            person.setBody(body);
            Prototype newPerson = null;
            try {
                newPerson = (ConcretePrototype)person.clone();
            } catch (CloneNotSupportedException e) {
                // TODO Auto-generated catch block
                e.printStackTrace();
            }
            System.out.println(person.age == newPerson.age);
            System.out.println(person.name == newPerson.name);
            System.out.println(person.body == newPerson.body);
            System.out.println(person.body.getPhysique() == newPerson.body.getPhysique());
        }
    }
     

    The illustration of the "clone" method:

    package prototype_pattern;

    public class Prototype {
        private int age;

        public static void main(String args[]) {
            Prototype p = new Prototype();
            p.age = 1;
            try {
                Prototype q = (Prototype) p.clone();
                System.out.println(q.age);
            } catch (CloneNotSupportedException e) {
                e.printStackTrace();
            }
        }
    }
    If we don't implement the interface of clonable,the running results will be listed as follows:

    java.lang.CloneNotSupportedException: prototype_pattern.Prototype
        at java.lang.Object.clone(Native Method)
        at prototype_pattern.Prototype.main(Prototype.java:36)

    The official website explains that:

    Object.class

    protected native Object clone() throws CloneNotSupportedException;

        /**
         * Returns a string representation of the object. In general, the
         * {@code toString} method returns a string that
         * "textually represents" this object. The result should
         * be a concise but informative representation that is easy for a
         * person to read.
         * It is recommended that all subclasses override this method.
         * <p>
         * The {@code toString} method for class {@code Object}
         * returns a string consisting of the name of the class of which the
         * object is an instance, the at-sign character `{@code @}', and
         * the unsigned hexadecimal representation of the hash code of the
         * object. In other words, this method returns a string equal to the
         * value of:
         * <blockquote>
         * <pre>
         * getClass().getName() + '@' + Integer.toHexString(hashCode())
         * </pre></blockquote>
         *
         * @return  a string representation of the object.
         */

    Cloneable.class

    /*
     * Copyright (c) 1995, 2004, Oracle and/or its affiliates. All rights reserved.
     * ORACLE PROPRIETARY/CONFIDENTIAL. Use is subject to license terms.
     */

    package java.lang;

    /**
     * A class implements the <code>Cloneable</code> interface to
     * indicate to the {@link java.lang.Object#clone()} method that it
     * is legal for that method to make a
     * field-for-field copy of instances of that class.
     * <p>
     * Invoking Object's clone method on an instance that does not implement the
     * <code>Cloneable</code> interface results in the exception
     * <code>CloneNotSupportedException</code> being thrown.
     * <p>
     * By convention, classes that implement this interface should override
     * <tt>Object.clone</tt> (which is protected) with a public method.
     * See {@link java.lang.Object#clone()} for details on overriding this
     * method.
     * <p>
     * Note that this interface does <i>not</i> contain the <tt>clone</tt> method.
     * Therefore, it is not possible to clone an object merely by virtue of the
     * fact that it implements this interface.  Even if the clone method is invoked
     * reflectively, there is no guarantee that it will succeed.
     *
     * @author  unascribed
     * @see     java.lang.CloneNotSupportedException
     * @see     java.lang.Object#clone()
     * @since   JDK1.0
     */
    public interface Cloneable {
    }

    This is a general introduction to the 23 design patterns in chinese:
    https://blog.csdn.net/GZHarryAnonymous/article/details/81567214

    See more source code:[GZHarryAnonymous](https://github.com/GZHarryAnonymous/Design_Pattern)

    展开全文
  • Factory_Pattern

    2018-09-18 20:23:38
    package factory_pattern; public abstract class Worker {  public abstract void work();  public abstract void eat(); } package factory_pattern; public class SuperWorker extends Worker {  pu...

    package factory_pattern;

    public abstract class Worker {
        public abstract void work();

        public abstract void eat();
    }

    package factory_pattern;

    public class SuperWorker extends Worker {
        public void work() {
            System.out.println("Work hard and efficient.");
        }

        public void eat() {
            System.out.println("Eat nutritional food.");
        }
    }

    package factory_pattern;

    public class CommonWorker extends Worker {

        public void work() {
            System.out.println("Work hard.");
        }

        public void eat() {
            System.out.println("Eat food.");
        }

    }

    package factory_pattern;

    public interface IFactory {
        public Worker CreateWorker();
    }

    package factory_pattern;

    public class SuperFactory implements IFactory {
        public Worker CreateWorker() {
            return new SuperWorker();
        }
    }

    package factory_pattern;

    public class CommonFactory implements IFactory {
        public Worker CreateWorker() {
            return new CommonWorker();
        }
    }

    package factory_pattern;

    public class Main {
        public static void main(String args[]) {
            // IFactory factory = new CommonFactory();
            IFactory factory = new SuperFactory();
            Worker sam = factory.CreateWorker();
            sam.eat();
            sam.work();

        }
    }
    /***
     * If we want to understand the factory_pattern,we have to talk a lot
     * about the simple_factory_pattern so that realize the "no simple" of
     * the factory_pattern.
     * As we have known that the simple_factory encapsulates the sentence of
     * "switch-case",which works with object'polymorphisim,making the client
     * gets what they need through  giving the simple_factory different parameters.
     * By comparison,the factory_pattern gets further abstraction in the aspect of
     * different factory's implementation.The advantage is leave the "switch-case"
     * out.The only thing we need to do is to choice the different concrete factories
     * for changing different concrete objects.The relation between concrete factory
     * and concrete object is one-to-one,which also means there so many concrete 
     * factories we have to construct.So we can concluded the feature that 
     * factory_pattern is the factory'spolymorphism.
     */

    This is a general introduction to the 23 design patterns:
    https://blog.csdn.net/GZHarryAnonymous/article/details/81567214

    展开全文
  • Singleton pattern

    2008-11-11 13:07:00
    Today i will introduce the second pattern, singleton pattern. When i first know it, i thought it is a very simple pattern. But after training, i dont think so already. This is the only pattern wi
  • Pattern学习】概述

    千次阅读 2017-04-27 10:13:59
     Pattern是Python编程语言的一个Web挖掘模块。它具有数据挖掘工具(谷歌,推特和维基百科API,Web爬虫,HTML DOM解析器)、自然语言处理(词性标注、n-gram搜索,情感分析,WordNet),机器学习(向量空间模型,...
  • ACL 2019 Sentence Centrality Revisited for Unsupervised Summarization github 单文档的文本摘要任务已经取得了不错的进展,不同的研究人员纷纷提出了不同的解决思路和摘要模型,有关进展可浏览之前的几篇博文,...
  • The failures may not be drastic but the pattern of small failures is annoying to others, especially in two areas that Americans value as highly as time and money. 6-----One thing at a time ...
  • Bridge Design Pattern

    2015-05-14 16:20:24
    “Decouple an abstraction from its implementation so that the two can vary independently” is the intent for bridge design pattern as stated by GoF. Bridge design pattern is a modified version of the...
  • Simple_Factory_Pattern

    2018-09-15 11:48:56
    Simple Factory Pattern" uses polymorphic to implement the open and close principle. The "Factory" actually encapsulates the logic of different object's creation. The "simple"...
  • The accurate classification of subjective ... We extracted the subjective features from the Part of speech (POS) and the dependency relationship between words, and constructed a 3-POS subjective pattern
  • 理解贷出模式 Loan Pattern

    千次阅读 2015-09-21 07:45:25
    Loan Pattern as the name suggests would loan a resource to your function. So if you break out the sentence. It would Create a resource which you can use Loan the resources to the function which
  • 由于nltk等都没有实现句子级别的tokenize,或者文本分句。这里使用python正则,快速实现一个,可以把文本分成若干个小句子。 代码如下,如果你想要实现自己个性化的分句,例如只考虑“。!”等的分句,可以调整正则...
  • Interpreter pattern

    2007-05-18 14:03:00
    code demonstrates the Interpreter pattern which is used to convert a Roman numeral to a decimal. participants  The classes and/or objects participating in this pattern are: ...
  • 论文地址:Convolutional Neural Networks for Sentence Classification 论文解读: A Sensitivity Analysis of (and Practitioners’ Guide to) Convolutional Neural Networks for Sentence Classification 这是...
  • 论文地址: An Improved Baseline for Sentence-level Relation Extraction Abstract & Contribution 目前的句子级的关系抽取任务效果,还有远远达不到人工的效果。 本文反思已有模型并指出两个被忽视的方面: ...
  • python的Pattern模块

    千次阅读 2012-10-16 10:31:09
    pattern Pattern is a web mining module for the Python programming language. It bundles tools for data retrieval (Google + Twitter + Wikipedia API, web spider, HTML DOM parser), text analysis
  • pattern进行自然语言处理

    千次阅读 2014-11-27 22:23:31
    pattern是一个网络数据挖掘的一个工具,分为几个模块 pattern.web 是用来在网络抓取数据的, pattern.en 是用来处理英文文本的 pattern.search是用来检索特定规律的词汇的  pattern.vector是用来分类的
  • Design Pattern - Interpreter(Java)

    万次阅读 2019-03-23 17:17:51
    Builds (or is given) an abstract syntax tree representing a particular sentence in the language that the grammar defines. The abstract syntax tree is assembled from instances of the ...
  • A simple example for use Pattern and Matcher // strings/TestRegularExpression.java // (c)2017 MindView LLC: see Copyright.txt // We make no guarantees that this code is fit for any purpose. // Visi....
  • Loan Pattern as the name suggests would loan a resource to your function. So if you break out the sentence. It would Create a resource which you can use Loan the resources to the function which wo...
  • Java Regex Pattern Syntax Exception java.util.regex.PatternSyntaxException: Unmatched closing ')' I don't immediately see what's wrong with your regex code although I suspect the problem wo...
  • Chaining Pattern - Call methods on an object one after the other without assigning the return values of the previous operations to variables and without having to split your calls on multiple lines. ...
  • Design Pattern Interview Questions - Part 1

    千次阅读 2012-12-28 13:47:04
    Design Pattern Interview questions, Factory, Abstract factory, prototype pattern Software Architecture Interview Questions Part 1 - Design Pattern Interview Questions (B) What are design patterns...
  • Karpathy, Andrej, and Li Fei-... “Deep visual-semantic alignments for generating image descriptions.” Proceedings of the IEEE Conference on Computer Vision and Pattern Recognition. 2015. (Citations:
  • 基于循环神经网络与对齐模型的句子相似度计算,赵银各,徐蔚然,本文提出一种新的句子相似度计算模型,即通过孪生递归神经网络与对齐模型计算句子相似度。在孪生递归神经网络中我们不仅引入句子
  • 1、单例模式(Singleton Pattern ) 2、抽象工厂模式(Abstract Factory Pattern ) 3、工厂方法模式(Factory Method Pattern ) 4、简单工厂模式(Simple Factory Pattern ) 5、建造者模式(Builder Pattern ) 6...
  • Design Pattern FAQhttp://www.codeproject.com/Articles/28309/Design-pattern-FAQ-Part-Training http://www.codeproject.com/Articles/28309/Design-pattern-FAQ-Part-Training What are design patterns

空空如也

空空如也

1 2 3 4 5 ... 20
收藏数 5,234
精华内容 2,093
关键字:

patternsentence