We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Imagine merging to sets of objects with conflicting names.
For example, two people named "alex":
obj1 = RelationalDataset(pos=['a(alex).'], neg=[], facts=['b(alex).', 'c(alex).']) obj2 = RelationalDataset(pos=['a(alex).'], neg=[], facts=['b(alex).'])
The interpretation is ambiguous, so should probably result in an error/warning:
>>> obj1 | obj2 UniqueNamesAssumptionError: Found 'alex' in `obj1` and `obj2`
If you:
Then there possible ways to handle this:
>>> with DifferentObjects: ... obj1 | obj2 RelationalDataset(pos=['a(alex1).', 'a(alex2).'], neg=[], facts=['b(alex1).', 'c(alex1).', 'b(alex2).'])
>>> with SameObjects: ... obj1 | obj2 RelationalDataset(pos=['a(alex).'], neg=[], facts=['b(alex).', 'c(alex).'])
See also:
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Imagine merging to sets of objects with conflicting names.
For example, two people named "alex":
The interpretation is ambiguous, so should probably result in an error/warning:
If you:
Then there possible ways to handle this:
See also:
The text was updated successfully, but these errors were encountered: