Skip to content

Commit

Permalink
Update README.md to fix #133 (#134)
Browse files Browse the repository at this point in the history
Fixed #133
  • Loading branch information
czhang99 authored and jekbradbury committed Oct 9, 2017
1 parent fd08618 commit 2cb86b1
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -21,8 +21,8 @@ pos = data.TabularDataset(

sentiment = data.TabularDataset(
path='data/sentiment/train.json', format='json',
fields=[{'sentence_tokenized': ('text', data.Field(sequential=True)),
'sentiment_gold': ('labels', data.Field(sequential=False))}])
fields={'sentence_tokenized': ('text', data.Field(sequential=True)),
'sentiment_gold': ('labels', data.Field(sequential=False))})
```
- Ability to define a preprocessing pipeline:
```python
Expand Down

0 comments on commit 2cb86b1

Please sign in to comment.