# Path: sanskrit_parser/base/sanskrit_base.py
# class SanskritObject(SanskritNormalizedString):
#     """ Sanskrit Object Class: Derived From SanskritString
# 
#         Attributes:
# 
#     """
#     def __init__(self, thing=None, encoding=None, unicode_encoding='utf-8',
#                  strict_io=True, replace_ending_visarga='s'):
#         super().__init__(thing, encoding, unicode_encoding, strict_io, replace_ending_visarga)
#         # Tags will go here as
#         self.tags = []
# 
#     def setMorphologicalTags(self, t):
#         """ Set Morphological Tags on Sanskrit Object
# 
#             Params:
#                t (list): List of morphological tags
#         """
#         self.tags.extend(t)
#         return self.tags
# 
#     def getMorphologicalTags(self):
#         """ Morphological Tags on object """
#         return self.tags
# 
# SLP1 = sanscript.SLP1


import codecs
import inspect
import json
import logging
import os
import re
import progressbar
from sanskrit_parser.base.sanskrit_base import SanskritObject, SLP1
from sanskrit_parser.lexical_analyzer.sanskrit_lexical_analyzer import SanskritLexicalAnalyzer
#!/usr/bin/env python

from __future__ import print_function



logger = logging.getLogger(__name__)

logging.basicConfig(filename='gen_uohd_lexan_passfail.log', filemode='w',
                    level=logging.INFO)


def _dumpchars(sr):
    s = sr
    # Random characters in UOHD files

# Path: sanskrit_parser/base/sanskrit_base.py
# class SanskritObject(SanskritNormalizedString):
#     """ Sanskrit Object Class: Derived From SanskritString
# 
#         Attributes:
# 
#     """
#     def __init__(self, thing=None, encoding=None, unicode_encoding='utf-8',
#                  strict_io=True, replace_ending_visarga='s'):
#         super().__init__(thing, encoding, unicode_encoding, strict_io, replace_ending_visarga)
#         # Tags will go here as
#         self.tags = []
# 
#     def setMorphologicalTags(self, t):
#         """ Set Morphological Tags on Sanskrit Object
# 
#             Params:
#                t (list): List of morphological tags
#         """
#         self.tags.extend(t)
#         return self.tags
# 
#     def getMorphologicalTags(self):
#         """ Morphological Tags on object """
#         return self.tags
# 
# SLP1 = sanscript.SLP1


# Path: tests/obsolete/generate_uohd_LexicalAnalyzer_pass_fail.py
import codecs
import inspect
import json
import logging
import os
import re
import progressbar
from sanskrit_parser.base.sanskrit_base import SanskritObject, SLP1
from sanskrit_parser.lexical_analyzer.sanskrit_lexical_analyzer import SanskritLexicalAnalyzer

#!/usr/bin/env python

from __future__ import print_function



logger = logging.getLogger(__name__)

logging.basicConfig(filename='gen_uohd_lexan_passfail.log', filemode='w',
                    level=logging.INFO)


def _dumpchars(sr):
    s = sr
    # Random characters in UOHD files

    for c in ",'-;().?!*\"0123456789":