Every cat chases some dog.

There are, as well you know, two readings for that sentence. What does it look like in Thai? According to Google, like this:

??????????? chases ???

Maybe this gives us a clue about the training corpus. “Every cat loves some dog” goes through, and if you mouse over words in the resulting sentence, the original English word lights up through the magic of Javascript. This gives us a mapping like this:

Thukkhn_EVERY r?k_LOVES s?un?k?h_DOG m?w_CAT b?ng_SOME

That looks non-projective to me. But a similar sentence might never have appeared in the training data. So let’s try something a bit simpler.”John loves Mary” and “Mary loves John” both come out as Cxh??n m?r?? r?k. “John loves to fish” is Cxh??n chxb pl? and “John loves fish” is Cxh??n r?k pl?. Don’t tell Mary.

Posted in th | Leave a comment

The cat paradigm

I asked Google Translate this:

I am a cat. You are a cat. He is a cat. We are cats. They are cats. She is a cat.

I got back this (romanized version):

C?h?n m?w Khu? p?n m?w K?he? p?n m?w Re? p?n m?w Phwk k?he? p?n m?w ?hex p?n m?w

from which I learn that the word for “cat” is m?w, there are no plurals so far, and there are some exciting diacritics. Your browser may not be able to cope with the combining entities in “I”, “he” and “they”. Bing says:

?????? ?????????? ?????????? ???????? ??????????? ?????????

which seems to be nearly identical to Mountain View’s:

?????? ?????????? ?????????? ?????????? ????????????? ??????????

This looks like a positive sign.

Posted in th | Leave a comment

New school Thai

What can you learn about a language through automatic machine translation?

A good testbed for this, I thought, is Thai. I know next to nothing about it. It has tones, but I couldn’t tell you whether it’s isolating or inflecting, whether it has honorifics (probably, but that’s a complete guess), or even what else it’s related to.

Here goes.

Posted in th | Leave a comment

As-73 if

Arsenic nuclei have an odd number of protons in them. They also have a lot more protons in them than iron nuclei, which are the heaviest nuclei made in any sort of number by stars.

There is no way that organisms would preferentially incorporate arsenic rather than phosphorus unless they were on a planet where somehow all of the phosphorus had been sequestrated by some unfathomable geological process or naughty alien scientists.

That is all I have to say.

Posted in naturenotes | Leave a comment

ALTER TABLE my_table CONVERT TO CHARACTER SET utf8;

php "question marks" utf-8 utf8 mysql

Hopefully that’s the search terms and the answer a good way round for search engines to find.

Posted in CJK | 1 Comment

OpenFruitMap

I read somewhere that foraging for wild mushrooms was damaging forests. Every so often it occurs to me that the most dangerous thing you could do with a GPS would be to log the positions of all of your nearby sloes, brambles and so on and encourage all of your friends to do likewise.

I’ve said it now. I hope the word isn’t father to the deed.

Posted in naturenotes | Leave a comment

dicate and predicate

A. C. Grayling pronounces “predicate” to rhyme with “immediate”.

Posted in maunderings | Leave a comment

How do I say your name again?

Gao E (??) is the only 18th century Chinese writer to have played Test cricket for England.

Posted in CJK | Leave a comment

Dynamization

First McDonald’s came for stative love, but there’s something very odd going on with like. As you know, if you like Paris in the springtime at time t then you also like Paris in the springtime at time t?, regardless of whether time t? is in springtime or not. Bracketing this, (I like (Paris in the springtime)).

Enter Facebook. If you like Paris on website w, it then doesn’t follow that you like Paris on website w?. Bracketing again, (I like (Paris) on Facebook). However, I’d still asterisk “I’m liking Paris”. But would everybody?

Posted in maunderings | Leave a comment

Tomato colour

The tomatoes I fetched from the garden yesterday between them show all of the shades from tomato colour to tomato colour.

Posted in naturenotes | Leave a comment