aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorErin van der Veen2017-12-20 08:20:27 +0100
committerErin van der Veen2017-12-20 08:20:27 +0100
commit849bc55c7e941956998b18d1d8cdf3ed995735bf (patch)
tree9c7b8becc4be6ffcf99afffb28a45e466ddf195c
parentMerge branch 'implementation' of github.com:rubigdata/IR-2017-4 into implemen... (diff)
Fix typo in Implementation; add syntax highlighting to python script
-rw-r--r--Implementation.md4
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):