WIP on iob converter

This commit is contained in:
Matthew Honnibal 2017-05-19 13:24:39 -05:00
parent 8d5e6d9f4f
commit 09a877886b
2 changed files with 4 additions and 2 deletions

View File

@ -3,7 +3,7 @@ from __future__ import unicode_literals
from pathlib import Path from pathlib import Path
from .converters import conllu2json from .converters import conllu2json, iob2json
from ..util import prints from ..util import prints
@ -13,7 +13,8 @@ from ..util import prints
CONVERTERS = { CONVERTERS = {
'.conllu': conllu2json, '.conllu': conllu2json,
'.conll': conllu2json '.conll': conllu2json,
'.iob': iob2json
} }

View File

@ -1 +1,2 @@
from .conllu2json import conllu2json from .conllu2json import conllu2json
from .iob2json import iob2json