Closed kavitharaju closed 10 months ago
Changed the API as per the suggestion. This is how it is now
from usfm_grammar import USFMParser, Filter
my_parser = USFMParser(input_usfm_str)
usj_obj = my_parser.to_usj()
my_parser2 = USFMParser(from_usj=usj_obj)
print(my_parser2.usfm)
This PR
:warning: The failing test cases are due to one testsuite file which needs a fix (\b should be \p)
How-To round trip
⚠️ There will be differences between first USFM and the generated one in 1. Spaces and lines 2. Default attributes will be given their names 3. Closing markers may be newly added
How-To remove unwanted markers from USFM