-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
4dae419
commit 1ed9cf7
Showing
8 changed files
with
370 additions
and
73 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,2 @@ | ||
from chaine.model import Trainer, CRF | ||
from chaine.core import process | ||
from chaine.core import featurize, train |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,15 +1,4 @@ | ||
#from pathlib import Path | ||
from typing import List, Optional, Iterable, Generator | ||
from typing import List, Optional, Generator | ||
|
||
FeatureGenerator = Generator[List[str], None, None] | ||
TokenGenerator = Generator["Token", None, None] | ||
|
||
|
||
""" | ||
Filepath = Union[str, Path] | ||
Vector = Union[List[str]] | ||
Matrix = Union[List[Vector]] | ||
MatrixGenerator = Generator[Matrix, None, None] | ||
SentenceGenerator = Generator["Sentence", None, None] | ||
FeatureGenerator = Generator[List[int], None, None] | ||
""" |
Oops, something went wrong.