This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import string | |
import ast | |
import sys | |
rhyme_notes = string.ascii_lowercase+string.ascii_uppercase | |
vowels = ['a','e','i','o','u','y'] | |
idx = 0 | |
rhyme_dict = {} | |
ans = '' | |
ip = raw_input("Enter String Tuple\n") | |
input_list = ast.literal_eval(ip) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
from __future__ import absolute_import | |
from __future__ import print_function | |
import logging | |
import apache_beam as beam | |
from apache_beam.options.pipeline_options import PipelineOptions | |
class TestTokenizerDoFn(beam.DoFn): |