commonsense team mailing list archive
-
commonsense team
-
Mailing list archive
-
Message #00126
[Bug 438403] Re: Incorrect parse for e.g., "Pens are for writing."
** Changed in: conceptnet
Milestone: None => 4.0
** Tags added: parsing
--
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