version 1.80.2.16, 2008/01/14 18:54:46
|
version 1.80.2.18, 2008/01/18 20:53:49
|
Line 108 def formatAtfFullLineNum(txt, nolemma=Tr
|
Line 108 def formatAtfFullLineNum(txt, nolemma=Tr
|
surf = line.replace(words[0],surfaces[words[0]]).strip() |
surf = line.replace(words[0],surfaces[words[0]]).strip() |
|
|
elif words[0] == '@column': |
elif words[0] == '@column': |
col = words[1] |
col = ''.join(words[1:]) |
|
|
elif line and line[0] in '123456789': |
elif line and line[0] in '123456789': |
# ordinary line -> add line number |
# ordinary line -> add line number |
Line 2238 class CDLIRoot(Folder):
|
Line 2238 class CDLIRoot(Folder):
|
# split search terms again (for grapheme search with words) |
# split search terms again (for grapheme search with words) |
splitwords = dict(((w,self.splitter[indexName].process([w])) for w in words)) |
splitwords = dict(((w,self.splitter[indexName].process([w])) for w in words)) |
|
|
for line in file.linesplit(): |
for line in file.splitlines(): |
line = unicodify(line) |
line = unicodify(line) |
# ignore lemma and other lines |
# ignore lemma and other lines |
if line.lstrip().startswith('#lem:'): |
if line.lstrip().startswith('#lem:'): |