← Back to team overview

commonsense team mailing list archive

[Bug 438403] Re: Incorrect parse for e.g., "Pens are for writing."

 

** Changed in: conceptnet
   Importance: Undecided => Medium

** Changed in: conceptnet
       Status: New => Confirmed

-- 
Incorrect parse for e.g., "Pens are for writing."
https://bugs.launchpad.net/bugs/438403
You received this bug notification because you are a member of
Commonsense Computing, which is the registrant for ConceptNet.

Status in ConceptNet API: Confirmed

Bug description:
The third-best assertion in ConceptNet is misparsed: IsA replaced a UsedFor.

>>> Assertion.objects.filter(language='en')[2]
<Assertion: IsA(pen, write)[]>
>>> _.best_raw()
<RawAssertion: en: ('Pens' IsA 'for writing') s=63>

>>> SurfaceForm.objects.filter(text__regex='^for .+ing').count()
278
>>> SurfaceForm.objects.filter(text__regex='^for ').count()
Out[14]: 882



References