Skip to content

Commit

Permalink
Removed build script and updated parser
Browse files Browse the repository at this point in the history
  • Loading branch information
kaihorstmann committed Oct 17, 2023
1 parent 9f4d98c commit dc778ed
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 34 deletions.
33 changes: 0 additions & 33 deletions chemrel/src/chemrel/functions/build.py

This file was deleted.

2 changes: 1 addition & 1 deletion chemrel/src/chemrel/functions/parser.py
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ def parse(json_loc: Path, train_file: Path, dev_file: Path, test_file: Path):
"""

# Creating a custom extension attribute called "rel" for the Doc class and initializing it to an empty dictionary
Doc.set_extension("rel", default={})
Doc.set_extension("rel", default={}, force=True)

# Creating a new Vocab object
vocab = Vocab()
Expand Down

0 comments on commit dc778ed

Please sign in to comment.