Skip to content
Snippets Groups Projects
Commit a0549781 authored by Michał Pogoda's avatar Michał Pogoda
Browse files

Pep8 fixes

parent a590b5ff
Branches
Tags
1 merge request!16S3 synchronization and CI
Pipeline #3888 passed
models
example_texts
.tox
\ No newline at end of file
"""Implementation of punctuator service"""
import configparser
import json
import string
import os
import string
import nlp_ws
from transformers import AutoModelForTokenClassification, AutoTokenizer
import language_tool_python
from transformers import AutoModelForTokenClassification, AutoTokenizer
from punctuator.utils import (
combine_masks,
decode,
decode_labels,
inference_masks,
)
from punctuator.utils import (combine_masks, decode, decode_labels,
inference_masks)
def _preprocess_input(text: str):
......
"""Implementation of punctuator service"""
import argparse
import configparser
import json
import string
import os
import nlp_ws
from transformers import AutoModelForTokenClassification, AutoTokenizer
import language_tool_python
import argparse
from punctuator.punctuator import Punctuator
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment