Add splitter text docs
This commit is contained in:
19
research/text/splitter/splitter.md
Normal file
19
research/text/splitter/splitter.md
Normal file
@@ -0,0 +1,19 @@
|
||||
# Text Splitter
|
||||
|
||||
***Objectives***
|
||||
- [ ] Split the statement into array of words
|
||||
- [ ] Split the concat words into other of array
|
||||
|
||||
***Declaratives***
|
||||
- Statement I (split the concat words)
|
||||
```text
|
||||
myword and youknowaboutitaswell
|
||||
```
|
||||
- Result as output
|
||||
```text
|
||||
my word and you know about it as well
|
||||
```
|
||||
- Result as output in code
|
||||
```text
|
||||
[my, word, and, you, know, about, it, as, well]
|
||||
```
|
||||
7
research/text/splitter/splitter.py
Normal file
7
research/text/splitter/splitter.py
Normal file
@@ -0,0 +1,7 @@
|
||||
import enchant
|
||||
|
||||
locale = 'en_US'
|
||||
|
||||
dict = enchant.Dict(locale)
|
||||
|
||||
print(dict.check("Hello"))
|
||||
Reference in New Issue
Block a user