mirror of
https://github.com/explosion/spaCy.git
synced 2024-12-24 17:06:29 +03:00
WIP on iob converter
This commit is contained in:
parent
8d5e6d9f4f
commit
09a877886b
|
@ -3,7 +3,7 @@ from __future__ import unicode_literals
|
|||
|
||||
from pathlib import Path
|
||||
|
||||
from .converters import conllu2json
|
||||
from .converters import conllu2json, iob2json
|
||||
from ..util import prints
|
||||
|
||||
|
||||
|
@ -13,7 +13,8 @@ from ..util import prints
|
|||
|
||||
CONVERTERS = {
|
||||
'.conllu': conllu2json,
|
||||
'.conll': conllu2json
|
||||
'.conll': conllu2json,
|
||||
'.iob': iob2json
|
||||
}
|
||||
|
||||
|
||||
|
|
|
@ -1 +1,2 @@
|
|||
from .conllu2json import conllu2json
|
||||
from .iob2json import iob2json
|
||||
|
|
Loading…
Reference in New Issue
Block a user