Challenge Hand Talk, these are questions prepared by the data science team at Hand Talk, aimed at solving computational problems.
- Prerequisites: Python 3+
# clone repository
git clone /~https://github.com/GaabrielCoosta/Changelle_HandTalk
# enter the folder corresponding to the desired challenge
cd Combinations
cd Identificandoidiomas
# run the ".py" file
Identificadordeidiomas.py
Combinations.py
-
Develop a strategy and build a system that is able to answer which language a given sentence belongs to.
`eu gosto de cafĂ©` â `por`
`I like coffee`â `eng`
- Support at least 3 languages ââ(English, Portuguese and German, for example)
- Use Python 3+ (and COFFEE âïž) to solve the problem
- Use git and github to version your code. Try to send (commits) all stages of evolution of your implementation.
- Create a readme.md to explain how to use your project.
- Lists several example sentences (you can use other databases): http://www.manythings.org/anki/
-
Given any sentence, generate all possible combinations of breaking that sentence, fragmenting it until it can no longer be broken.
-
Input:
eu gosto de café
-
Output:
[
['eu gosto de café'],
['eu', 'gosto de café'],
['eu gosto', 'de café'],
['eu gosto de', 'café'],
['eu', 'gosto', 'de café'],
['eu', 'gosto de', 'café'],
['eu gosto', 'de', 'café'],
['eu', 'gosto', 'de', 'café']
]
- Use Python 3+ (and COFFEE âïž) to solve the problem
- Use git and github to version your code. Try to send (commits) all stages of evolution of your implementation.
- Create a readme.md to explain how to use your project.
- Use the official Python documentation https://docs.python.org/3/
Gabriel Costa Andrade