Skip to content

Commit

Permalink
removed old dependencies
Browse files Browse the repository at this point in the history
  • Loading branch information
dkrasner committed Dec 7, 2013
1 parent 4913519 commit 2ba4eb2
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 5 deletions.
4 changes: 2 additions & 2 deletions rosetta/cmd/files_to_vw.py
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,8 @@
import sys
from random import shuffle

from declass.utils import filefilter, text_processors
from declass.utils.common import SaveLoad
from rosetta.text import filefilter, text_processors
from common_abc import SaveLoad

from rosetta.parallel.parallel_easy import imap_easy

Expand Down
3 changes: 1 addition & 2 deletions rosetta/cmd/filter_sfile.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,7 @@
import argparse
import sys

from declass.utils.text_processors import SFileFilter

from rosetta.text.text_processors import SFileFilter

def _cli():
# Text to display after help
Expand Down
2 changes: 1 addition & 1 deletion rosetta/text/streamers.py
Original file line number Diff line number Diff line change
Expand Up @@ -313,7 +313,7 @@ def to_vw(self, outfile, n_jobs=1, chunksize=1000, raise_on_bad_id=True):
a valid VW "Tag". I.e. contains :, |, ', or whitespace.
If False, print warning.
"""
# Note: This is similar to declass/cmd/files_to_vw.py
# Note: This is similar to rosetta/cmd/files_to_vw.py
# This implementation is more complicated, due to the fact that a
# streamer specifies the method to extract doc_id from a stream.
# To be faithful to the streamer, we must therefore use the streamer
Expand Down

0 comments on commit 2ba4eb2

Please sign in to comment.