The invention provides a method and
system for generating a
braille file. The method includes the steps that text of an
object file is obtained so as to obtain text content information; based on the text content information,
sentence word segmentation is conducted on the text to obtain
sentence word segmentation information; based on the
sentence word segmentation information, segmented-word
Pinyin labeling is conducted on the text so as to obtain segmented-word
Pinyin information; according to the segmented-word
Pinyin information,
braille conversion is conducted on the test so as to obtain
braille character information; the method for generating the braille file further includes correction
processing; the correction
processing includes at least one of the following steps that in response to a user selection,
ambiguity correction is conducted on the test so as to update the text content information, and the updated text content information is used for subsequent
sentence word segmentation
processing; in response to a user selection,
sentence word segmentation correction is conducted on the text so as to update the
sentence word segmentation information, and the updated sentence word segmentation information is used for subsequent segmented-word Pinyin
labelling; in response to the user selection, segmented-word Pinyin correction is conducted on the text so as to update segmented-word Pinyin information, and the updated segmented-word Pinyin information is used for subsequent braille conversion.