diff options
author | Erin van der Veen | 2017-12-20 08:21:55 +0100 |
---|---|---|
committer | GitHub | 2017-12-20 08:21:55 +0100 |
commit | 0685f60a309a57a34f63878eab583c0321cc1a05 (patch) | |
tree | 8de10cda64417398656f7ca0f0581b12a83f7098 | |
parent | Use queries_stopped.json in tf.py->df.py (diff) | |
parent | Fix typo in Implementation; add syntax highlighting to python script (diff) |
Merge pull request #1 from rubigdata/implementation
Fix typo in Implementation; add syntax highlighting to python script
-rw-r--r-- | Implementation.md | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Implementation.md b/Implementation.md index 1a81e6f..c19f119 100644 --- a/Implementation.md +++ b/Implementation.md @@ -104,7 +104,7 @@ def get(dbpediaid): ### `run.py` -- `queries_stopped.json` lists all query terms. We load this file ones, then +- `queries_stopped.json` lists all query terms. We load this file once, then process a run from `stdin`. ```python @@ -154,7 +154,7 @@ def match(value, terms): - `get` simply gets the file that we stored with `scrape.py`: -``` +```python def get(dbpediaid): outfile = os.path.join(DATADIR, quote_plus(dbpediaid) + '.json') if not os.path.isfile(outfile): |