├── .github ├── PULL_REQUEST_TEMPLATE.md └── workflows │ └── python-app.yml ├── .gitignore ├── README.md ├── data ├── register_form.sql └── training_data_jp.sql ├── docs ├── api │ ├── definitions.md │ ├── overview.md │ ├── paths.md │ └── security.md ├── api_server.md ├── collecting_training_set.md ├── supported_topic.md └── training_model.md ├── projects ├── bin │ ├── api.py │ ├── infer.py │ └── train_model.py ├── docs │ ├── .keep │ ├── canonicalTopics.csv │ └── swagger.json ├── requirements.txt ├── semantic_selector │ ├── __init__.py │ ├── adapter │ │ ├── base.py │ │ ├── inference.py │ │ └── training.py │ ├── csv.py │ ├── estimator │ │ ├── base.py │ │ ├── fnn_simple.py │ │ └── lsi.py │ ├── mysql.py │ └── tokenizer.py ├── setup.py └── tests │ ├── __init__.py │ ├── test_adapter.py │ └── test_csv.py └── tool ├── Gemfile ├── lib ├── api_client.rb ├── dbutil.rb ├── domutil.rb └── highlight.rb └── manual_crawl.rb /.github/PULL_REQUEST_TEMPLATE.md: -------------------------------------------------------------------------------- 1 | # Overview 2 | 3 | # Related Links 4 | 5 | # TODO 6 | -------------------------------------------------------------------------------- /.github/workflows/python-app.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/toshiya/semantic_selector/HEAD/.github/workflows/python-app.yml -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/toshiya/semantic_selector/HEAD/.gitignore -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/toshiya/semantic_selector/HEAD/README.md -------------------------------------------------------------------------------- /data/register_form.sql: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/toshiya/semantic_selector/HEAD/data/register_form.sql -------------------------------------------------------------------------------- /data/training_data_jp.sql: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/toshiya/semantic_selector/HEAD/data/training_data_jp.sql -------------------------------------------------------------------------------- /docs/api/definitions.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/toshiya/semantic_selector/HEAD/docs/api/definitions.md -------------------------------------------------------------------------------- /docs/api/overview.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/toshiya/semantic_selector/HEAD/docs/api/overview.md -------------------------------------------------------------------------------- /docs/api/paths.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/toshiya/semantic_selector/HEAD/docs/api/paths.md -------------------------------------------------------------------------------- /docs/api/security.md: -------------------------------------------------------------------------------- 1 | 2 | 3 | -------------------------------------------------------------------------------- /docs/api_server.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/toshiya/semantic_selector/HEAD/docs/api_server.md -------------------------------------------------------------------------------- /docs/collecting_training_set.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/toshiya/semantic_selector/HEAD/docs/collecting_training_set.md -------------------------------------------------------------------------------- /docs/supported_topic.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/toshiya/semantic_selector/HEAD/docs/supported_topic.md -------------------------------------------------------------------------------- /docs/training_model.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/toshiya/semantic_selector/HEAD/docs/training_model.md -------------------------------------------------------------------------------- /projects/bin/api.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/toshiya/semantic_selector/HEAD/projects/bin/api.py -------------------------------------------------------------------------------- /projects/bin/infer.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/toshiya/semantic_selector/HEAD/projects/bin/infer.py -------------------------------------------------------------------------------- /projects/bin/train_model.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/toshiya/semantic_selector/HEAD/projects/bin/train_model.py -------------------------------------------------------------------------------- /projects/docs/.keep: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /projects/docs/canonicalTopics.csv: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/toshiya/semantic_selector/HEAD/projects/docs/canonicalTopics.csv -------------------------------------------------------------------------------- /projects/docs/swagger.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/toshiya/semantic_selector/HEAD/projects/docs/swagger.json -------------------------------------------------------------------------------- /projects/requirements.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/toshiya/semantic_selector/HEAD/projects/requirements.txt -------------------------------------------------------------------------------- /projects/semantic_selector/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /projects/semantic_selector/adapter/base.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/toshiya/semantic_selector/HEAD/projects/semantic_selector/adapter/base.py -------------------------------------------------------------------------------- /projects/semantic_selector/adapter/inference.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/toshiya/semantic_selector/HEAD/projects/semantic_selector/adapter/inference.py -------------------------------------------------------------------------------- /projects/semantic_selector/adapter/training.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/toshiya/semantic_selector/HEAD/projects/semantic_selector/adapter/training.py -------------------------------------------------------------------------------- /projects/semantic_selector/csv.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/toshiya/semantic_selector/HEAD/projects/semantic_selector/csv.py -------------------------------------------------------------------------------- /projects/semantic_selector/estimator/base.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/toshiya/semantic_selector/HEAD/projects/semantic_selector/estimator/base.py -------------------------------------------------------------------------------- /projects/semantic_selector/estimator/fnn_simple.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/toshiya/semantic_selector/HEAD/projects/semantic_selector/estimator/fnn_simple.py -------------------------------------------------------------------------------- /projects/semantic_selector/estimator/lsi.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/toshiya/semantic_selector/HEAD/projects/semantic_selector/estimator/lsi.py -------------------------------------------------------------------------------- /projects/semantic_selector/mysql.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/toshiya/semantic_selector/HEAD/projects/semantic_selector/mysql.py -------------------------------------------------------------------------------- /projects/semantic_selector/tokenizer.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/toshiya/semantic_selector/HEAD/projects/semantic_selector/tokenizer.py -------------------------------------------------------------------------------- /projects/setup.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/toshiya/semantic_selector/HEAD/projects/setup.py -------------------------------------------------------------------------------- /projects/tests/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /projects/tests/test_adapter.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/toshiya/semantic_selector/HEAD/projects/tests/test_adapter.py -------------------------------------------------------------------------------- /projects/tests/test_csv.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/toshiya/semantic_selector/HEAD/projects/tests/test_csv.py -------------------------------------------------------------------------------- /tool/Gemfile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/toshiya/semantic_selector/HEAD/tool/Gemfile -------------------------------------------------------------------------------- /tool/lib/api_client.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/toshiya/semantic_selector/HEAD/tool/lib/api_client.rb -------------------------------------------------------------------------------- /tool/lib/dbutil.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/toshiya/semantic_selector/HEAD/tool/lib/dbutil.rb -------------------------------------------------------------------------------- /tool/lib/domutil.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/toshiya/semantic_selector/HEAD/tool/lib/domutil.rb -------------------------------------------------------------------------------- /tool/lib/highlight.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/toshiya/semantic_selector/HEAD/tool/lib/highlight.rb -------------------------------------------------------------------------------- /tool/manual_crawl.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/toshiya/semantic_selector/HEAD/tool/manual_crawl.rb --------------------------------------------------------------------------------