Skip to content

Commit

Permalink
fix reference docs
Browse files Browse the repository at this point in the history
  • Loading branch information
rwood-97 committed Aug 30, 2023
1 parent efb4d5b commit d0f9989
Show file tree
Hide file tree
Showing 16 changed files with 78 additions and 78 deletions.
6 changes: 3 additions & 3 deletions docs/source/reference/geoparser/linker.rst
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
``geoparser.linking.Linker``
``t_res.geoparser.linking.Linker``
============================

.. autoclass:: geoparser.linking.Linker
.. autoclass:: t_res.geoparser.linking.Linker
:members:
:undoc-members:

.. autoattribute:: geoparser.linking.RANDOM_SEED
.. autoattribute:: t_res.geoparser.linking.RANDOM_SEED
4 changes: 2 additions & 2 deletions docs/source/reference/geoparser/pipeline.rst
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
``geoparser.pipeline.Pipeline``
``t_res.geoparser.pipeline.Pipeline``
===============================

.. autoclass:: geoparser.pipeline.Pipeline
.. autoclass:: t_res.geoparser.pipeline.Pipeline
:members:
:undoc-members:
4 changes: 2 additions & 2 deletions docs/source/reference/geoparser/ranker.rst
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
``geoparser.ranking. Ranker``
``t_res.geoparser.ranking. Ranker``
=============================

.. autoclass:: geoparser.ranking.Ranker
.. autoclass:: t_res.geoparser.ranking.Ranker
:members:
:undoc-members:
4 changes: 2 additions & 2 deletions docs/source/reference/geoparser/recogniser.rst
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
``geoparser.recogniser.Recogniser``
``t_res.geoparser.recogniser.Recogniser``
===================================

.. autoclass:: geoparser.recogniser.Recogniser
.. autoclass:: t_res.geoparser.recogniser.Recogniser
:members:
:undoc-members:
10 changes: 5 additions & 5 deletions docs/source/reference/utils/deezy_processing.rst
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
``utils.deezy_processing`` module
``t_res.utils.deezy_processing`` module
=================================

.. autofunction:: utils.deezy_processing.obtain_matches
.. autofunction:: t_res.utils.deezy_processing.obtain_matches

.. autofunction:: utils.deezy_processing.create_training_set
.. autofunction:: t_res.utils.deezy_processing.create_training_set

.. autofunction:: utils.deezy_processing.train_deezy_model
.. autofunction:: t_res.utils.deezy_processing.train_deezy_model

.. autofunction:: utils.deezy_processing.generate_candidates
.. autofunction:: t_res.utils.deezy_processing.generate_candidates
6 changes: 3 additions & 3 deletions docs/source/reference/utils/get_data.rst
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
``utils.get_data`` module
``t_res.utils.get_data`` module
=========================

.. autofunction:: utils.get_data.download_lwm_data
.. autofunction:: t_res.utils.get_data.download_lwm_data

.. autofunction:: utils.get_data.download_hipe_data
.. autofunction:: t_res.utils.get_data.download_hipe_data
18 changes: 9 additions & 9 deletions docs/source/reference/utils/ner.rst
Original file line number Diff line number Diff line change
@@ -1,18 +1,18 @@
``utils.ner`` module
``t_res.utils.ner`` module
====================

.. autofunction:: utils.ner.training_tokenize_and_align_labels
.. autofunction:: t_res.utils.ner.training_tokenize_and_align_labels

.. autofunction:: utils.ner.collect_named_entities
.. autofunction:: t_res.utils.ner.collect_named_entities

.. autofunction:: utils.ner.aggregate_mentions
.. autofunction:: t_res.utils.ner.aggregate_mentions

.. autofunction:: utils.ner.fix_capitalization
.. autofunction:: t_res.utils.ner.fix_capitalization

.. autofunction:: utils.ner.fix_hyphens
.. autofunction:: t_res.utils.ner.fix_hyphens

.. autofunction:: utils.ner.fix_nested
.. autofunction:: t_res.utils.ner.fix_nested

.. autofunction:: utils.ner.fix_startEntity
.. autofunction:: t_res.utils.ner.fix_startEntity

