Skip to content

Commit

Permalink
Typo in French
Browse files Browse the repository at this point in the history
  • Loading branch information
mgraffg committed Jun 18, 2024
1 parent fc31670 commit 4a89473
Show file tree
Hide file tree
Showing 3 changed files with 17 additions and 3 deletions.
16 changes: 15 additions & 1 deletion README.rst
Original file line number Diff line number Diff line change
Expand Up @@ -4,4 +4,18 @@ dialectid
.. image:: https://github.com/INGEOTEC/dialectid/actions/workflows/test.yaml/badge.svg
:target: https://github.com/INGEOTEC/dialectid/actions/workflows/test.yaml

Computational models for dialect identification.
.. image:: https://coveralls.io/repos/github/INGEOTEC/dialectid/badge.svg?branch=develop
:target: https://coveralls.io/github/INGEOTEC/dialectid?branch=develop

.. image:: https://badge.fury.io/py/dialectid.svg
:target: https://badge.fury.io/py/dialectid

.. image:: https://img.shields.io/conda/vn/conda-forge/dialectid.svg
:target: https://anaconda.org/conda-forge/dialectid

.. image:: https://img.shields.io/conda/pn/conda-forge/dialectid.svg
:target: https://anaconda.org/conda-forge/dialectid

`dialectid` aims to develop a set of algorithms to detect the dialect of a given text. For example, given a text written in Spanish, dialectid predicts the Spanish-speaking country where the text comes from.

`dialectid` is available for Arabic (ar), German (de), English (en), Spanish (es), French (fr), Dutch (nl), Portuguese (pt), Russian (ru), Turkish (tr), and Chinese (zh).
2 changes: 1 addition & 1 deletion dialectid/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
# SOFTWARE.

__version__ = '0.0.2'
__version__ = '0.0.3'

from dialectid.text_repr import BoW
from dialectid.model import DialectId
2 changes: 1 addition & 1 deletion dialectid/utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,7 @@
'fr':['be', 'bj', 'bf', # Belgium, Benin, Burkina Faso
'cm', 'ca', 'cf', # Cameroon, Canada, Central African Republic
'td', 'km', 'cd', # Chad, Comoros, Congo (Republic)
'cg', 'cl', 'dj', # Congo, Cote d'lvoire, Djibouti
'cg', 'ci', 'dj', # Congo, Cote d'lvoire, Djibouti
'fr', 'pf', 'ga', # France, French Polynesia, Gabon
'gn', 'ht', 'lu', # Guinea, Haiti, Luxembourg
'ml', 'mc', 'nc', # Mali, Monaco, New Caledonia
Expand Down

0 comments on commit 4a89473

Please sign in to comment.