This is a pre-production deployment of Warehouse, however changes made here WILL affect the production instance of PyPI.
Latest Version Dependencies status unknown Test status unknown Test coverage unknown
Project Description
Turkish Suffix Library 0.1.3

Turkish Suffix Library is a Turkish Suffix generator which changes nouns into ablative,
genetice, locative, dative, acusative cases and possessive affix.


pip install django-turkish-suffix-library

python install

Quick start

Add "tr_sufix" to your INSTALLED_APPS setting like this::


Usage for templates
{% load trsuffix %}

Locative, ablative, genitive, dative and accusative cases are using like this, if the noun is a proper noun, the False paremeter should be set into True:

{{ "araç"|tr_locative:False }}
{{ "araç"|tr_ablative:False }}
{{ "araç"|tr_genitive:False }}
{{ "araç"|tr_dative:False }}
{{ "araç"|tr_accusative:False }}

For possesive affixes, the first boolean parameter is for if it is proper noun or not.
Second paremeter is the person and third parameter is if it is singular or plural means:

1,1: I
2,1: You (singular)
3,1: He/she/it
1,2: We
2,2: You (plural)
3,2: They

{{ "araç"|tr_possessiveaffix:"False,1,1" }}
{{ "araç"|tr_possessiveaffix:"False,2,1" }}
{{ "araç"|tr_possessiveaffix:"False,3,1" }}
{{ "araç"|tr_possessiveaffix:"False,1,2" }}
{{ "araç"|tr_possessiveaffix:"False,2,2" }}
{{ "araç"|tr_possessiveaffix:"False,3,2" }}

Usage on views:

Don't forget to put utf8 on top of the view:

#-*- coding: utf-8 -*-

from tr_suffix import stem

print stem.suffix(u"araç"").makeLocative({"proper_noun": False})
print stem.suffix(u"araç"").makeAblative({"proper_noun": False})
print stem.suffix(u"araç"").makeGenitive({"proper_noun": False})
print stem.suffix(u"araç"").makeDative({"proper_noun": False})
print stem.suffix(u"araç"").makeAccusative({"proper_noun": False})
Release History

Release History


This version

History Node

TODO: Figure out how to actually get changelog content.

Changelog content for this version goes here.

Donec et mollis dolor. Praesent et diam eget libero egestas mattis sit amet vitae augue. Nam tincidunt congue enim, ut porta lorem lacinia consectetur. Donec ut libero sed arcu vehicula ultricies a non tortor. Lorem ipsum dolor sit amet, consectetur adipiscing elit.

Show More

Download Files

Download Files

TODO: Brief introduction on what you do with files - including link to relevant help section.

File Name & Checksum SHA256 Checksum Help Version File Type Upload Date
turkish-suffix-library-0.1.4.tar.gz (5.5 kB) Copy SHA256 Checksum SHA256 Source Aug 11, 2013

Supported By

WebFaction WebFaction Technical Writing Elastic Elastic Search Pingdom Pingdom Monitoring Dyn Dyn DNS Sentry Sentry Error Logging CloudAMQP CloudAMQP RabbitMQ Heroku Heroku PaaS Kabu Creative Kabu Creative UX & Design Fastly Fastly CDN DigiCert DigiCert EV Certificate Rackspace Rackspace Cloud Servers DreamHost DreamHost Log Hosting