I try to find answer for my Question in Arabic Word Net synonyms in Python? but there is an error related to File "C:\Arabic Ontology paper\AWN\AWNDatabaseManagement.py", line 54 return filter(lambda(x):(x[0]==type) or (type=='all'),self._links_in) ^ SyntaxError: invalid syntax
Asked
Active
Viewed 160 times
1 Answers
0
you should remove parentheses of x,
use "lambda x"
instead of "lambda(x)"

Vicky Salunkhe
- 9,869
- 6
- 42
- 59

Hajer
- 1