简体   繁体   English

找到与经验相对应的词

[英]Finding the word that corresponds to experience

Suppose i have a sentence like the following, how can i find what the experience corresponds to?假设我有一个像下面这样的句子,我怎样才能找到对应的经验?

Ex: Programmer with 5 years of experience wanted.例如:需要有 5 年经验的程序员。 I want to find what the experience (5 years) corresponds to, in this case programmer.我想找到经验(5 年)对应的内容,在这种情况下是程序员。

The code should also be recognize a corresponding verb, ex: 5 years of programming该代码还应识别相应的动词,例如:5 年的编程

So how should i go about it?那我该怎么办呢? I was thinking of making a pattern that finds the closest noun or verb.我正在考虑制作一个找到最接近的名词或动词的模式。

As I didn't get any meaningful help, I just came up with a temporary solution of my own.由于没有得到任何有意义的帮助,我只是想出了一个自己的临时解决方案。 Find the sentence with the entity tag "DATE", and remove the stop words.找到实体标签为“DATE”的句子,去掉停用词。

For example, the sentence 'The ideal candidate must have at least 6 years of experience in the field.'例如,“理想的候选人必须在该领域至少有 6 年的经验”这句话。 becomes into the following:变成如下:

'ideal candidate 6 years experience field' '理想的候选人 6 年经验领域'

Obviously I can refine this further, but for now this will do.显然我可以进一步完善它,但现在就可以了。

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

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