mirror of https://github.com/explosion/spaCy.git
Remove unused imports
This commit is contained in:
parent
4757899370
commit
5f0f940a1f
|
@ -7,8 +7,6 @@ from os import path
|
|||
import shutil
|
||||
import codecs
|
||||
import random
|
||||
import time
|
||||
import gzip
|
||||
|
||||
import plac
|
||||
import cProfile
|
||||
|
|
|
@ -1,8 +1,6 @@
|
|||
"""Read a vector file, and prepare it as binary data, for easy consumption"""
|
||||
|
||||
import bz2
|
||||
import plac
|
||||
import struct
|
||||
|
||||
from spacy.vocab import write_binary_vectors
|
||||
|
||||
|
|
|
@ -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 fabtools.python import virtualenv
|
||||
from os import path
|
||||
|
|
5
setup.py
5
setup.py
|
@ -1,16 +1,11 @@
|
|||
#!/usr/bin/env python
|
||||
import subprocess
|
||||
from setuptools import setup
|
||||
from glob import glob
|
||||
import shutil
|
||||
|
||||
import sys
|
||||
import os
|
||||
from os import path
|
||||
from os.path import splitext
|
||||
|
||||
|
||||
import shutil
|
||||
from setuptools import Extension
|
||||
from distutils import sysconfig
|
||||
import platform
|
||||
|
|
|
@ -1,4 +1,3 @@
|
|||
import os
|
||||
from os import path
|
||||
import codecs
|
||||
import json
|
||||
|
|
|
@ -3,7 +3,6 @@ from __future__ import unicode_literals
|
|||
from spacy.en import English
|
||||
|
||||
import pytest
|
||||
import re
|
||||
|
||||
|
||||
EN = English()
|
||||
|
|
|
@ -4,7 +4,6 @@ from spacy.en import English
|
|||
from spacy.util import utf8open
|
||||
|
||||
import pytest
|
||||
import os
|
||||
from os import path
|
||||
|
||||
|
||||
|
|
Loading…
Reference in New Issue