{"metadata":{"kernelspec":{"language":"python","display_name":"Python 3","name":"python3"},"language_info":{"name":"python","version":"3.7.12","mimetype":"text/x-python","codemirror_mode":{"name":"ipython","version":3},"pygments_lexer":"ipython3","nbconvert_exporter":"python","file_extension":".py"}},"nbformat_minor":4,"nbformat":4,"cells":[{"cell_type":"code","source":"# installing tensorflow_text \n!pip install tensorflow_text ","metadata":{"id":"DGFTkuRvzWqc","outputId":"5cd555ad-f28d-40fc-8931-effd87043ffd","execution":{"iopub.status.busy":"2023-03-16T11:42:55.387809Z","iopub.execute_input":"2023-03-16T11:42:55.388211Z","iopub.status.idle":"2023-03-16T11:43:17.345494Z","shell.execute_reply.started":"2023-03-16T11:42:55.388174Z","shell.execute_reply":"2023-03-16T11:43:17.344235Z"},"trusted":true},"execution_count":1,"outputs":[{"name":"stdout","text":"Requirement already satisfied: tensorflow_text in /opt/conda/lib/python3.7/site-packages (2.11.0)\nRequirement already satisfied: tensorflow-hub>=0.8.0 in /opt/conda/lib/python3.7/site-packages (from tensorflow_text) (0.12.0)\nRequirement already satisfied: tensorflow<2.12,>=2.11.0 in /opt/conda/lib/python3.7/site-packages (from tensorflow_text) (2.11.0)\nRequirement already satisfied: grpcio<2.0,>=1.24.3 in /opt/conda/lib/python3.7/site-packages (from tensorflow<2.12,>=2.11.0->tensorflow_text) (1.51.1)\nRequirement already satisfied: six>=1.12.0 in /opt/conda/lib/python3.7/site-packages (from tensorflow<2.12,>=2.11.0->tensorflow_text) (1.16.0)\nRequirement already satisfied: libclang>=13.0.0 in /opt/conda/lib/python3.7/site-packages (from tensorflow<2.12,>=2.11.0->tensorflow_text) (15.0.6.1)\nRequirement already satisfied: flatbuffers>=2.0 in /opt/conda/lib/python3.7/site-packages (from tensorflow<2.12,>=2.11.0->tensorflow_text) (23.1.21)\nRequirement already satisfied: setuptools in /opt/conda/lib/python3.7/site-packages (from tensorflow<2.12,>=2.11.0->tensorflow_text) (59.8.0)\nRequirement already satisfied: keras<2.12,>=2.11.0 in /opt/conda/lib/python3.7/site-packages (from tensorflow<2.12,>=2.11.0->tensorflow_text) (2.11.0)\nRequirement already satisfied: tensorflow-io-gcs-filesystem>=0.23.1 in /opt/conda/lib/python3.7/site-packages (from tensorflow<2.12,>=2.11.0->tensorflow_text) (0.29.0)\nRequirement already satisfied: opt-einsum>=2.3.2 in /opt/conda/lib/python3.7/site-packages (from tensorflow<2.12,>=2.11.0->tensorflow_text) (3.3.0)\nRequirement already satisfied: absl-py>=1.0.0 in /opt/conda/lib/python3.7/site-packages (from tensorflow<2.12,>=2.11.0->tensorflow_text) (1.4.0)\nRequirement already satisfied: gast<=0.4.0,>=0.2.1 in /opt/conda/lib/python3.7/site-packages (from tensorflow<2.12,>=2.11.0->tensorflow_text) (0.4.0)\nRequirement already satisfied: tensorflow-estimator<2.12,>=2.11.0 in /opt/conda/lib/python3.7/site-packages (from tensorflow<2.12,>=2.11.0->tensorflow_text) (2.11.0)\nRequirement already satisfied: packaging in /opt/conda/lib/python3.7/site-packages (from tensorflow<2.12,>=2.11.0->tensorflow_text) (23.0)\nRequirement already satisfied: wrapt>=1.11.0 in /opt/conda/lib/python3.7/site-packages (from tensorflow<2.12,>=2.11.0->tensorflow_text) (1.14.1)\nRequirement already satisfied: astunparse>=1.6.0 in /opt/conda/lib/python3.7/site-packages (from tensorflow<2.12,>=2.11.0->tensorflow_text) (1.6.3)\nRequirement already satisfied: h5py>=2.9.0 in /opt/conda/lib/python3.7/site-packages (from tensorflow<2.12,>=2.11.0->tensorflow_text) (3.8.0)\nRequirement already satisfied: tensorboard<2.12,>=2.11 in /opt/conda/lib/python3.7/site-packages (from tensorflow<2.12,>=2.11.0->tensorflow_text) (2.11.2)\nCollecting protobuf<3.20,>=3.9.2\n Downloading protobuf-3.19.6-cp37-cp37m-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (1.1 MB)\n\u001b[2K \u001b[90m━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━\u001b[0m \u001b[32m1.1/1.1 MB\u001b[0m \u001b[31m28.7 MB/s\u001b[0m eta \u001b[36m0:00:00\u001b[0m00:01\u001b[0m\n\u001b[?25hRequirement already satisfied: typing-extensions>=3.6.6 in /opt/conda/lib/python3.7/site-packages (from tensorflow<2.12,>=2.11.0->tensorflow_text) (4.4.0)\nRequirement already satisfied: termcolor>=1.1.0 in /opt/conda/lib/python3.7/site-packages (from tensorflow<2.12,>=2.11.0->tensorflow_text) (2.2.0)\nRequirement already satisfied: numpy>=1.20 in /opt/conda/lib/python3.7/site-packages (from tensorflow<2.12,>=2.11.0->tensorflow_text) (1.21.6)\nRequirement already satisfied: google-pasta>=0.1.1 in /opt/conda/lib/python3.7/site-packages (from tensorflow<2.12,>=2.11.0->tensorflow_text) (0.2.0)\nRequirement already satisfied: wheel<1.0,>=0.23.0 in /opt/conda/lib/python3.7/site-packages (from astunparse>=1.6.0->tensorflow<2.12,>=2.11.0->tensorflow_text) (0.38.4)\nRequirement already satisfied: google-auth<3,>=1.6.3 in /opt/conda/lib/python3.7/site-packages (from tensorboard<2.12,>=2.11->tensorflow<2.12,>=2.11.0->tensorflow_text) (1.35.0)\nRequirement already satisfied: tensorboard-data-server<0.7.0,>=0.6.0 in /opt/conda/lib/python3.7/site-packages (from tensorboard<2.12,>=2.11->tensorflow<2.12,>=2.11.0->tensorflow_text) (0.6.1)\nRequirement already satisfied: tensorboard-plugin-wit>=1.6.0 in /opt/conda/lib/python3.7/site-packages (from tensorboard<2.12,>=2.11->tensorflow<2.12,>=2.11.0->tensorflow_text) (1.8.1)\nRequirement already satisfied: markdown>=2.6.8 in /opt/conda/lib/python3.7/site-packages (from tensorboard<2.12,>=2.11->tensorflow<2.12,>=2.11.0->tensorflow_text) (3.4.1)\nRequirement already satisfied: werkzeug>=1.0.1 in /opt/conda/lib/python3.7/site-packages (from tensorboard<2.12,>=2.11->tensorflow<2.12,>=2.11.0->tensorflow_text) (2.2.3)\nRequirement already satisfied: requests<3,>=2.21.0 in /opt/conda/lib/python3.7/site-packages (from tensorboard<2.12,>=2.11->tensorflow<2.12,>=2.11.0->tensorflow_text) (2.28.2)\nRequirement already satisfied: google-auth-oauthlib<0.5,>=0.4.1 in /opt/conda/lib/python3.7/site-packages (from tensorboard<2.12,>=2.11->tensorflow<2.12,>=2.11.0->tensorflow_text) (0.4.6)\nRequirement already satisfied: pyasn1-modules>=0.2.1 in /opt/conda/lib/python3.7/site-packages (from google-auth<3,>=1.6.3->tensorboard<2.12,>=2.11->tensorflow<2.12,>=2.11.0->tensorflow_text) (0.2.8)\nRequirement already satisfied: rsa<5,>=3.1.4 in /opt/conda/lib/python3.7/site-packages (from google-auth<3,>=1.6.3->tensorboard<2.12,>=2.11->tensorflow<2.12,>=2.11.0->tensorflow_text) (4.9)\nRequirement already satisfied: cachetools<5.0,>=2.0.0 in /opt/conda/lib/python3.7/site-packages (from google-auth<3,>=1.6.3->tensorboard<2.12,>=2.11->tensorflow<2.12,>=2.11.0->tensorflow_text) (4.2.4)\nRequirement already satisfied: requests-oauthlib>=0.7.0 in /opt/conda/lib/python3.7/site-packages (from google-auth-oauthlib<0.5,>=0.4.1->tensorboard<2.12,>=2.11->tensorflow<2.12,>=2.11.0->tensorflow_text) (1.3.1)\nRequirement already satisfied: importlib-metadata>=4.4 in /opt/conda/lib/python3.7/site-packages (from markdown>=2.6.8->tensorboard<2.12,>=2.11->tensorflow<2.12,>=2.11.0->tensorflow_text) (4.11.4)\nRequirement already satisfied: urllib3<1.27,>=1.21.1 in /opt/conda/lib/python3.7/site-packages (from requests<3,>=2.21.0->tensorboard<2.12,>=2.11->tensorflow<2.12,>=2.11.0->tensorflow_text) (1.26.14)\nRequirement already satisfied: certifi>=2017.4.17 in /opt/conda/lib/python3.7/site-packages (from requests<3,>=2.21.0->tensorboard<2.12,>=2.11->tensorflow<2.12,>=2.11.0->tensorflow_text) (2022.12.7)\nRequirement already satisfied: idna<4,>=2.5 in /opt/conda/lib/python3.7/site-packages (from requests<3,>=2.21.0->tensorboard<2.12,>=2.11->tensorflow<2.12,>=2.11.0->tensorflow_text) (3.4)\nRequirement already satisfied: charset-normalizer<4,>=2 in /opt/conda/lib/python3.7/site-packages (from requests<3,>=2.21.0->tensorboard<2.12,>=2.11->tensorflow<2.12,>=2.11.0->tensorflow_text) (2.1.1)\nRequirement already satisfied: MarkupSafe>=2.1.1 in /opt/conda/lib/python3.7/site-packages (from werkzeug>=1.0.1->tensorboard<2.12,>=2.11->tensorflow<2.12,>=2.11.0->tensorflow_text) (2.1.1)\nRequirement already satisfied: zipp>=0.5 in /opt/conda/lib/python3.7/site-packages (from importlib-metadata>=4.4->markdown>=2.6.8->tensorboard<2.12,>=2.11->tensorflow<2.12,>=2.11.0->tensorflow_text) (3.11.0)\nRequirement already satisfied: pyasn1<0.5.0,>=0.4.6 in /opt/conda/lib/python3.7/site-packages (from pyasn1-modules>=0.2.1->google-auth<3,>=1.6.3->tensorboard<2.12,>=2.11->tensorflow<2.12,>=2.11.0->tensorflow_text) (0.4.8)\nRequirement already satisfied: oauthlib>=3.0.0 in /opt/conda/lib/python3.7/site-packages (from requests-oauthlib>=0.7.0->google-auth-oauthlib<0.5,>=0.4.1->tensorboard<2.12,>=2.11->tensorflow<2.12,>=2.11.0->tensorflow_text) (3.2.2)\nInstalling collected packages: protobuf\n Attempting uninstall: protobuf\n Found existing installation: protobuf 3.20.3\n Uninstalling protobuf-3.20.3:\n Successfully uninstalled protobuf-3.20.3\n\u001b[31mERROR: pip's dependency resolver does not currently take into account all the packages that are installed. This behaviour is the source of the following dependency conflicts.\ncudf 21.12.2 requires cupy-cuda115, which is not installed.\ntfx-bsl 1.12.0 requires google-api-python-client<2,>=1.7.11, but you have google-api-python-client 2.79.0 which is incompatible.\ntfx-bsl 1.12.0 requires pyarrow<7,>=6, but you have pyarrow 5.0.0 which is incompatible.\ntensorflow-transform 1.12.0 requires pyarrow<7,>=6, but you have pyarrow 5.0.0 which is incompatible.\nonnx 1.13.1 requires protobuf<4,>=3.20.2, but you have protobuf 3.19.6 which is incompatible.\napache-beam 2.44.0 requires dill<0.3.2,>=0.3.1.1, but you have dill 0.3.6 which is incompatible.\u001b[0m\u001b[31m\n\u001b[0mSuccessfully installed protobuf-3.19.6\n\u001b[33mWARNING: Running pip as the 'root' user can result in broken permissions and conflicting behaviour with the system package manager. It is recommended to use a virtual environment instead: https://pip.pypa.io/warnings/venv\u001b[0m\u001b[33m\n\u001b[0m","output_type":"stream"}]},{"cell_type":"code","source":"# importing required libraries\nimport numpy as np\n\nimport typing\nfrom typing import Any, Tuple\n\nimport tensorflow as tf\n\nimport tensorflow_text as tf_text\n\nimport matplotlib.pyplot as plt\nimport matplotlib.ticker as ticker","metadata":{"id":"tnxXKDjq3jEL","execution":{"iopub.status.busy":"2023-03-16T11:43:17.349024Z","iopub.execute_input":"2023-03-16T11:43:17.349386Z","iopub.status.idle":"2023-03-16T11:43:24.129905Z","shell.execute_reply.started":"2023-03-16T11:43:17.349353Z","shell.execute_reply":"2023-03-16T11:43:24.128829Z"},"trusted":true},"execution_count":2,"outputs":[]},{"cell_type":"code","source":"# using builtin implementations\nuse_builtins = True","metadata":{"id":"KPJ9J7iPUchc","execution":{"iopub.status.busy":"2023-03-16T11:43:24.131282Z","iopub.execute_input":"2023-03-16T11:43:24.132076Z","iopub.status.idle":"2023-03-16T11:43:24.137016Z","shell.execute_reply.started":"2023-03-16T11:43:24.132030Z","shell.execute_reply":"2023-03-16T11:43:24.135628Z"},"trusted":true},"execution_count":3,"outputs":[]},{"cell_type":"code","source":"#@title Shape checker\nclass ShapeChecker():\n def __init__(self):\n # Keep a cache of every axis-name seen\n self.shapes = {}\n\n def __call__(self, tensor, names, broadcast=False):\n if not tf.executing_eagerly():\n return\n\n if isinstance(names, str):\n names = (names,)\n\n shape = tf.shape(tensor)\n rank = tf.rank(tensor)\n\n if rank != len(names):\n raise ValueError(f'Rank mismatch:\\n'\n f' found {rank}: {shape.numpy()}\\n'\n f' expected {len(names)}: {names}\\n')\n\n for i, name in enumerate(names):\n if isinstance(name, int):\n old_dim = name\n else:\n old_dim = self.shapes.get(name, None)\n new_dim = shape[i]\n\n if (broadcast and new_dim == 1):\n continue\n\n if old_dim is None:\n # If the axis name is new, add its length to the cache.\n self.shapes[name] = new_dim\n continue\n\n if new_dim != old_dim:\n raise ValueError(f\"Shape mismatch for dimension: '{name}'\\n\"\n f\" found: {new_dim}\\n\"\n f\" expected: {old_dim}\\n\")","metadata":{"id":"KqFqKi4fqN9X","execution":{"iopub.status.busy":"2023-03-16T11:43:24.141505Z","iopub.execute_input":"2023-03-16T11:43:24.142344Z","iopub.status.idle":"2023-03-16T11:43:24.155793Z","shell.execute_reply.started":"2023-03-16T11:43:24.142304Z","shell.execute_reply":"2023-03-16T11:43:24.154779Z"},"trusted":true},"execution_count":4,"outputs":[]},{"cell_type":"code","source":"!pip install Metaphone\nfrom metaphone import doublemetaphone\nimport pandas as pd\nimport re","metadata":{"id":"rOduTbljY-4e","outputId":"b95ed0e1-fb62-464b-f0a4-738b6ffc11a2","execution":{"iopub.status.busy":"2023-03-16T11:43:24.157133Z","iopub.execute_input":"2023-03-16T11:43:24.158036Z","iopub.status.idle":"2023-03-16T11:43:35.424695Z","shell.execute_reply.started":"2023-03-16T11:43:24.157970Z","shell.execute_reply":"2023-03-16T11:43:35.423443Z"},"trusted":true},"execution_count":5,"outputs":[{"name":"stdout","text":"Collecting Metaphone\n Downloading Metaphone-0.6.tar.gz (14 kB)\n Preparing metadata (setup.py) ... \u001b[?25ldone\n\u001b[?25hBuilding wheels for collected packages: Metaphone\n Building wheel for Metaphone (setup.py) ... \u001b[?25ldone\n\u001b[?25h Created wheel for Metaphone: filename=Metaphone-0.6-py3-none-any.whl size=13919 sha256=0ea3a5d91487d74185eb933acaaff4b0ad7165cf87bdbc87c56a244527ff6eb8\n Stored in directory: /root/.cache/pip/wheels/3a/2c/57/cb7d38aa6c80a870a0341ccf4265c2921fb55b1f7f4b76b46b\nSuccessfully built Metaphone\nInstalling collected packages: Metaphone\nSuccessfully installed Metaphone-0.6\n\u001b[33mWARNING: Running pip as the 'root' user can result in broken permissions and conflicting behaviour with the system package manager. It is recommended to use a virtual environment instead: https://pip.pypa.io/warnings/venv\u001b[0m\u001b[33m\n\u001b[0m","output_type":"stream"}]},{"cell_type":"code","source":"data1=pd.read_csv(\"/kaggle/input/google-reasearch/train.tsv\",sep='\\t')\ndata1","metadata":{"execution":{"iopub.status.busy":"2023-03-16T11:43:35.428421Z","iopub.execute_input":"2023-03-16T11:43:35.428743Z","iopub.status.idle":"2023-03-16T11:43:36.846977Z","shell.execute_reply.started":"2023-03-16T11:43:35.428710Z","shell.execute_reply":"2023-03-16T11:43:36.845910Z"},"trusted":true},"execution_count":6,"outputs":[{"execution_count":6,"output_type":"execute_result","data":{"text/plain":" en_query \\\n0 Who is the featured performer at The Grand Ole... \n1 Remind me of my meeting at 12 am \n2 set an alarm for 5 am \n3 What ’ s will weather be like at Sydney at 2 pm \n4 What is the weather in Canada ? \n... ... \n170078 How many miles from Humble to Brenham \n170079 What is traffic so bad on Ronald Reagan \n170080 Concerts by The Strokes for this weekend \n170081 How many mm of rain do we expect for tomorrow ? \n170082 cancel all alarms \n\n cs_query \\\n0 Is Saturday night The Grand Ole Opry me featur... \n1 mujhe 12 am ko meri meeting ke baare me yaad d... \n2 subha 5 baje ke liye ek alarm set karen \n3 dopaher 2 baje Sydney me mausam kaisa hoga \n4 Canada me mausam kaisa hai ? \n... ... \n170078 Humble se Brenham tak kitne miles hai \n170079 Ronald Reagan par traffic kyu kharaab hai \n170080 Is weekend The Strokes ke hone wale Concerts \n170081 kal kitni mm baarish ki ummeed hai ? \n170082 sarey alarms cance kare \n\n en_parses \\\n0 [IN:GET_EVENT Who is [SL:CATEGORY_EVENT the fe... \n1 [IN:CREATE_REMINDER Remind [SL:PERSON_REMINDED... \n2 [IN:CREATE_ALARM set an alarm [SL:DATE_TIME fo... \n3 [IN:GET_WEATHER What ’s will weather be like a... \n4 [IN:GET_WEATHER What is the weather in [SL:LOC... \n... ... \n170078 [IN:GET_DISTANCE How many [SL:UNIT_DISTANCE mi... \n170079 [IN:GET_INFO_TRAFFIC What is traffic so bad on... \n170080 [IN:GET_EVENT [SL:CATEGORY_EVENT Concerts ] by... \n170081 [IN:UNSUPPORTED_WEATHER How many mm of [SL:WEA... \n170082 [IN:DELETE_ALARM cancel [SL:AMOUNT all ] alarms ] \n\n cs_parses \n0 [IN:GET_EVENT [SL:DATE_TIME Is Saturday night ... \n1 [IN:CREATE_REMINDER [SL:PERSON_REMINDED mujhe ... \n2 [IN:CREATE_ALARM [SL:DATE_TIME subha 5 baje ke... \n3 [IN:GET_WEATHER [SL:DATE_TIME dopaher 2 baje ]... \n4 [IN:GET_WEATHER [SL:LOCATION Canada ] me mausa... \n... ... \n170078 [IN:GET_DISTANCE [SL:SOURCE Humble ] se [SL:DE... \n170079 [IN:GET_INFO_TRAFFIC [SL:LOCATION Ronald Reaga... \n170080 [IN:GET_EVENT [SL:DATE_TIME Is weekend ] [SL:N... \n170081 [IN:UNSUPPORTED_WEATHER kal kitni mm [SL:WEATH... \n170082 [IN:DELETE_ALARM [SL:AMOUNT sarey ] alarms can... \n\n[170083 rows x 4 columns]","text/html":"
\n | en_query | \ncs_query | \nen_parses | \ncs_parses | \n
---|---|---|---|---|
0 | \nWho is the featured performer at The Grand Ole... | \nIs Saturday night The Grand Ole Opry me featur... | \n[IN:GET_EVENT Who is [SL:CATEGORY_EVENT the fe... | \n[IN:GET_EVENT [SL:DATE_TIME Is Saturday night ... | \n
1 | \nRemind me of my meeting at 12 am | \nmujhe 12 am ko meri meeting ke baare me yaad d... | \n[IN:CREATE_REMINDER Remind [SL:PERSON_REMINDED... | \n[IN:CREATE_REMINDER [SL:PERSON_REMINDED mujhe ... | \n
2 | \nset an alarm for 5 am | \nsubha 5 baje ke liye ek alarm set karen | \n[IN:CREATE_ALARM set an alarm [SL:DATE_TIME fo... | \n[IN:CREATE_ALARM [SL:DATE_TIME subha 5 baje ke... | \n
3 | \nWhat ’ s will weather be like at Sydney at 2 pm | \ndopaher 2 baje Sydney me mausam kaisa hoga | \n[IN:GET_WEATHER What ’s will weather be like a... | \n[IN:GET_WEATHER [SL:DATE_TIME dopaher 2 baje ]... | \n
4 | \nWhat is the weather in Canada ? | \nCanada me mausam kaisa hai ? | \n[IN:GET_WEATHER What is the weather in [SL:LOC... | \n[IN:GET_WEATHER [SL:LOCATION Canada ] me mausa... | \n
... | \n... | \n... | \n... | \n... | \n
170078 | \nHow many miles from Humble to Brenham | \nHumble se Brenham tak kitne miles hai | \n[IN:GET_DISTANCE How many [SL:UNIT_DISTANCE mi... | \n[IN:GET_DISTANCE [SL:SOURCE Humble ] se [SL:DE... | \n
170079 | \nWhat is traffic so bad on Ronald Reagan | \nRonald Reagan par traffic kyu kharaab hai | \n[IN:GET_INFO_TRAFFIC What is traffic so bad on... | \n[IN:GET_INFO_TRAFFIC [SL:LOCATION Ronald Reaga... | \n
170080 | \nConcerts by The Strokes for this weekend | \nIs weekend The Strokes ke hone wale Concerts | \n[IN:GET_EVENT [SL:CATEGORY_EVENT Concerts ] by... | \n[IN:GET_EVENT [SL:DATE_TIME Is weekend ] [SL:N... | \n
170081 | \nHow many mm of rain do we expect for tomorrow ? | \nkal kitni mm baarish ki ummeed hai ? | \n[IN:UNSUPPORTED_WEATHER How many mm of [SL:WEA... | \n[IN:UNSUPPORTED_WEATHER kal kitni mm [SL:WEATH... | \n
170082 | \ncancel all alarms | \nsarey alarms cance kare | \n[IN:DELETE_ALARM cancel [SL:AMOUNT all ] alarms ] | \n[IN:DELETE_ALARM [SL:AMOUNT sarey ] alarms can... | \n
170083 rows × 4 columns
\n\n | Sentence | \ntrr | \n
---|---|---|
0 | \nis saturday night the grand ole opry me featur... | \nwho is the featured performer at the grand ole... | \n
1 | \nmujhe 12 am ko meri meeting ke baare me yaad d... | \nremind me of my meeting at 12 am | \n
2 | \nsubha 5 baje ke liye ek alarm set karen | \nset an alarm for 5 am | \n
3 | \ndopaher 2 baje sydney me mausam kaisa hoga | \nwhat ’ s will weather be like at sydney at 2 pm | \n
4 | \ncanada me mausam kaisa hai ? | \nwhat is the weather in canada ? | \n
... | \n... | \n... | \n
170078 | \nhumble se brenham tak kitne miles hai | \nhow many miles from humble to brenham | \n
170079 | \nronald reagan par traffic kyu kharaab hai | \nwhat is traffic so bad on ronald reagan | \n
170080 | \nis weekend the strokes ke hone wale concerts | \nconcerts by the strokes for this weekend | \n
170081 | \nkal kitni mm baarish ki ummeed hai ? | \nhow many mm of rain do we expect for tomorrow ? | \n
170082 | \nsarey alarms cance kare | \ncancel all alarms | \n
170083 rows × 2 columns
\n\n | Sentence | \nEnglish_Translation | \ntrr | \ntr | \n
---|---|---|---|---|
0 | \ncongratulations on you celebrating british kid... | \nusers congratulate you for celebrating British... | \ncongratulations on you celebrating british kid... | \ncongratulations on you celebrating british kid... | \n
1 | \nuske liye toh bahot kuch karna padega ye pappi... | \nrat we should a lot more for that, by this evi... | \nyou will have to do a lot for that, it will no... | \nyou will have to do a lot for that, it will no... | \n
2 | \nyehi to hum semjhane ki koshish kar rahe hain.... | \nehi, this is what i'm expecting you to underst... | \nthis is what we are trying to understand. peop... | \nthis is what we are trying to understand. peop... | \n
3 | \ncake kaha hai ?? | \nis Dramebajakudi where is the cake? | \nwhere is the cake?? | \nwhere is the cake?? | \n
4 | \njeet ka jashn aur shubah ki shuruat eating bre... | \nthe celebration of a victory and the start of ... | \nvictory celebration and early morning eating b... | \nvictory celebration and early morning eating b... | \n
... | \n... | \n... | \n... | \n... | \n
12143 | \ndr kumar vishwas: \"koi deewana kehta hai.. koi... | \nDr Kumar Vishwas: \"Some used to say lover.. So... | \ndr. kumar vishwas: \"some say crazy..some think... | \ndr. kumar vishwas: \"some say crazy..some think... | \n
12144 | \nme: aaj kuch toofani karte hai.mom: pani ki bo... | \nMe: Let's do some stormy today.Mom: Fill the w... | \nme: let's do something stormy today. mother: f... | \nme: let's do something stormy today. mother: f... | \n
12145 | \npyar mangi to jaan dengi,milk mango to kher de... | \nAsk for love we'll give life, ask for milk we'... | \nif you ask for love, you will give your life, ... | \nif you ask for love, you will give your life, ... | \n
12146 | \nkaale kaale baal gaal gore gore | \nblack hair cheeks fair fair | \nkale kale bal gal gore gore | \nkale kale bal gal gore gore | \n
12147 | \nye sab aunty'on ke saath? | \nAll this with aunties? | \nall this with the aunties? | \nall this with the aunties? | \n
12148 rows × 4 columns
\n\n | Sentence | \ntrr | \n
---|---|---|
0 | \ncongratulations on you celebrating british kid... | \ncongratulations on you celebrating british kid... | \n
1 | \nuske liye toh bahot kuch karna padega ye pappi... | \nyou will have to do a lot for that, it will no... | \n
2 | \nyehi to hum semjhane ki koshish kar rahe hain.... | \nthis is what we are trying to understand. peop... | \n
3 | \ncake kaha hai ?? | \nwhere is the cake?? | \n
4 | \njeet ka jashn aur shubah ki shuruat eating bre... | \nvictory celebration and early morning eating b... | \n
... | \n... | \n... | \n
12143 | \ndr kumar vishwas: \"koi deewana kehta hai.. koi... | \ndr. kumar vishwas: \"some say crazy..some think... | \n
12144 | \nme: aaj kuch toofani karte hai.mom: pani ki bo... | \nme: let's do something stormy today. mother: f... | \n
12145 | \npyar mangi to jaan dengi,milk mango to kher de... | \nif you ask for love, you will give your life, ... | \n
12146 | \nkaale kaale baal gaal gore gore | \nkale kale bal gal gore gore | \n
12147 | \nye sab aunty'on ke saath? | \nall this with the aunties? | \n
12148 rows × 2 columns
\n\n | Sentence | \ntrr | \n
---|---|---|
0 | \nCome on boys, waqt hai shine karne ka | \nCome on boys, it is time to shine. | \n
1 | \nYeh heart Maange More! | \nThis heart asks for more! | \n
2 | \nShe was bhunno-ing the masala-s jub phone ki g... | \nShe was roasting the spices when the phone rang | \n
3 | \nYou know me na... | \nYou know me right | \n
4 | \nWoh to mai sambhal lunga | \nI will handle that | \n
... | \n... | \n... | \n
1299 | \nmuze vo bohot pasand hai | \nI like it a lot | \n
1300 | \nmujhe psnd hai | \nI like it a lot | \n
1301 | \nmujhe market se vegetables lekar aane hain | \nI have to bring vegetables from the market | \n
1302 | \nsabse best friend | \nMost best friend | \n
1303 | \nbest friend sabse | \nmost best friend | \n
1304 rows × 2 columns
\n\n | Sentence | \ntrr | \n
---|---|---|
0 | \ncongratulations on you celebrating british kid... | \ncongratulations on you celebrating british kid... | \n
1 | \nuske liye toh bahot kuch karna padega ye pappi... | \nyou will have to do a lot for that, it will no... | \n
2 | \nyehi to hum semjhane ki koshish kar rahe hain.... | \nthis is what we are trying to understand. peop... | \n
3 | \ncake kaha hai ?? | \nwhere is the cake?? | \n
4 | \njeet ka jashn aur shubah ki shuruat eating bre... | \nvictory celebration and early morning eating b... | \n
... | \n... | \n... | \n
1299 | \nmuze vo bohot pasand hai | \ni like it a lot | \n
1300 | \nmujhe psnd hai | \ni like it a lot | \n
1301 | \nmujhe market se vegetables lekar aane hain | \ni have to bring vegetables from the market | \n
1302 | \nsabse best friend | \nmost best friend | \n
1303 | \nbest friend sabse | \nmost best friend | \n
183535 rows × 2 columns
\n\n | Sentence | \ntrr | \n
---|---|---|
0 | \ncongratulations on you celebrating british kid... | \ncongratulations on you celebrating british kid... | \n
1 | \nuske liye toh bahat kuch karwana padega yee pa... | \nyou will have to do a lot for that, it will no... | \n
2 | \nyehi tooo hum semjhane ki koshish karr rahee h... | \nthis is what we are trying to understand. peop... | \n
3 | \ncake kaha hai | \nwhere is the cake?? | \n
4 | \njett kauwa jashn aur shubah ki shroowat eating... | \nvictory celebration and early morning eating b... | \n
... | \n... | \n... | \n
1299 | \nmuse vo bohut pasand hai | \ni like it a lot | \n
1300 | \nmuje psnd hai | \ni like it a lot | \n
1301 | \nmuje maarkit see vegtables lekar aaine hawon | \ni have to bring vegetables from the market | \n
1302 | \nsabse best frnd | \nmost best friend | \n
1303 | \nbest frnd sabse | \nmost best friend | \n
183535 rows × 2 columns
\n