"""
@package grammar

All tools for grammar and synctactic parsing.
"""

from abstracter.grammar.systran_parser import parse_systran, to_grammar_tree
from abstracter.grammar.group_grammartree import group_grammartree


def systran_to_grammartree(file):
    data = parse_systran(file)
    tree = to_grammar_tree(data)
    group_grammartree(tree)
    return tree

162f0c2afee1f6fb02111dbcd61a24816a35d936
<mask token>

<mask token>


def systran_to_grammartree(file):
    data = parse_systran(file)
    tree = to_grammar_tree(data)
    group_grammartree(tree)
    return tree

<mask token>
from abstracter.grammar.systran_parser import parse_systran, to_grammar_tree
from abstracter.grammar.group_grammartree import group_grammartree


def systran_to_grammartree(file):
    data = parse_systran(file)
    tree = to_grammar_tree(data)
    group_grammartree(tree)
    return tree

"""
@package grammar

All tools for grammar and synctactic parsing.
"""

from abstracter.grammar.systran_parser import parse_systran, to_grammar_tree
from abstracter.grammar.group_grammartree import group_grammartree


def systran_to_grammartree(file):
    data = parse_systran(file)
    tree = to_grammar_tree(data)
    group_grammartree(tree)
    return tree
