anhaidgroup / py_entitymatching

BSD 3-Clause "New" or "Revised" License
184 stars 48 forks source link

Newlines in Feature Creation #110

Open pjmartinkus opened 6 years ago

pjmartinkus commented 6 years ago

You can’t include newlines when adding a custom feature, the parser will not be able to correctly parse these types of strings even though it is fine to have new lines in normal python code.

Causes Error:

feature_string = """ jaccard( ... ) """

Works Correctly:

feature_string = """jaccard(...)"""