<commit_before><nav class="navbar navbar-fixed-top border-bottom white-bg" role="navigation">
    <div class="navbar-header">
        <button aria-controls="navbar" aria-expanded="false" data-target="#navbar" data-toggle="collapse" class="navbar-toggle collapsed" type="button">
            <i class="fa fa-reorder"></i>
        </button>
        <a href="" ng-click="toggleView()" class="navbar-brand">WordNet Workbench<div class="version">Client: v{{clientVersion}}, API: v{{apiVersion}}</div></a>
    </div>

    <div class="navbar-collapse collapse" id="navbar">
        <ul class="nav navbar-nav">
            <li class="dropdown" ng-if="($state.includes('sense') || $state.includes('synset') || $state.includes('home')) && principal.groups.indexOf('WNWB-admin')>-1">
                <a href="" class="dropdown-toggle" data-toggle="dropdown" role="button" aria-haspopup="true" aria-expanded="false"><b>Edit view</b> <span class="caret"></span></a>
                <ul class="dropdown-menu">
                    <li><a href="#/admin">Admin view</a></li>

                </ul>
            </li>
            <li class="dropdown" ng-if="$state.includes('admin')">
                <a href="" class="dropdown-toggle" data-toggle="dropdown" role="button" aria-haspopup="true" aria-expanded="false"><b>Admin view</b> <span class="caret"></span></a>
                <ul class="dropdown-menu">
                    <li><a href="#/home">Main view</a></li>

                </ul>
            </li>

            <li ng-if="$state.includes('sense') || $state.includes('synset') || $state.includes('synset') || $state.includes('home') || $state.includes('admin')" class="dropdown" style="line-height: 1em;">
                <a href="" class="dropdown-toggle" data-toggle="dropdown" role="button" aria-haspopup="true" aria-expanded="false">
                <b><span class="icon expand-icon glyphicon glyphicon-list"></span> {{workingLexicon.resource.name}} {{workingLexicon.version}} [{{workingLexicon.language}}]</b> 
                   <span class="caret"></span></a>
                <ul class="dropdown-menu">
                    <li ng-repeat="(key, value) in lexicons">
                        <a ng-click="setWorkingLexicon(value)">{{value.resource.name}} {{value.version}} [{{value.language}}]</a>
                    </li>
                </ul>
            </li>

            <li ng-if="($state.includes('sense') || $state.includes('synset') || $state.includes('synset') || $state.includes('home') || $state.includes('admin')) && principal.groups.indexOf('WNWB-contributor')>-1" class="dropdown" style="line-height: 1em;">
                <a href="" class="dropdown-toggle" data-toggle="dropdown" role="button" aria-haspopup="true" aria-expanded="false"><span class="icon expand-icon glyphicon glyphicon-plus"></span> New</b> <span class="caret"></span></a>
                <ul class="dropdown-menu">
                    <li>
                        <a ng-click="$state.go('synset_edit', {id: null})">New SynSet</a>
                    </li>
                </ul>
            </li>

            <li ng-if="$state.includes('sense') || $state.includes('synset') || $state.includes('synset') || $state.includes('home')"><a ng-click="openLiteralSearch()"><b><i class="fa fa-search"></i> Browse</b></a></li>
            <li ng-if="($state.includes('sense') || $state.includes('synset') || $state.includes('synset') || $state.includes('home')) && principal.groups.indexOf('WNWB-contributor')>-1"><a data-toggle="modal" data-target="#filter_search" href=""><b><i class="fa fa-search"></i> Advanced search</b></a></li>
            <!--<li ng-if="$state.includes('sense') || $state.includes('synset') || $state.includes('synset') || $state.includes('home')"><a data-toggle="modal" data-target="#go_toModal" href=""><b><i class="fa fa-arrow-right"></i> Go to ID</b></a></li>-->

            <!--<li ng-if="$state.current.name == 'admin'"><a data-toggle="modal" data-target="#filter_searc" href=""><b><i class="fa fa-search"></i> Link types</b></a></li>
            <li ng-if="$state.current.name == 'admin'"><a data-toggle="modal" data-target="#go_toModal" href=""><b><i class="fa fa-arrow-right"></i> Domains</b></a></li>-->

        </ul>
        <ul class="nav navbar-top-links navbar-right">
            <li ng-if="$state.includes('sense') || $state.includes('synset') || $state.includes('home') || $state.includes('admin')">{{principal.first_name}} {{principal.last_name}} ({{principal.username}})</li>
            <li ng-if="$state.includes('sense') || $state.includes('synset') || $state.includes('synset') || $state.includes('home') || $state.includes('admin')"><a ng-click="logout()"><i class="fa fa-sign-out"></i> Log out</b></a></li>
        </ul>
    </div>
</nav><commit_msg>suured muudatused navigeerimises, uus parent 'lexicon'<commit_after><nav class="navbar navbar-fixed-top border-bottom white-bg" role="navigation">
    <div class="navbar-header">
        <button aria-controls="navbar" aria-expanded="false" data-target="#navbar" data-toggle="collapse" class="navbar-toggle collapsed" type="button">
            <i class="fa fa-reorder"></i>
        </button>
        <a href="" ng-click="toggleView()" class="navbar-brand">WordNet Workbench<div class="version">Client: v{{clientVersion}}, API: v{{apiVersion}}</div></a>
    </div>

    <div class="navbar-collapse collapse" id="navbar">
        <ul class="nav navbar-nav">
            <li class="dropdown" ng-if="($state.includes('lexicon.sense') || $state.includes('lexicon.synset') || $state.includes('home') || $state.includes('lexicon') ) && principal.groups.indexOf('WNWB-admin')>-1">
                <a href="" class="dropdown-toggle" data-toggle="dropdown" role="button" aria-haspopup="true" aria-expanded="false"><b>Edit view</b> <span class="caret"></span></a>
                <ul class="dropdown-menu">
                    <li><a href="#/admin">Admin view</a></li>

                </ul>
            </li>
            <li class="dropdown" ng-if="$state.includes('admin')">
                <a href="" class="dropdown-toggle" data-toggle="dropdown" role="button" aria-haspopup="true" aria-expanded="false"><b>Admin view</b> <span class="caret"></span></a>
                <ul class="dropdown-menu">
                    <li><a href="#/home">Main view</a></li>

                </ul>
            </li>

            <li ng-if="$state.includes('lexicon.sense') || $state.includes('lexicon.synset') || $state.includes('home') || $state.includes('lexicon')  || $state.includes('admin')" class="dropdown" style="line-height: 1em;">
                <a href="" class="dropdown-toggle" data-toggle="dropdown" role="button" aria-haspopup="true" aria-expanded="false">
                <b><span class="icon expand-icon glyphicon glyphicon-list"></span> {{workingLexicon.resource.name}} {{workingLexicon.version}} [{{workingLexicon.language}}]</b> 
                   <span class="caret"></span></a>
                <ul class="dropdown-menu">
                    <li ng-repeat="(key, value) in lexicons">
                        <a ng-click="setWorkingLexicon(value)">{{value.resource.name}} {{value.version}} [{{value.language}}]</a>
                    </li>
                </ul>
            </li>

            <li ng-if="$state.includes('lexicon.sense') || $state.includes('lexicon.synset') || $state.includes('home') || $state.includes('lexicon')  || $state.includes('admin')" class="dropdown" style="line-height: 1em;">
                <a href=""  role="button" aria-haspopup="true" aria-expanded="false">
                <b><span class="" ng-click="$state.go('lexicon.stat', {lexId:workingLexicon.id})" > Lexicon stats </span> </b> 
                   <span class="caret"></span></a>
               
            </li>
            
            <li ng-if="($state.includes('lexicon.sense') || $state.includes('lexicon.synset')  || $state.includes('home') || $state.includes('lexicon') || $state.includes('admin')) && principal.groups.indexOf('WNWB-contributor')>-1" class="dropdown" style="line-height: 1em;">
                <a href="" class="dropdown-toggle" data-toggle="dropdown" role="button" aria-haspopup="true" aria-expanded="false"><span class="icon expand-icon glyphicon glyphicon-plus"></span> <b>New</b> <span class="caret"></span></a>
                <ul class="dropdown-menu">
                    <li>
                        <a ng-click="$state.go('lexicon.synset_edit', {id: null})">New SynSet</a>
                    </li>
                </ul>
            </li>

            <li ng-if="$state.includes('lexicon.sense') || $state.includes('lexicon.synset') || $state.includes('home') || $state.includes('lexicon') "><a ng-click="openLiteralSearch()"><b><i class="fa fa-search"></i> Browse</b></a></li>
            <li ng-if="($state.includes('lexicon.sense') || $state.includes('lexicon.synset') || $state.includes('home') || $state.includes('lexicon') ) && principal.groups.indexOf('WNWB-contributor')>-1"><a data-toggle="modal" data-target="#filter_search" href=""><b><i class="fa fa-search"></i> Advanced search</b></a></li>
            <!--<li ng-if="$state.includes('sense') || $state.includes('synset') || $state.includes('synset') || $state.includes('home')"><a data-toggle="modal" data-target="#go_toModal" href=""><b><i class="fa fa-arrow-right"></i> Go to ID</b></a></li>-->

            <!--<li ng-if="$state.current.name == 'admin'"><a data-toggle="modal" data-target="#filter_searc" href=""><b><i class="fa fa-search"></i> Link types</b></a></li>
            <li ng-if="$state.current.name == 'admin'"><a data-toggle="modal" data-target="#go_toModal" href=""><b><i class="fa fa-arrow-right"></i> Domains</b></a></li>-->

        </ul>
        <ul class="nav navbar-top-links navbar-right">
            <li ng-if="$state.includes('lexicon.sense') || $state.includes('lexicon.synset') || $state.includes('home') || $state.includes('lexicon') || $state.includes('admin')">{{principal.first_name}} {{principal.last_name}} ({{principal.username}})</li>
            <li ng-if="$state.includes('lexicon.sense') || $state.includes('lexicon.synset') || $state.includes('home') || $state.includes('lexicon') || $state.includes('admin')"><a ng-click="logout()"><i class="fa fa-sign-out"></i> <b>Log out</b></a></li>
        </ul>
    </div>
</nav>
{'fraction_non_alphanumeric': 0.22880945461590624, 'fraction_numerical': 0.001065581710743001, 'mean_word_length': 3.157873540072493, 'pattern_counts': {'":': 0, '<': 271, '<?xml version=': 0, '>': 277, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '1979674', 'n_tokens_mistral': 3263, 'n_tokens_neox': 3127, 'n_words': 502}