Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

add-publisher-wdr #439

Merged
merged 8 commits into from
May 5, 2024
Merged

add-publisher-wdr #439

merged 8 commits into from
May 5, 2024

Conversation

jannispoltier
Copy link
Contributor

Hi, I added the WDR (Westdeutscher Rundfunk) to the collection of German publishers and ran all tests and commands as instructed.
There is just one issue I couldn't resolve as for some article summaries the crawler returns a <p class="stand small"> element although I added an XPath to return <p class="einleitung small"> and this element did exist in the given file. However, I couldn't come up with a fix for that problem. Maybe you have a suggestion :)

src/fundus/publishers/de/wdr.py Outdated Show resolved Hide resolved
src/fundus/publishers/de/wdr.py Outdated Show resolved Hide resolved
jannispoltier and others added 2 commits April 23, 2024 10:19
Co-authored-by: Max Dallabetta <max.dallabetta@googlemail.com>
Co-authored-by: Max Dallabetta <max.dallabetta@googlemail.com>
@MaxDall
Copy link
Collaborator

MaxDall commented Apr 23, 2024

Hey, @jannispoltier could you rerun python -m scripts.generate_parser_test_files -p WDR -oj and push the modified JSON file? You don't have to remove the old test case, just run the script with -oj flag :)

@jannispoltier
Copy link
Contributor Author

Hey, @jannispoltier could you rerun python -m scripts.generate_parser_test_files -p WDR -oj and push the modified JSON file? You don't have to remove the old test case, just run the script with -oj flag :)

Hi @MaxDall, I pushed the file and on my local machine the tests were now successful ☺️

MaxDall
MaxDall previously approved these changes Apr 27, 2024
MaxDall
MaxDall previously approved these changes Apr 27, 2024
@addie9800 addie9800 merged commit 93b7ed2 into flairNLP:master May 5, 2024
5 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants