You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
_rhoknp_ is a Python binding for [Juman++](https://github.com/ku-nlp/jumanpp), [KNP](https://github.com/ku-nlp/knp), and [KWJA](https://github.com/ku-nlp/kwja).[^1]
20
28
21
-
[^1]: The logo was originally generated using OpenAI DALL·E 2
Document objects can be handled in almost the same way as Sentence objects.
144
+
Document objects can be handled in a similar manner as Sentence objects.
144
145
145
146
```python
146
-
# Perform language analysis by Juman++
147
+
# Perform morphological analysis by Juman++
147
148
document = jumanpp.apply_to_document(document)
148
149
149
150
# Access language units in the document
@@ -161,25 +162,25 @@ with open("document.jumanpp", "rt") as f:
161
162
document = rhoknp.Document.from_jumanpp(f.read())
162
163
```
163
164
164
-
For more information, explore the [examples](./examples) and [documentation](https://rhoknp.readthedocs.io/en/latest/).
165
+
For more information, please refer to the [examples](./examples) and [documentation](https://rhoknp.readthedocs.io/en/latest/).
165
166
166
167
## Main differences from [pyknp](https://github.com/ku-nlp/pyknp/)
167
168
168
-
[_pyknp_](https://pypi.org/project/pyknp/)has been developed as the official Python binding for Juman++ and KNP.
169
-
In _rhoknp_, we redesigned the API from the top-down, taking into account the current use cases of _pyknp_.
170
-
The main differences are as follows:
169
+
[_pyknp_](https://pypi.org/project/pyknp/)serves as the official Python binding for Juman++ and KNP.
170
+
In the development of rhoknp, we redesigned the API, considering the current use cases of pyknp.
171
+
The key differences between the two are as follows:
171
172
172
-
-**Support for document-level language analysis**: _rhoknp_ can load and instantiate the result of document-level language analysis (i.e., cohesion analysis and discourse relation analysis).
173
-
-**Strictly type-aware**: _rhoknp_ is thoroughly annotated with type annotations.
174
-
-**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).
173
+
-**Support for document-level language analysis**: rhoknp allows you to load and instantiate the results of document-level language analysis, including cohesion analysis and discourse relation analysis.
174
+
-**Strict type-awareness**: rhoknp has been thoroughly annotated with type annotations, ensuring strict type checking and improved code clarity.
175
+
-**Comprehensive test suite**: rhoknp is extensively tested with a comprehensive test suite. You can view the code coverage report on[Codecov](https://app.codecov.io/gh/ku-nlp/rhoknp).
175
176
176
177
## License
177
178
178
179
MIT
179
180
180
181
## Contributing
181
182
182
-
We welcome contributions to _rhoknp_.
183
+
We warmly welcome contributions to rhoknp.
183
184
You can get started by reading the [contribution guide](https://rhoknp.readthedocs.io/en/latest/contributing/index.html).
0 commit comments