当前位置: X-MOL 学术arXiv.cs.CL › 论文详情
Our official English website, www.x-mol.net, welcomes your feedback! (Note: you will need to create a separate account there.)
AandP: Utilizing Prolog for converting between active sentence and passive sentence with three-steps conversion
arXiv - CS - Computation and Language Pub Date : 2020-01-16 , DOI: arxiv-2001.05672
Trung Q. Tran

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.

中文翻译:

AandP:利用Prolog进行主动句和被动句的三步转换

我介绍了一种简单而有效的方法来解决英语语法的一个关键方面,即主动句和被动句之间的关系。实际上,主动句与其对应的被动句表达的意思相同,只是结构不同。我使用 Prolog [4] 和定语从句语法 (DCG) [5] 来进行主动句和被动句之间的转换。还使用了一些先进的技术,如额外的参数,额外的目标,词典等。我试图解决各种主动句和被动句的情况,如12个英语时态、情态动词、否定形式等。更多细节和我的贡献将在以下各节中介绍。源代码可在 https://github.com/tqtrunghnvn/ActiveAndPassive 获得。
更新日期:2020-01-17
down
wechat
bug