Skip to content

Commit

Permalink
Merge pull request #49 from ku-nlp/develop
Browse files Browse the repository at this point in the history
Develop
  • Loading branch information
nobu-g authored Sep 20, 2022
2 parents 4357965 + e6465e6 commit 371783b
Show file tree
Hide file tree
Showing 57 changed files with 1,525 additions and 1,295 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ jobs:
max-parallel: 2
fail-fast: false
matrix:
python-version: [ "3.9", "3.10" ]
python-version: [ "3.8", "3.9", "3.10" ]
steps:
- name: Checkout repository
uses: actions/checkout@v3
Expand Down
4 changes: 3 additions & 1 deletion .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -22,8 +22,10 @@ repos:
rev: v0.910
hooks:
- id: mypy
additional_dependencies:
- types-PyYAML
- repo: https://github.com/asottile/pyupgrade
rev: v2.31.1
hooks:
- id: pyupgrade
args: [--py39-plus]
args: [--py38-plus]
44 changes: 0 additions & 44 deletions Dockerfile

This file was deleted.

3 changes: 2 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,7 @@ with open("result.knp", "rt") as f:

## Requirements

- Python 3.8+
- [Juman++](https://github.com/ku-nlp/jumanpp) v2.0.0-rc3+
- [KNP](https://github.com/ku-nlp/knp) 5.0+

Expand Down Expand Up @@ -157,7 +158,7 @@ For more information, explore the [examples](./examples) and [documentation](htt
- **Support document-level language analysis**: *rhoknp* can load and instantiate the result of document-level language analysis: i.e., cohesion analysis and discourse relation analysis.
- **Strictly type-aware**: *rhoknp* is thoroughly annotated with type annotations. Efficient development is possible with the help of an IDE.
- **Extensive test suite**: *rhoknp* is tested with an extensive test suite. See the code coverage at [Codecov](https://app.codecov.io/gh/ku-nlp/rhoknp).
- **Support Python3.9+ only**
- **Support Python3.8+ only**

## Reference

Expand Down
6 changes: 6 additions & 0 deletions docs/reference/rhoknp.cohesion.discourse.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
rhoknp.cohesion.discourse module
================================

.. automodule:: rhoknp.cohesion.discourse

.. toctree::
6 changes: 0 additions & 6 deletions docs/reference/rhoknp.cohesion.discourse_relation.rst

This file was deleted.

6 changes: 3 additions & 3 deletions docs/reference/rhoknp.cohesion.rst
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
rhoknp.rel package
==================
rhoknp.cohesion package
=======================

.. toctree::
:maxdepth: 4
Expand All @@ -10,4 +10,4 @@ rhoknp.rel package
rhoknp.cohesion.argument
rhoknp.cohesion.exophora
rhoknp.cohesion.coreference
rhoknp.cohesion.discourse_relation
rhoknp.cohesion.discourse
Loading

0 comments on commit 371783b

Please sign in to comment.