论文标题
AANDP:利用Prolog通过三步转换在主动句子和被动句子之间转换
AandP: Utilizing Prolog for converting between active sentence and passive sentence with three-steps conversion
论文作者
论文摘要
我介绍了一种简单但有效的方法来解决英语语法的关键方面之一,即主动句子和被动句子之间的关系。实际上,一个主动句子及其相应的被动句子表达相同的含义,但其结构不同。我利用Prolog [4]以及确定的子句语法(DCG)[5]进行了主动句子和被动句子之间的conversion依。还使用了一些先进的技术,例如额外的论点,额外的目标,词典等。我试图解决各种主动和被动句子的案例,例如12个英语时态,模态动词,负面动词,否定形式等。更多的详细信息和我的贡献将在以下各节中介绍。源代码可在https://github.com/tqtrunghnvn/activeandaspastive上获得。
I introduce a simple but efficient method to solve one of the critical aspects of English grammar which is the relationship between active sentence and passive sentence. In fact, an active sentence and its corresponding passive sentence express the same meaning, but their structure is different. I utilized Prolog [4] along with Definite Clause Grammars (DCG) [5] for doing the conversion between active sentence and passive sentence. Some advanced techniques were also used such as Extra Arguments, Extra Goals, Lexicon, etc. I tried to solve a variety of cases of active and passive sentences such as 12 English tenses, modal verbs, negative form, etc. More details and my contributions will be presented in the following sections. The source code is available at https://github.com/tqtrunghnvn/ActiveAndPassive.