Skip to content

Commit

Permalink
Version 1.2.0
Browse files Browse the repository at this point in the history
  • Loading branch information
vthorsteinsson committed Feb 7, 2019
1 parent b99a5a8 commit c24eef8
Show file tree
Hide file tree
Showing 7 changed files with 12 additions and 7 deletions.
5 changes: 5 additions & 0 deletions README.rst
Original file line number Diff line number Diff line change
Expand Up @@ -143,6 +143,7 @@ class:
| | | | | 1.965 |
| | | | | 1.965,34 |
| | | | | 1,965.34 |
| | | | | 2⅞ |
+---------------+---------+---------------------+---------------------------+
| WORD | 6 | Word | | kattaeftirlit |
| | | | | hunda- og kattaeftirlit |
Expand Down Expand Up @@ -190,6 +191,7 @@ class:
| MEASUREMENT | 22 | Value with a | | 690 MW |
| | | measurement unit | | 1.010 hPa |
| | | | | 220 m² |
| | | | | 80° C |
+---------------+---------+---------------------+---------------------------+
| NUMWLETTER | 23 | Number followed by | | 14a |
| | | a single letter | | 7B |
Expand Down Expand Up @@ -304,6 +306,9 @@ To run the built-in tests, install `pytest <https://docs.pytest.org/en/latest/>`
Changelog
---------

* Version 1.2.0: Added support for Unicode fraction characters; enhanced handing
of degrees (°, °C, °F); fixed bug in cubic meter measurement unit;
more abbreviations
* Version 1.1.2: Fixed bug in liter (``l`` and ``ltr``) measurement units
* Version 1.1.1: Added ``mark_paragraphs()`` function
* Version 1.1.0: All abbreviations in ``Abbrev.conf`` are now returned with their
Expand Down
4 changes: 2 additions & 2 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
Tokenizer for Icelandic text
Copyright (C) 2018 Miðeind ehf.
Copyright (C) 2019 Miðeind ehf.
Original author: Vilhjálmur Þorsteinsson
This software is licensed under the MIT License:
Expand Down Expand Up @@ -57,7 +57,7 @@ def read(*names, **kwargs):

setup(
name="tokenizer",
version="1.1.2",
version="1.2.0",
license="MIT",
description="A tokenizer for Icelandic text",
long_description=u"{0}\n{1}".format(
Expand Down
2 changes: 1 addition & 1 deletion src/tokenizer/Abbrev.conf
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
#
# List of abbreviations for tokenization of Icelandic text
#
# Copyright(C) 2018 Miðeind ehf.
# Copyright(C) 2019 Miðeind ehf.
# Original author: Vilhjálmur Þorsteinsson
#
# This software is licensed under the MIT License:
Expand Down
2 changes: 1 addition & 1 deletion src/tokenizer/__init__.py
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# -*- encoding: utf-8 -*-
"""
Copyright(C) 2018 Miðeind ehf.
Copyright(C) 2019 Miðeind ehf.
Original author: Vilhjálmur Þorsteinsson
This software is licensed under the MIT License:
Expand Down
2 changes: 1 addition & 1 deletion src/tokenizer/abbrev.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
Abbreviations module for tokenization of Icelandic text
Copyright(C) 2018 Miðeind ehf.
Copyright(C) 2019 Miðeind ehf.
Original author: Vilhjálmur Þorsteinsson
This software is licensed under the MIT License:
Expand Down
2 changes: 1 addition & 1 deletion src/tokenizer/tokenizer.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
Tokenizer for Icelandic text
Copyright (C) 2018 Miðeind ehf.
Copyright (C) 2019 Miðeind ehf.
Original author: Vilhjálmur Þorsteinsson
This software is licensed under the MIT License:
Expand Down
2 changes: 1 addition & 1 deletion test/test_tokenizer.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
Tests for Tokenizer module
Copyright(C) 2018 by Miðeind ehf.
Copyright(C) 2019 by Miðeind ehf.
Original author: Vilhjálmur Þorsteinsson
This software is licensed under the MIT License:
Expand Down

0 comments on commit c24eef8

Please sign in to comment.