|
|
|
|
|
parse_dir_to_file(self,
dir_path,
list_of_tagged_sentences,
input_path=' /tmp/parse_dir_to_file_unparsed.conll ' ,
output_path=' /tmp/parse_dir_to_file_parsed.conll ' )
It parses a whole directory of plain texts into a single file |
source code
|
|
|
|
|
parse_tagged_file(self,
tagged_file_name,
output_file_name) |
source code
|
|
|
|
|
|
|
|
|
|
|
_reorganize(self,
sentences)
Reorganizes the output_parsed CoNLL 2006 file to simplify the
subordinating sentences |
source code
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
_format(self,
sentences)
Prepares a text to get a DependencyGraph instance |
source code
|
|
Inherited from object :
__delattr__ ,
__format__ ,
__getattribute__ ,
__hash__ ,
__new__ ,
__reduce__ ,
__reduce_ex__ ,
__repr__ ,
__setattr__ ,
__sizeof__ ,
__str__ ,
__subclasshook__
|