<commit_before># Twitter Timeline Translate

This sample translates tweets in a Twitter timeline to a single language
(English by default) using the [Microsoft Translator API](http://www.microsofttranslator.com/dev/).
Statuses are filtered by the user's language and translated if it doesn't
match the target language.

A demo application that consumes the API and displays a translated public timeline is included.

## Example

    curl "http://demo-prod.apigee.net/mobile-friendly-twitter/1/statuses/user_timeline.json?screen_name=Apigee"

    [{"id_str":"253222923593216000",<commit_msg>twitter-translate: fix README example URL<commit_after># Twitter Timeline Translate

This sample translates tweets in a Twitter timeline to a single language
(English by default) using the [Microsoft Translator API](http://www.microsofttranslator.com/dev/).
Statuses are filtered by the user's language and translated if it doesn't
match the target language.

A demo application that consumes the API and displays a translated public timeline is included.

## Example

    curl "http://demo-prod.apigee.net/twitter-translate/1/statuses/public_timeline.json"

    [{"id_str":"253222923593216000",
{'fraction_non_alphanumeric': 0.08185654008438818, 'fraction_numerical': 0.032067510548523206, 'mean_word_length': 5.209424083769633, 'pattern_counts': {'":': 2, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 2, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '1977275', 'n_tokens_mistral': 357, 'n_tokens_neox': 316, 'n_words': 121}