Skip to content

Commit

Permalink
Merge branch 'main' of github.com:michalu/up2
Browse files Browse the repository at this point in the history
  • Loading branch information
Michał Ulewicz authored and Michał Ulewicz committed Apr 8, 2022
2 parents f86c3f2 + 3888048 commit 5897240
Showing 1 changed file with 5 additions and 4 deletions.
9 changes: 5 additions & 4 deletions postprocess-spade.py
Original file line number Diff line number Diff line change
Expand Up @@ -29,9 +29,9 @@ def process(source, ud, spade):

columns = [
Column("ID", ColumnType.ID),
Column("UP:PREDS", ColumnType.UP_PREDS),
Column("UP:DEPARGS", ColumnType.UP_DEPARGS),
Column("UP:SPANARGS", ColumnType.UP_SPANARGS)
Column("UP:PRED", ColumnType.UP_PREDS),
Column("UP:ARGHEADS", ColumnType.UP_DEPARGS),
Column("UP:ARGSPANS", ColumnType.UP_SPANARGS)
]

tree = Tree(columns)
Expand Down Expand Up @@ -102,4 +102,5 @@ def process(source, ud, spade):

t1 = time.time()

logging.info(f'Total postprocess-spade time: {(t1 - t0):.2f} s, processed sentences: {counter}')
logging.info(f'Total postprocess-spade time: {(t1 - t0):.2f} s, processed sentences: {counter}')

0 comments on commit 5897240

Please sign in to comment.