Hey, this is an English text. I want you to translate it into the Tunisian dialect.…
- User
Hey, this is an English text. I want you to translate it into the Tunisian dialect. Please follow these steps:
- Translate step by step and highlight differences between Tunisian dialect and Modern Standard Arabic.
- Highlight sections you are confident translating into the Tunisian dialect. Translate this text into the Tunisian dialect, focusing on capturing the essence of the language nuances:
Q: merge autocomplete results from multiple sources I am currently getting autocomplete results from a single source. If I wanted to also get results from a second source how would I go about this, and can I add the results on the fly (if one of the sources took longer). For example this is a form field which is autocompleted using town names from geonames.org. http://jsfiddle.net/Q6YFx/ How would I impliment merging the results from a second source such as Google Geocode API: geocoder.geocode( { 'address': request.term, 'region': 'GB' }, function(results, status) { response($.map(results, function(item) { return { value: item.formatted_address+' (google)', latitude: item.geometry.location.lat(), longitude: item.geometry.location.lng() } })); }) The google results are quicker to fetch, so I'd like to show these when they are ready and then when I get the geonames.org results I'd like to add these to the mix. Thanks A: This is how I did it in the end http://jsfiddle.net/ekzMN/89/
- Assistant