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

Finnish language additions #244

Merged
merged 4 commits into from
Nov 7, 2016
Merged

Finnish language additions #244

merged 4 commits into from
Nov 7, 2016

Conversation

vaelma
Copy link
Contributor

@vaelma vaelma commented Oct 17, 2016

Fixes #243, includes some additional date forms. Left out some test cases for dates like "27. tammikuuta 2016" ("27th January...") as discussed on Gitter.

Wikipedia on the ordinal dot, which is also used in dates: https://en.wikipedia.org/wiki/Ordinal_indicator#Finnish

vaelma and others added 4 commits October 17, 2016 11:14
The partitive and inessive forms were added for month and day names, since they are frequently used with dates. The original file only included the (common) misspelling of second, "sekuntti" - the correct one ("sekunti") was also added with inflections. I left the misspelling there, since it's quite common and can not be easily misinterpreted as something else.

Fixes #243

Fixes 
Te original file only included
@codecov-io
Copy link

codecov-io commented Oct 17, 2016

Current coverage is 94.09% (diff: 100%)

Merging #244 into master will not change coverage

@@             master       #244   diff @@
==========================================
  Files            32         32          
  Lines          2779       2779          
  Methods           0          0          
  Messages          0          0          
  Branches          0          0          
==========================================
  Hits           2615       2615          
  Misses          164        164          
  Partials          0          0          

Powered by Codecov. Last update 6c252d9...97439e8

@waqasshabbir
Copy link
Contributor

@vaelma I looked into it further. The . doesn't get skipped because we preserve characters in [u' ', u'+', u':', u'-', u'/', u'.'] for they are used to separate date components.

I've added those tests back. Merging the PR now, thank you for your work.

@waqasshabbir waqasshabbir merged commit 97439e8 into scrapinghub:master Nov 7, 2016
@waqasshabbir waqasshabbir modified the milestone: v0.5.1 Dec 18, 2016
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.

None yet

3 participants