diff --git a/README.rst b/README.rst index 9da4b22..72ad0fc 100644 --- a/README.rst +++ b/README.rst @@ -133,13 +133,13 @@ The package contains several text analysis tasks to generate the terms used in t .. code-block:: bash - $ ./mange.py construct_tfidf_model gensim_data/immix_summaries.mm gensim_data/immix_summaries.tfidf_model + $ ./manage.py construct_tfidf_model gensim_data/immix_summaries.mm gensim_data/immix_summaries.tfidf_model 7. Add the topN 'most descriptive' terms to each indexed document: .. code-block:: bash - $ ./mange.py analyze_text index_descriptive_terms "immix_analyzed/summaries/*.tar.gz" gensim_data/immix_summaries_pruned.dict gensim_data/immix_summaries.tfidf_model gensim_data/immix_summaries.tfidf_model 'quamerdes_immix_20140920' 'text_descriptive_terms' 10 + $ ./manage.py analyze_text index_descriptive_terms "immix_analyzed/summaries/*.tar.gz" gensim_data/immix_summaries_pruned.dict gensim_data/immix_summaries.tfidf_model gensim_data/immix_summaries.tfidf_model 'quamerdes_immix_20140920' 'text_descriptive_terms' 10 License ------- diff --git a/avresearcher/static/templates/search/results_list_kb.html b/avresearcher/static/templates/search/results_list_kb.html index 310c09a..0e32843 100644 --- a/avresearcher/static/templates/search/results_list_kb.html +++ b/avresearcher/static/templates/search/results_list_kb.html @@ -5,7 +5,7 @@ var title; if ('highlight' in hit && 'title' in hit.highlight) { title = hit.highlight.title[0]; - } if (hit.fields.title[0]) { + } else if (hit.fields.title[0]) { title = hit.fields.title; } else { title = '(untitled article)';