.. autofunction:: utils.ner.aggregate_entities
.. autofunction:: t_res.utils.ner.aggregate_entities
20 changes: 10 additions & 10 deletions docs/source/reference/utils/preprocess_data.rst
Original file line number Diff line number Diff line change
@@ -1,20 +1,20 @@
``utils.preprocess_data`` module
``t_res.utils.preprocess_data`` module
================================

.. automodule:: utils.preprocess_data
.. automodule:: t_res.utils.preprocess_data

.. autofunction:: utils.preprocess_data.turn_wikipedia2wikidata
.. autofunction:: t_res.utils.preprocess_data.turn_wikipedia2wikidata

.. autofunction:: utils.preprocess_data.reconstruct_sentences
.. autofunction:: t_res.utils.preprocess_data.reconstruct_sentences

.. autofunction:: utils.preprocess_data.process_lwm_for_ner
.. autofunction:: t_res.utils.preprocess_data.process_lwm_for_ner

.. autofunction:: utils.preprocess_data.process_lwm_for_linking
.. autofunction:: t_res.utils.preprocess_data.process_lwm_for_linking

.. autofunction:: utils.preprocess_data.aggregate_hipe_entities
.. autofunction:: t_res.utils.preprocess_data.aggregate_hipe_entities

.. autofunction:: utils.preprocess_data.process_hipe_for_linking
.. autofunction:: t_res.utils.preprocess_data.process_hipe_for_linking

.. autofunction:: utils.preprocess_data.process_tsv
.. autofunction:: t_res.utils.preprocess_data.process_tsv

.. autofunction:: utils.preprocess_data.fine_to_coarse
.. autofunction:: t_res.utils.preprocess_data.fine_to_coarse
20 changes: 10 additions & 10 deletions docs/source/reference/utils/process_data.rst
Original file line number Diff line number Diff line change
@@ -1,20 +1,20 @@
``utils.process_data`` module
``t_res.utils.process_data`` module
=============================

.. autofunction:: utils.process_data.eval_with_exception
.. autofunction:: t_res.utils.process_data.eval_with_exception

.. autofunction:: utils.process_data.prepare_sents
.. autofunction:: t_res.utils.process_data.prepare_sents

.. autofunction:: utils.process_data.align_gold
.. autofunction:: t_res.utils.process_data.align_gold

.. autofunction:: utils.process_data.postprocess_predictions
.. autofunction:: t_res.utils.process_data.postprocess_predictions

.. autofunction:: utils.process_data.ner_and_process
.. autofunction:: t_res.utils.process_data.ner_and_process

.. autofunction:: utils.process_data.update_with_linking
.. autofunction:: t_res.utils.process_data.update_with_linking

.. autofunction:: utils.process_data.update_with_skyline
.. autofunction:: t_res.utils.process_data.update_with_skyline

.. autofunction:: utils.process_data.prepare_storing_links
.. autofunction:: t_res.utils.process_data.prepare_storing_links

.. autofunction:: utils.process_data.store_for_scorer
.. autofunction:: t_res.utils.process_data.store_for_scorer
8 changes: 4 additions & 4 deletions docs/source/reference/utils/process_wikipedia.rst
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
``utils.process_wikipedia`` module
``t_res.utils.process_wikipedia`` module
==================================

.. autofunction:: utils.process_wikipedia.make_wikilinks_consistent
.. autofunction:: t_res.utils.process_wikipedia.make_wikilinks_consistent

.. autofunction:: utils.process_wikipedia.make_wikipedia2wikidata_consisent
.. autofunction:: t_res.utils.process_wikipedia.make_wikipedia2wikidata_consisent

.. autofunction:: utils.process_wikipedia.title_to_id
.. autofunction:: t_res.utils.process_wikipedia.title_to_id
6 changes: 3 additions & 3 deletions docs/source/reference/utils/rel/entity_disambiguation.rst
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
``utils.REL.entity_disambiguation`` module
``t_res.utils.REL.entity_disambiguation`` module
==========================================

.. autoclass:: utils.REL.entity_disambiguation.EntityDisambiguation
.. autoclass:: t_res.utils.REL.entity_disambiguation.EntityDisambiguation
:members:
:undoc-members:

.. autoattribute:: utils.REL.entity_disambiguation.RANDOM_SEED
.. autoattribute:: t_res.utils.REL.entity_disambiguation.RANDOM_SEED
6 changes: 3 additions & 3 deletions docs/source/reference/utils/rel/mulrel_ranker.rst
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
``utils.REL.mulrel_ranker`` module
``t_res.utils.REL.mulrel_ranker`` module
==================================

.. autoclass:: utils.REL.mulrel_ranker.PreRank
.. autoclass:: t_res.utils.REL.mulrel_ranker.PreRank
:members:
:undoc-members:

.. autoclass:: utils.REL.mulrel_ranker.MulRelRanker
.. autoclass:: t_res.utils.REL.mulrel_ranker.MulRelRanker
:members:
:undoc-members:
10 changes: 5 additions & 5 deletions docs/source/reference/utils/rel/utils.rst
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
``utils.REL.utils`` module
``t_res.utils.REL.t_res.utils`` module
==========================

.. autofunction:: utils.REL.utils.flatten_list_of_lists
.. autofunction:: t_res.utils.REL.t_res.utils.flatten_list_of_lists

.. autofunction:: utils.REL.utils.make_equal_len
.. autofunction:: t_res.utils.REL.t_res.utils.make_equal_len

.. autofunction:: utils.REL.utils.is_important_word
.. autofunction:: t_res.utils.REL.t_res.utils.is_important_word

.. autoattribute:: utils.REL.utils.STOPWORDS
.. autoattribute:: t_res.utils.REL.t_res.utils.STOPWORDS
4 changes: 2 additions & 2 deletions docs/source/reference/utils/rel/vocabulary.rst
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
``utils.REL.vocabulary`` module
``t_res.utils.REL.vocabulary`` module
===============================

.. autoclass:: utils.REL.vocabulary.Vocabulary
.. autoclass:: t_res.utils.REL.vocabulary.Vocabulary
:members:
:undoc-members:
16 changes: 8 additions & 8 deletions docs/source/reference/utils/rel_e2e.rst
Original file line number Diff line number Diff line change
@@ -1,16 +1,16 @@
``utils.rel_e2e`` module
``t_res.utils.rel_e2e`` module
========================

.. autofunction:: utils.rel_e2e.rel_end_to_end
.. autofunction:: t_res.utils.rel_e2e.rel_end_to_end

.. autofunction:: utils.rel_e2e.get_rel_from_api
.. autofunction:: t_res.utils.rel_e2e.get_rel_from_api

.. autofunction:: utils.rel_e2e.match_wikipedia_to_wikidata
.. autofunction:: t_res.utils.rel_e2e.match_wikipedia_to_wikidata

.. autofunction:: utils.rel_e2e.match_ent
.. autofunction:: t_res.utils.rel_e2e.match_ent

.. autofunction:: utils.rel_e2e.postprocess_rel
.. autofunction:: t_res.utils.rel_e2e.postprocess_rel

.. autofunction:: utils.rel_e2e.store_rel
.. autofunction:: t_res.utils.rel_e2e.store_rel

.. autofunction:: utils.rel_e2e.run_rel_experiments
.. autofunction:: t_res.utils.rel_e2e.run_rel_experiments
14 changes: 7 additions & 7 deletions docs/source/reference/utils/rel_utils.rst
Original file line number Diff line number Diff line change
@@ -1,14 +1,14 @@
``utils.rel_utils`` module
``t_res.utils.rel_utils`` module
==========================

.. autofunction:: utils.rel_utils.get_db_emb
.. autofunction:: t_res.utils.rel_utils.get_db_emb

.. autofunction:: utils.rel_utils.eval_with_exception
.. autofunction:: t_res.utils.rel_utils.eval_with_exception

.. autofunction:: utils.rel_utils.prepare_initial_data
.. autofunction:: t_res.utils.rel_utils.prepare_initial_data

.. autofunction:: utils.rel_utils.rank_candidates
.. autofunction:: t_res.utils.rel_utils.rank_candidates

.. autofunction:: utils.rel_utils.add_publication
.. autofunction:: t_res.utils.rel_utils.add_publication

.. autofunction:: utils.rel_utils.prepare_rel_trainset
.. autofunction:: t_res.utils.rel_utils.prepare_rel_trainset

0 comments on commit d0f9989

Please sign in to comment.