Skip to content

Implemented parsing Roman Numerals#63

Open
AmPhIbIaN26 wants to merge 11 commits intoscrapinghub:masterfrom
AmPhIbIaN26:master
Open

Implemented parsing Roman Numerals#63
AmPhIbIaN26 wants to merge 11 commits intoscrapinghub:masterfrom
AmPhIbIaN26:master

Conversation

@AmPhIbIaN26
Copy link
Copy Markdown

So the parse_number() now works like this:

>>>parse_number('MMCDXX')
'2420'

And parse() works like this:

>>> parse('Built in MDCCLXXVI', language='rom')
'Built in 1776'

I have implemented parsing for roman, for the case of parsing any roman numeral in a sentence you have to specify the language.
@codecov
Copy link
Copy Markdown

codecov bot commented Apr 10, 2021

Welcome to Codecov 🎉

Once you merge this PR into your default branch, you're all set! Codecov will compare coverage reports and display results in all future pull requests.

Thanks for integrating Codecov - We've got you covered ☂️

@AmPhIbIaN26 AmPhIbIaN26 reopened this Apr 14, 2021
I have implemented parsing for roman, for the case of parsing any roman numeral in a sentence you have to specify the language.
added encoding='utf8' to __init__.py
This reverts commit b36483e.
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.

1 participant