naf2conll/naf2conll/conll_writers.py
def write_word(self, writeable, document_id, word, column_sizes):
        """
        Write a row for a word

        Always raises an exception if something is missing.
        """
        writeable.write(document_id)
        for column in self.columns:
            writeable.write(self.min_column_spacing * ' ')
            value = word[column]
            writeable.write((column_sizes[column] - len(value)) * ' ')
            writeable.write(value)
        writeable.write('\n')

        Write a row for a word

        Always raises an exception if something is missing.
        
Write a row for a word
Always raises an exception if something is missing.
Write a row for a word Always raises an exception if something is missing .
def write_word(self, writeable, document_id, word, column_sizes):
        writeable.write(document_id)
        for column in self.columns:
            writeable.write(self.min_column_spacing * ' ')
            value = word[column]
            writeable.write((column_sizes[column] - len(value)) * ' ')
            writeable.write(value)
        writeable.write('\n')
def write_word ( self , writeable , document_id , word , column_sizes ) : writeable . write ( document_id ) for column in self . columns : writeable . write ( self . min_column_spacing * ' ' ) value = word [ column ] writeable . write ( ( column_sizes [ column ] - len ( value ) ) * ' ' ) writeable . write ( value ) writeable . write ( '\n' )
Write a row for a word
Always raises an exception if something is missing.
Write a row for a word Always raises an exception if something is missing .
"""
        Write a row for a word

        Always raises an exception if something is missing.
        """
self
writeable
document_id
word
column_sizes