# Coocurrence of defined concepts

**URL:** <https://forum.knime.com/t/coocurrence-of-defined-concepts/7744>\
**Category:** KNIME Extensions\
**Tags:** text-processing\
**Created:** [April 24, 2015, 3:43pm UTC](https://forum.knime.com/t/coocurrence-of-defined-concepts/7744 "2015-04-24T15:43:47Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![Dnreb](https://forum-cdn.knime.com/letter_avatar_proxy/v4/letter/d/bb73d2/32.png) [@Dnreb](https://forum.knime.com/u/Dnreb)\
**Post date:** [April 24, 2015, 3:43pm UTC](https://forum.knime.com/t/coocurrence-of-defined-concepts/7744/1 "2015-04-24T15:43:47Z")

</div>

Hello,

we have a set of texts where we would like to identify related concepts which are stated near to each other.

We want to find in one sentence a relevant product feature and the customer's opinion statement belonging to this.  
Since we want only the the pairs [product] and [opinion] we need to detect which concepts belong together, e.g. by defining the occurence together.

We tried to tag by products and by opinion terms, filter the terms, but could not figure out how we can best get the right pairs (occuring near 5 terms to each other or something similar). We can not be sure that the remaining opinion statements are belonging to the products or how much terms are filtered out.

Thanks for any hints how we could approach this

---

<div class="post-metadata">

**Author:** ![kilian.thiel](https://forum-cdn.knime.com/user_avatar/forum.knime.com/kilian.thiel/32/5449_2.png) [@kilian.thiel](https://forum.knime.com/u/kilian.thiel)\
**Post date:** [April 27, 2015, 10:05pm UTC](https://forum.knime.com/t/coocurrence-of-defined-concepts/7744/2 "2015-04-27T22:05:43Z")

</div>

Hi,

once you filter all terms except for the tagged once the proximity information (i.t.o. number of words in between) is lost, since only the tagged terms remain. With the Term Co-occurrence counter is it not possible to determine proximity. You would need to extract N-grams and filter these. Hoewever, this would be more a workaround.

Cheers, Kilian

---

<div class="post-metadata">

**Author:** ![Dnreb](https://forum-cdn.knime.com/letter_avatar_proxy/v4/letter/d/bb73d2/32.png) [@Dnreb](https://forum.knime.com/u/Dnreb)\
**Post date:** [May 6, 2015, 5:41pm UTC](https://forum.knime.com/t/coocurrence-of-defined-concepts/7744/3 "2015-05-06T17:41:45Z")

</div>

Kilian,

Thanks for the answer!

Regards, Bernd

---

<div class="post-metadata">

**Author:** ![system](https://forum-cdn.knime.com/uploads/default/original/1X/ab3ccf34482a0329361734a18199390177204f15.png) [@system](https://forum.knime.com/u/system)\
**Post date:** [June 2, 2023, 9:49pm UTC](https://forum.knime.com/t/coocurrence-of-defined-concepts/7744/4 "2023-06-02T21:49:41Z")

</div>

This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.
