Permalink
Browse files

Removed debug code.

  • Loading branch information...
1 parent a9ae0ac commit ecc91c087c21a5036b549f95cce4608a5eb5aaf0 @julosaure committed Apr 9, 2012
Showing with 0 additions and 8 deletions.
  1. +0 −8 lalign.py
View
@@ -40,13 +40,9 @@ def __str__(self):
class LNumSentence(list):
def __init__(self, lSentence_):
lSentence = copy.copy(lSentence_)
- #lPos = [Pos(i) for i in xrange(len(lSentence))]
- #l = zip(lPos, lSentence)
- #self.extend(l)
i = 0
for sent in lSentence:
p = AbsSent([AbsPos(i), sent])
- #print p
self.append(p)
i += 1
@@ -60,10 +56,6 @@ def popBySentenceNum__(self, num_):
break
pos += 1
-#class LAlign(list):
-# def __setitem__(self, pos, item):
-# assert isinstance(item, Alignment) or isinstance(item, PosSent), str(type(item))
-# self[pos] = item
def getSentOrAlignAtPos(self, pos):
item = self[pos]

0 comments on commit ecc91c0

Please sign in to comment.