-
-
Notifications
You must be signed in to change notification settings - Fork 333
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #183 from DerwenAI/update
resolve unit test for summarization #182
- Loading branch information
Showing
15 changed files
with
479 additions
and
184 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,3 @@ | ||
include README.md | ||
include changelog.txt | ||
include CHANGELOG.md | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
apidocs: | ||
page: ref.md | ||
template: ref.jinja | ||
package: pytextrank | ||
git: https://github.com/DerwenAI/pytextrank/blob/main | ||
includes: BaseTextRankFactory, BaseTextRank, PositionRankFactory, PositionRank, BiasedTextRankFactory, BiasedTextRank, Lemma, Phrase, Sentence, VectorElem |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,45 @@ | ||
# Package Reference: `{{ groups.package[0].package }}` | ||
{{ groups.package[0].docstring }} | ||
|
||
{% for class_name, class_item in groups.package[0].class.items() %} | ||
## [`{{ class_name }}` class](#{{ class_name }}) | ||
{{ class_item.docstring | safe }} | ||
|
||
{% for method_name, method_item in class_item.method.items() %} | ||
--- | ||
#### [`{{ method_name }}` method](#{{ method_item.ns_path }}) | ||
[*\[source\]*]({{ groups.package[0].git_url }}{{ method_item.file }}#L{{ method_item.line_num }}) | ||
|
||
```python | ||
{{ method_name }}({{ method_item.arg_list_str | safe }}) | ||
``` | ||
{{ method_item.docstring | safe }} | ||
{{ method_item.arg_docstring | safe }} | ||
{% endfor %} | ||
{% endfor %} | ||
|
||
--- | ||
## [module functions](#{{ groups.package[0].package }}_functions) | ||
|
||
{% for func_name, func_item in groups.package[0].function.items() %} | ||
--- | ||
#### [`{{ func_name }}` method](#{{ func_item.ns_path }}) | ||
[*\[source\]*]({{ groups.package[0].git_url }}{{ func_item.file }}#L{{ func_item.line_num }}) | ||
|
||
```python | ||
{{ func_name }}({{ func_item.arg_list_str | safe }}) | ||
``` | ||
{{ func_item.docstring | safe }} | ||
{{ func_item.arg_docstring | safe }} | ||
{% endfor %} | ||
|
||
--- | ||
## [module types](#{{ groups.package[0].package }}_types) | ||
|
||
{% for type_name, type_item in groups.package[0].type.items() %} | ||
#### [`{{ type_name }}` type](#{{ type_item.ns_path }}) | ||
```python | ||
{{ type_name }} = {{ type_item.obj | safe }} | ||
``` | ||
{{ type_item.docstring | safe }} | ||
{% endfor %} |
Oops, something went wrong.