简体   繁体   English

如何提取英语口语短语和表达的含义

[英]How to extract meaning of colloquial phrases and expressions in English

I am looking into extracting the meaning of expressions used in everyday speaking. 我正在研究提取日常讲话中使用的表达方式的含义。 For an instance, it is apparent to a human that the sentence The meal we had at restaurant A tasted like food at my granny's. 例如,对于一个人来说,很明显的句子是The meal we had at restaurant A tasted like food at my granny's. means that the food was tasty. 意味着食物很好吃。

How can I extract this meaning using a tool or a technique? 如何使用工具或技术来提取此含义?

The method I've found so far is to first extract phrases using Stanford CoreNLP POS tagging, and use a Word Sense Induction tool to derive the meaning of the phrase. 到目前为止,我发现的方法是先使用Stanford CoreNLP POS标记提取短语,然后使用Word Sense Induction工具导出短语的含义。 However, as WSI tools are used to get the meaning of words when they have multiple meanings, I am not sure if it would be the best tool to use. 但是,由于WSI工具用于获取具有多种含义的单词的含义,因此我不确定这是否是最好的工具。

What would be the best method to extract the meanings? 提取含义的最佳方法是什么? Or is there any tool that can both identify phrases and extract their meanings? 还是有既可以识别短语又可以提取其含义的工具?

Any help is much appreciated. 任何帮助深表感谢。 Thanks in advance. 提前致谢。

The problem you pose is a difficult one. 您提出的问题很困难。 You should use tools from Sentiment Analysis to get a gist of the sentence emotional message. 您应该使用情感分析中的工具来获得句子情感信息的要旨。 There are more sophisticated approaches which attempt at extracting what quality is assigned to what object in the sentence (this you can get from POS-tagged sentences + some hand-crafted Information Extraction rules). 有更复杂的方法尝试提取为句子中的哪个对象分配什么质量(您可以从带有POS标签的句子中加上一些手工制作的信息提取规则来获得此质量)。

However, you may want to also explore paraphrasing the more formal language to the common one and look for those phrases. 但是,您可能还想探索将更正式的语言释义为通用语言,然后寻找这些短语。 For that you would need to a good (exhaustive) dictionary of common expressions to start with (there are sometimes slang dictionaries available - but I am not aware of any for English right now). 为此,您需要一本好的(详尽的)常用表达词典来开始(有时会有语词典可用-但我现在不知道英语中的任何lang语词典)。 You could then map the colloquial ones to some more formal ones which are likely to be caught by some embedding space (frequently used in Sentiment Analysis). 然后,您可以将口语语言映射到一些更正式的语言,这些语言很可能会被某些嵌入空间所捕获(在“情感分析”中经常使用)。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM