Skip to content
This repository has been archived by the owner on Jan 29, 2024. It is now read-only.

Commit

Permalink
[BBS 237] - Fix naming (#231)
Browse files Browse the repository at this point in the history
Co-authored-by: Francesco Casalegno <francesco.casalegno@gmail.com>
  • Loading branch information
jankrepl and FrancescoCasalegno authored Feb 12, 2021
1 parent 9e19080 commit 8734335
Show file tree
Hide file tree
Showing 188 changed files with 701 additions and 914 deletions.
2 changes: 1 addition & 1 deletion .dockerignore
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# BBSearch is a text mining toolbox focused on scientific use cases.
# Blue Brain Search is a text mining toolbox focused on scientific use cases.
#
# Copyright (C) 2020 Blue Brain Project, EPFL.
#
Expand Down
2 changes: 1 addition & 1 deletion .dvc/.gitignore
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# BBSearch is a text mining toolbox focused on scientific use cases.
# Blue Brain Search is a text mining toolbox focused on scientific use cases.
#
# Copyright (C) 2020 Blue Brain Project, EPFL.
#
Expand Down
2 changes: 1 addition & 1 deletion .dvcignore
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
# the performance. Learn more at
# https://dvc.org/doc/user-guide/dvcignore

# BBSearch is a text mining toolbox focused on scientific use cases.
# Blue Brain Search is a text mining toolbox focused on scientific use cases.
#
# Copyright (C) 2020 Blue Brain Project, EPFL.
#
Expand Down
2 changes: 1 addition & 1 deletion .env.example
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# BBSearch is a text mining toolbox focused on scientific use cases.
# Blue Brain Search is a text mining toolbox focused on scientific use cases.
#
# Copyright (C) 2020 Blue Brain Project, EPFL.
#
Expand Down
2 changes: 1 addition & 1 deletion .github/ISSUE_TEMPLATE/bug-report.md
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ A clear and concise description of what you expected to happen.

Please provide the following information.

- Blue Brain Search version (use `python -c "import bbsearch; print(bbsearch.__version__)"`):
- Blue Brain Search version (use `python -c "import bluesearch; print(bluesearch.__version__)"`):
- OS (e.g., Linux):
- How you installed Blue Brain Search (source, pip, ...):
- Installation command you used (if compiling from source):
Expand Down
4 changes: 2 additions & 2 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# BBSearch is a text mining toolbox focused on scientific use cases.
# Blue Brain Search is a text mining toolbox focused on scientific use cases.
#
# Copyright (C) 2020 Blue Brain Project, EPFL.
#
Expand Down Expand Up @@ -27,7 +27,7 @@
!.env*.example

# Version file
/src/bbsearch/version.py
/src/bluesearch/version.py

# Byte-compiled / optimized / DLL files
__pycache__/
Expand Down
4 changes: 2 additions & 2 deletions .jenkins.sh
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
#!/bin/bash

# BBSearch is a text mining toolbox focused on scientific use cases.
# Blue Brain Search is a text mining toolbox focused on scientific use cases.
#
# Copyright (C) 2020 Blue Brain Project, EPFL.
#
Expand Down Expand Up @@ -56,7 +56,7 @@ tox -e docs
tox -e py37 -- --color=yes

if [ "$BUILD_DOCS" = true ]; then
.tox/docs/bin/python -c "import bbsearch; print('Installed version BBSearch: ', bbsearch.__version__)"
.tox/docs/bin/python -c "import bluesearch; print('Installed version Blue Brain Search: ', bluesearch.__version__)"
cd docs || exit # docs is already built by tox
pip install -i https://bbpteam.epfl.ch/repository/devpi/simple docs-internal-upload
docs-internal-upload --docs-path _build/html --metadata-path _build/html/metadata.md
Expand Down
2 changes: 1 addition & 1 deletion .mypy.ini
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
;BBSearch is a text mining toolbox focused on scientific use cases.
;Blue Brain Search is a text mining toolbox focused on scientific use cases.
;
;Copyright (C) 2020 Blue Brain Project, EPFL.
;
Expand Down
2 changes: 1 addition & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# BBSearch is a text mining toolbox focused on scientific use cases.
# Blue Brain Search is a text mining toolbox focused on scientific use cases.
#
# Copyright (C) 2020 Blue Brain Project, EPFL.
#
Expand Down
2 changes: 1 addition & 1 deletion CONTRIBUTING.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
<!---
BBSearch is a text mining toolbox focused on scientific use cases.
Blue Brain Search is a text mining toolbox focused on scientific use cases.
Copyright (C) 2020 Blue Brain Project, EPFL.
Expand Down
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
<!---
BBSearch is a text mining toolbox focused on scientific use cases.
Blue Brain Search is a text mining toolbox focused on scientific use cases.
Copyright (C) 2020 Blue Brain Project, EPFL.
Expand Down Expand Up @@ -600,7 +600,7 @@ Before installation, please make sure you have a recent `pip` installed (`>=19.1
pip install --upgrade pip
```

To install `bbsearch` run
To install `bluesearch` run

```bash
pip install .
Expand All @@ -626,7 +626,7 @@ $ docker run -it --rm bbs

## Documentation
We provide additional information on the package in the documentation. It can be
generated by sphinx. Make sure to install the `bbsearch` package with `dev`
generated by sphinx. Make sure to install the `bluesearch` package with `dev`
extras to get the necessary dependencies.

```bash
Expand Down
2 changes: 1 addition & 1 deletion benchmarks/conftest.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
"""Configuration of pytest benchmarks."""

# BBSearch is a text mining toolbox focused on scientific use cases.
# Blue Brain Search is a text mining toolbox focused on scientific use cases.
#
# Copyright (C) 2020 Blue Brain Project, EPFL.
#
Expand Down
2 changes: 1 addition & 1 deletion benchmarks/test_benchmark_insert.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
"""Benchmark INSERT operations through Pandas with and without transactions."""

# BBSearch is a text mining toolbox focused on scientific use cases.
# Blue Brain Search is a text mining toolbox focused on scientific use cases.
#
# Copyright (C) 2020 Blue Brain Project, EPFL.
#
Expand Down
2 changes: 1 addition & 1 deletion benchmarks/test_benchmark_servers.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
"""Benchmark server operations."""

# BBSearch is a text mining toolbox focused on scientific use cases.
# Blue Brain Search is a text mining toolbox focused on scientific use cases.
#
# Copyright (C) 2020 Blue Brain Project, EPFL.
#
Expand Down
2 changes: 1 addition & 1 deletion data_and_models/annotations/README.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
<!---
BBSearch is a text mining toolbox focused on scientific use cases.
Blue Brain Search is a text mining toolbox focused on scientific use cases.
Copyright (C) 2020 Blue Brain Project, EPFL.
Expand Down
2 changes: 1 addition & 1 deletion data_and_models/annotations/ner/.gitignore
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# BBSearch is a text mining toolbox focused on scientific use cases.
# Blue Brain Search is a text mining toolbox focused on scientific use cases.
#
# Copyright (C) 2020 Blue Brain Project, EPFL.
#
Expand Down
2 changes: 1 addition & 1 deletion data_and_models/annotations/ner/README.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
<!---
BBSearch is a text mining toolbox focused on scientific use cases.
Blue Brain Search is a text mining toolbox focused on scientific use cases.
Copyright (C) 2020 Blue Brain Project, EPFL.
Expand Down
2 changes: 1 addition & 1 deletion data_and_models/annotations/ner/patterns/.gitignore
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# BBSearch is a text mining toolbox focused on scientific use cases.
# Blue Brain Search is a text mining toolbox focused on scientific use cases.
#
# Copyright (C) 2020 Blue Brain Project, EPFL.
#
Expand Down
2 changes: 1 addition & 1 deletion data_and_models/annotations/ner/patterns/README.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
<!---
BBSearch is a text mining toolbox focused on scientific use cases.
Blue Brain Search is a text mining toolbox focused on scientific use cases.
Copyright (C) 2020 Blue Brain Project, EPFL.
Expand Down
2 changes: 1 addition & 1 deletion data_and_models/annotations/sentence_embedding/.gitignore
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# BBSearch is a text mining toolbox focused on scientific use cases.
# Blue Brain Search is a text mining toolbox focused on scientific use cases.
#
# Copyright (C) 2020 Blue Brain Project, EPFL.
#
Expand Down
2 changes: 1 addition & 1 deletion data_and_models/annotations/sentence_embedding/README.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
<!---
BBSearch is a text mining toolbox focused on scientific use cases.
Blue Brain Search is a text mining toolbox focused on scientific use cases.
Copyright (C) 2020 Blue Brain Project, EPFL.
Expand Down
2 changes: 1 addition & 1 deletion data_and_models/metrics/ner/.gitignore
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# BBSearch is a text mining toolbox focused on scientific use cases.
# Blue Brain Search is a text mining toolbox focused on scientific use cases.
#
# Copyright (C) 2020 Blue Brain Project, EPFL.
#
Expand Down
2 changes: 1 addition & 1 deletion data_and_models/metrics/ner/interrater/.gitignore
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# BBSearch is a text mining toolbox focused on scientific use cases.
# Blue Brain Search is a text mining toolbox focused on scientific use cases.
#
# Copyright (C) 2020 Blue Brain Project, EPFL.
#
Expand Down
2 changes: 1 addition & 1 deletion data_and_models/metrics/sentence_embedding/.gitignore
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# BBSearch is a text mining toolbox focused on scientific use cases.
# Blue Brain Search is a text mining toolbox focused on scientific use cases.
#
# Copyright (C) 2020 Blue Brain Project, EPFL.
#
Expand Down
2 changes: 1 addition & 1 deletion data_and_models/models/ner/.gitignore
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# BBSearch is a text mining toolbox focused on scientific use cases.
# Blue Brain Search is a text mining toolbox focused on scientific use cases.
#
# Copyright (C) 2020 Blue Brain Project, EPFL.
#
Expand Down
2 changes: 1 addition & 1 deletion data_and_models/models/ner_er/.gitignore
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# BBSearch is a text mining toolbox focused on scientific use cases.
# Blue Brain Search is a text mining toolbox focused on scientific use cases.
#
# Copyright (C) 2020 Blue Brain Project, EPFL.
#
Expand Down
2 changes: 1 addition & 1 deletion data_and_models/models/sentence_embedding/.gitignore
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# BBSearch is a text mining toolbox focused on scientific use cases.
# Blue Brain Search is a text mining toolbox focused on scientific use cases.
#
# Copyright (C) 2020 Blue Brain Project, EPFL.
#
Expand Down
2 changes: 1 addition & 1 deletion data_and_models/models/sentence_embedding/bsv/.gitignore
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# BBSearch is a text mining toolbox focused on scientific use cases.
# Blue Brain Search is a text mining toolbox focused on scientific use cases.
#
# Copyright (C) 2020 Blue Brain Project, EPFL.
#
Expand Down
2 changes: 1 addition & 1 deletion data_and_models/pipelines/README.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
<!---
BBSearch is a text mining toolbox focused on scientific use cases.
Blue Brain Search is a text mining toolbox focused on scientific use cases.
Copyright (C) 2020 Blue Brain Project, EPFL.
Expand Down
4 changes: 2 additions & 2 deletions data_and_models/pipelines/ner/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# BBSearch is a text mining toolbox focused on scientific use cases.
# Blue Brain Search is a text mining toolbox focused on scientific use cases.
#
# Copyright (C) 2020 Blue Brain Project, EPFL.
#
Expand Down Expand Up @@ -40,7 +40,7 @@ COPY prodigy-1.10.4-cp36.cp37.cp38-cp36m.cp37m.cp38-linux_x86_64.whl /bbs/tmp
RUN pip install /bbs/tmp/prodigy-1.10.4-cp36.cp37.cp38-cp36m.cp37m.cp38-linux_x86_64.whl

# Instal BlueBrainSearach -- revision can be a branch, sha, or tag
ARG BBS_REVISION=v0.0.9
ARG BBS_REVISION=v0.0.10
ADD . /src
WORKDIR /src
RUN pip install git+file://$PWD@$BBS_REVISION
Expand Down
6 changes: 3 additions & 3 deletions data_and_models/pipelines/ner/add_er.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
"""Append an entity ruler to a spacy pipeline."""

# BBSearch is a text mining toolbox focused on scientific use cases.
# Blue Brain Search is a text mining toolbox focused on scientific use cases.
#
# Copyright (C) 2020 Blue Brain Project, EPFL.
#
Expand All @@ -23,8 +23,8 @@
import spacy
import yaml

from bbsearch.mining import remap_entity_type
from bbsearch.utils import JSONL
from bluesearch.mining import remap_entity_type
from bluesearch.utils import JSONL

parser = ArgumentParser()
parser.add_argument(
Expand Down
Loading

0 comments on commit 8734335

Please sign in to comment.