mirror of
https://github.com/explosion/spaCy.git
synced 2025-01-12 10:16:27 +03:00
Remove unused imports
This commit is contained in:
parent
4757899370
commit
5f0f940a1f
|
@ -7,8 +7,6 @@ from os import path
|
||||||
import shutil
|
import shutil
|
||||||
import codecs
|
import codecs
|
||||||
import random
|
import random
|
||||||
import time
|
|
||||||
import gzip
|
|
||||||
|
|
||||||
import plac
|
import plac
|
||||||
import cProfile
|
import cProfile
|
||||||
|
|
|
@ -1,8 +1,6 @@
|
||||||
"""Read a vector file, and prepare it as binary data, for easy consumption"""
|
"""Read a vector file, and prepare it as binary data, for easy consumption"""
|
||||||
|
|
||||||
import bz2
|
|
||||||
import plac
|
import plac
|
||||||
import struct
|
|
||||||
|
|
||||||
from spacy.vocab import write_binary_vectors
|
from spacy.vocab import write_binary_vectors
|
||||||
|
|
||||||
|
|
2
fabfile.py
vendored
2
fabfile.py
vendored
|
@ -1,4 +1,4 @@
|
||||||
from fabric.api import local, run, lcd, cd, env
|
from fabric.api import local, lcd, env
|
||||||
from os.path import exists as file_exists
|
from os.path import exists as file_exists
|
||||||
from fabtools.python import virtualenv
|
from fabtools.python import virtualenv
|
||||||
from os import path
|
from os import path
|
||||||
|
|
5
setup.py
5
setup.py
|
@ -1,16 +1,11 @@
|
||||||
#!/usr/bin/env python
|
#!/usr/bin/env python
|
||||||
import subprocess
|
|
||||||
from setuptools import setup
|
from setuptools import setup
|
||||||
from glob import glob
|
|
||||||
import shutil
|
import shutil
|
||||||
|
|
||||||
import sys
|
import sys
|
||||||
import os
|
import os
|
||||||
from os import path
|
from os import path
|
||||||
from os.path import splitext
|
|
||||||
|
|
||||||
|
|
||||||
import shutil
|
|
||||||
from setuptools import Extension
|
from setuptools import Extension
|
||||||
from distutils import sysconfig
|
from distutils import sysconfig
|
||||||
import platform
|
import platform
|
||||||
|
|
|
@ -1,4 +1,3 @@
|
||||||
import os
|
|
||||||
from os import path
|
from os import path
|
||||||
import codecs
|
import codecs
|
||||||
import json
|
import json
|
||||||
|
|
|
@ -3,7 +3,6 @@ from __future__ import unicode_literals
|
||||||
from spacy.en import English
|
from spacy.en import English
|
||||||
|
|
||||||
import pytest
|
import pytest
|
||||||
import re
|
|
||||||
|
|
||||||
|
|
||||||
EN = English()
|
EN = English()
|
||||||
|
|
|
@ -4,7 +4,6 @@ from spacy.en import English
|
||||||
from spacy.util import utf8open
|
from spacy.util import utf8open
|
||||||
|
|
||||||
import pytest
|
import pytest
|
||||||
import os
|
|
||||||
from os import path
|
from os import path
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user