-
Notifications
You must be signed in to change notification settings - Fork 120
New issue
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
Double similarity function - null pointer exception #369
Double similarity function - null pointer exception #369
Conversation
navinrathore
commented
Jun 28, 2022
- fixed config.json as MatchType NUMERIC_WITH_UNITS changed to NUMBER_WITH_UNITS
- 'null' checks in DoubleSimilarityFunction. Also, checked for Double.NAN
Tested with febrl standard dataset and another updated with Double field/values |
Noticed that, for amazon-google dataset, header for google.csv file is not compatible with names in schema. Though, zingg seems working fine but below is the message.
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
- Add tests for some doubles.
- Rename variable
|
||
@Test | ||
public void testFirstNumIsNull() { | ||
DoubleSimilarityFunction isNull = new DoubleSimilarityFunction(); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
name of variable?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
changed to simFn
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Added some tests