Permalink
Browse files

using new api of freebase downloader

  • Loading branch information...
jmansilla committed Nov 26, 2014
1 parent d4efa10 commit d9033a1f5903ada30fd3e4a9329cb57b1d6b8339
Showing with 4 additions and 1 deletion.
  1. +4 −1 scripts/download_freebase_type.py
@@ -26,4 +26,7 @@
normalizer = to_lower_normalizer
else:
normalizer = None
download_freebase_type(freebase_type_name, output_file, normalizer, aliases)
entries = download_freebase_type(freebase_type_name, normalizer, aliases)
f = open(output_file, 'w')
f.write('\n'.join(entries))
f.close()

0 comments on commit d9033a1

Please sign in to comment.