Thanks Yuanlong,
we will look at it as soon as we got some time!
Cheers,
/peter neubauer
GTalk: neubauer.peter
Skype peter.neubauer
Phone +46 704 106975
LinkedIn http://www.linkedin.com/in/neubauer
Twitter http://twitter.com/peterneubauer
http://www.neo4j.org
I added here : https://github.com/neo4j/community/issues/14
--
View this message in context:
http://neo4j-community-discussions.438527.n3.nabble.com/Neo4j-how-Neo4j-work-for-sorting-chinese-character-tp3309754p3318317.html
Sent from the Neo4j Community Discussions mailing list archive at Nabble.
Yuan,
could you make a test for this, and issue a pull request on GIThub? This
should absolutely be part of the main code so you don't have to have your
own fork.
Cheers,
/peter neubauer
GTalk: neubauer.peter
Skype peter.neubauer
Phone +46 704 106975
LinkedIn http://www.linked
A ha ! I changed the cypher Scala source code by myself . Thank you for your
help.
--
View this message in context:
http://neo4j-community-discussions.438527.n3.nabble.com/Neo4j-how-Neo4j-work-for-sorting-chinese-character-tp3309754p3315369.html
Sent from the Neo4j Community Discussions mailing
hi,
In java we can sort Pinyin like this: (Sun provide a Comparator)
public int compare(String o1, String o2) {
return Collator.getInstance(Locale.CHINESE).compare(o1, o2);
}
But it's got some flaws.
You know there are so many homophones in Chinese.
But in Sun's Comparator they don't
Yuanlong,
can you provide Java code on how to sort Pinyin characters? In that case, I
am sure there is a way to incorporate it into the Cypher sorting routines.
It would be very helpful since we don't even know how to test Pinyin sorting
for correctness :/
Cheers,
/peter neubauer
GTalk: neu
6 matches
Mail list logo