S
S
seagull2011-07-09 20:18:26
Habr
seagull, 2011-07-09 20:18:26

Does Habré need a review of the library for declension of full name?

Now I am writing the NameCaseLib library for PHP5, which allows you to automatically decline Ukrainian and Russian full names. Do I need an overview of the library on Habrahabr.
If you need a review, what should you pay more attention to:
- usage examples
- development history
- technical description of the library operation
- testing and writing methodology
Or ​​your other wishes.

Answer the question

In order to leave comments, you need to log in

21 answer(s)
L
leonid239, 2011-07-09
@leonid239

I would love a review.
It would also be interesting to do the following: download some large list of names and surnames from some social network and then compare the results of work with this one: nano.yandex.ru/project/inflect/

I
IgorMats, 2011-07-09
@IgorMats

I would love to read.
I would like to draw attention to the various ways of implementation and why you chose the way you chose. Thanks in advance for the article ;)

B
bestfriend, 2011-07-12
@bestfriend

sorry fool :)

M
maratfmu, 2011-07-10
@maratfmu

Oh, it's a pity that only in PHP ...
Under .Net, you can’t attach it, unfortunately

S
sainnr, 2011-07-09
@sainnr

I would read it with pleasure. It is especially interesting how the processing of “complex” and foreign surnames takes place.

M
mariofag, 2011-07-10
@mariofag

Linus Torvalds - in the instrumental case it outputs as "Linus". I understand that the library is designed more for Russian full names, but still.

N
Nikolai Kirsch, 2011-07-11
@boston

Declines foreign surnames:
namecaselib.com/case/ru/%D0%9C%D0%B0%D1%80%D1%82%D0%B0%20%D0%93%D0%BE%D0%BB%D1%8C %D0%B4%D0%B5%D0%BD%D0%B1%D0%B5%D1%80%D0%B3/

D
Dan Skatov, 2011-07-10
@excoder

It would be interesting, yes. Only it needs to be finished a little - try Zotik.

R
red_pilot, 2011-07-10
@red_pilot

Failed to decline: Valeria Guy
In Ukrainian, he determines that Guy is a surname, but not in Russian and tries to decline it.

E
Elkaz, 2011-07-10
@Elkaz

My name is mixed up with my last name :)
namecaselib.com/case/ru/%D0%AD%D0%BB%D1%8C%D0%BA%D0%B8%D0%BD%20%D0%90%D1%85 %D1%83%D0%BD%D0%B4%D0%B7%D0%B0%D0%B4%D0%B5/

0
0leGG, 2011-07-10
@0leGG

And the surname should not bow =)

M
Maccimo, 2011-07-10
@Maccimo

Penelope Cruz was too tough.
When I click on the "Russian" / "Ukrainian" buttons, I get a 404 error:

The requested URL /case/en/demo.php was not found on this server.

S
sainnr, 2011-07-10
@sainnr

Tsakh Natalya - in Russian it is not defined as a female surname and, accordingly, inclines in full

A
Antigluk, 2011-07-11
@Antigluk

Jack Sparrow Fedorovich - in Russian he thinks that Sparrow and Jack are names

K
kastigar, 2011-07-11
@kastigar

Incorrectly declines my surname in Russian . In Ukrainian - everything is ok.
A review is definitely needed :) More interested in the theoretical part.

N
nekoval, 2011-07-12
@nekoval

There is a problem with women's surnames. For example, "Elena Pendyur" is stubbornly defined as a man, leaning incorrectly. It's too early to review your library IMHO.

B
bestfriend, 2011-07-12
@bestfriend

I tried your full name
Is that how it should be?

B
bestfriend, 2011-07-12
@bestfriend

Izmestiev Yuriy Andreevich
in
Ukrainian

Y
ykrop, 2011-07-12
@ykrop

a good undertaking - but here's a tip: the declension should take into account whether this is a masculine surname or not. therefore, in places of use, it is recommended to use additional. ME/JO registration line. in contact and done after all

G
Ganesh, 2011-07-13
@Ganesh

namecaselib.com/case/ua/%D0%93%D0%BE%D0%B4%D0%BE%D0%B2%D1%8B%D1%85%20%D0%9E%D0%BB%D0%B5 % D0% B3% 20% D0% 9F% D0% B0% D0% B2% D0% BB% D0% BE% D0% B2% D0% B8% D1% 87 / error directly on the example)

@
@ntkt, 2011-07-13
_

And what to do in the case of http://namecaselib.com/case/ru/Khrenova%20Gadya%20Petrovich/  ?

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question