71bd2aa1128f242429ef8245b0c14e13672ed8d7,bin/latex_to_unicode.py,,,#,112

Before Change


            close = openers[open].close or ""
            return "".join(map(unparse_latex, l)) + close

trivial_math_re = re.compile(r"@?[\d.,]*(\\%|%)?")

def xmlify_string(s):
    Convert output of parse_latex into an XML string. 
    It does *not* escape <, >, and &.

After Change


    return s

math_table = {r"\sim": r"\textasciitilde"}
for c in list(".,@%~") + [r"\%"]:
    math_table[c] = c

def flatten_trivial_math(node):
    Convert math that doesn"t really need to be math into text.
    def visit(node):
        if isinstance(node, str):
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 4

Non-data size: 5

Instances


Project Name: acl-org/acl-anthology
Commit Name: 71bd2aa1128f242429ef8245b0c14e13672ed8d7
Time: 2019-05-08
Author: dchiang@nd.edu
File Name: bin/latex_to_unicode.py
Class Name:
Method Name:


Project Name: home-assistant/home-assistant
Commit Name: e4b2ae29bddadf42dfde8bbb9b2332a8f7c1c883
Time: 2018-08-05
Author: 32173585+ahobsonsayers@users.noreply.github.com
File Name: homeassistant/components/device_tracker/bt_home_hub_5.py
Class Name:
Method Name:


Project Name: astroML/astroML
Commit Name: 72cb7a23af6fbe31367cbfcbbe13994455708593
Time: 2019-01-02
Author: bsipocz@gmail.com
File Name: doc/sphinxext/numpy_ext/docscrape.py
Class Name: NumpyDocString
Method Name: NumpyDocString_1


Project Name: PyThaiNLP/pythainlp
Commit Name: 6b78a35ded669b32dc60e8b5b9681cd7b0bc9a3b
Time: 2018-11-03
Author: arthit@gmail.com
File Name: pythainlp/collation/__init__.py
Class Name:
Method Name: