<commit_before><div ng-if="itemController.search_result" class="search-results">
    <div class="search-results__header">
        <en>Your Search Results</en>
        <he>תוצאות חיפוש</he>
    </div>
    <div class="search-results__field" ng-if="itemController.search_result.name.isNotEmpty()" ng-click="itemController.goto_item(itemController.search_result.name)">
        <p class="vertical-middle">
            <en>{{itemController.search_result.name.Header.En}}</en>
            <he>{{itemController.search_result.name.Header.He}}</he>
        </p>
        <item-type type="'familyNames'"></item-type>
    </div>
    <div class="search-results__field" ng-if="itemController.search_result.place.isNotEmpty()" ng-click="itemController.goto_item(itemController.search_result.place)">
        <p class="vertical-middle">
            <en>{{itemController.search_result.place.Header.En}}</en>
            <he>{{itemController.search_result.place.Header.He}}</he>
        </p>
        <item-type type="'places'"></item-type>
    </div>
    <div class="search-results__field"
         ng-if="itemController.search_result.ftree_args" ng-click="itemController.goto_tree()">
        <p class="vertical-middle">
            <span ng-if="itemController.search_result.ftree_args.last_name &&
                       itemController.search_result.name.Header">
                <en>{{itemController.search_result.name.Header.En}}</en>
                <he>{{itemController.search_result.name.Header.He}}</he>
            </span>
            <span ng-if="itemController.search_result.ftree_args.last_name &&
                       !itemController.search_result.name.Header">
                       {{itemController.search_result.ftree_args.last_name[0]}}
            </span>
            <span ng-if="itemController.search_result.ftree_args.last_name && itemController.search_result.ftree_args.place">
            <br />
                <en>at</en>
                <he>מ</he>
            </span>
            <span ng-if="itemController.search_result.ftree_args.place && !itemController.search_result.place.Header"> 
                        {{itemController.search_result.ftree_args.place[0]}}
            </span>
            <span ng-if="itemController.search_result.ftree_args.place &&
                       itemController.search_result.place.Header">
                <en>{{itemController.search_result.place.Header.En}}</en>
                <he>{{itemController.search_result.place.Header.He}}</he>
            </span>
        </p>
        <item-type type="'genTreeIndividuals'"></item-type>
    </div>
</div>
<div class="related">
    <div class="related__header">
        <en>Related Items</en>
        <he>פרטים קשורים</he>
    </div>
    <item-preview ng-repeat="r_data in itemController.related_data | limitTo: 6" preview-data="r_data" item-source="bh"></item-preview> 
</div>
<commit_msg>resolving 'Searching for only a place in wizard produces fTrees result with no label'<commit_after><div ng-if="itemController.search_result" class="search-results">
    <div class="search-results__header">
        <en>Your Search Results</en>
        <he>תוצאות חיפוש</he>
    </div>
    <div class="search-results__field" ng-if="itemController.search_result.name.isNotEmpty()" ng-click="itemController.goto_item(itemController.search_result.name)">
        <p class="vertical-middle">
            <en>{{itemController.search_result.name.Header.En}}</en>
            <he>{{itemController.search_result.name.Header.He}}</he>
        </p>
        <item-type type="'familyNames'"></item-type>
    </div>
    <div class="search-results__field" ng-if="itemController.search_result.place.isNotEmpty()" ng-click="itemController.goto_item(itemController.search_result.place)">
        <p class="vertical-middle">
            <en>{{itemController.search_result.place.Header.En}}</en>
            <he>{{itemController.search_result.place.Header.He}}</he>
        </p>
        <item-type type="'places'"></item-type>
    </div>
    <div class="search-results__field"
         ng-if="itemController.search_result.ftree_args" ng-click="itemController.goto_tree()">
        <p class="vertical-middle">
            <span ng-if="itemController.search_result.ftree_args.last_name &&
                         itemController.search_result.name.Header">
                <en>{{itemController.search_result.name.Header.En}}</en>
                <he>{{itemController.search_result.name.Header.He}}</he>
            </span>
            <span ng-if="itemController.search_result.ftree_args.last_name &&
                        !itemController.search_result.name.Header">
                       {{itemController.search_result.ftree_args.last_name[0]}}
            </span>
            <span ng-if="itemController.search_result.ftree_args.last_name &&
                         itemController.search_result.ftree_args.birth_place">
                <br/>
                    <en>at</en>
                    <he>מ</he>
            </span>
            <span ng-if="itemController.search_result.ftree_args.birth_place &&
                        !itemController.search_result.place.Header"> 
                        {{itemController.search_result.ftree_args.birth_place[0]}}
            </span>
            <span ng-if="itemController.search_result.ftree_args.birth_place &&
                        itemController.search_result.place.Header">
                <en>{{itemController.search_result.place.Header.En}}</en>
                <he>{{itemController.search_result.place.Header.He}}</he>
            </span>
        </p>
        <item-type type="'genTreeIndividuals'"></item-type>
    </div>
</div>
<div class="related">
    <div class="related__header">
        <en>Related Items</en>
        <he>פרטים קשורים</he>
    </div>
    <item-preview ng-repeat="r_data in itemController.related_data | limitTo: 6" preview-data="r_data" item-source="bh"></item-preview> 
</div>

{'fraction_non_alphanumeric': 0.15067567567567566, 'fraction_numerical': 0.0010135135135135136, 'mean_word_length': 2.524404761904762, 'pattern_counts': {'":': 0, '<': 137, '<?xml version=': 0, '>': 137, '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': '4203795', 'n_tokens_mistral': 1842, 'n_tokens_neox': 1747, 'n_words': 199}