Add splitter text docs

This commit is contained in:
Sambo Chea 2021-02-02 12:21:10 +07:00
parent 60563b54d2
commit d187c66dde
8 changed files with 72 additions and 1 deletions

2
.gitignore vendored
View File

@ -69,7 +69,7 @@ instance/
.scrapy .scrapy
# Sphinx documentation # Sphinx documentation
docs/_build/ research/_build/
# PyBuilder # PyBuilder
target/ target/

8
.idea/.gitignore vendored Normal file
View File

@ -0,0 +1,8 @@
# Default ignored files
/shelf/
/workspace.xml
# Datasource local storage ignored files
/dataSources/
/dataSources.local.xml
# Editor-based HTTP Client requests
/httpRequests/

6
.idea/misc.xml Normal file
View File

@ -0,0 +1,6 @@
<?xml version="1.0" encoding="UTF-8"?>
<project version="4">
<component name="ProjectRootManager" version="2" languageLevel="JDK_11">
<output url="file://$PROJECT_DIR$/out" />
</component>
</project>

17
.idea/ml.iml Normal file
View File

@ -0,0 +1,17 @@
<?xml version="1.0" encoding="UTF-8"?>
<module type="JAVA_MODULE" version="4">
<component name="FacetManager">
<facet type="Python" name="Python">
<configuration sdkName="Python 3.9 (venv)" />
</facet>
</component>
<component name="NewModuleRootManager" inherit-compiler-output="true">
<exclude-output />
<content url="file://$MODULE_DIR$">
<excludeFolder url="file://$MODULE_DIR$/venv" />
</content>
<orderEntry type="inheritedJdk" />
<orderEntry type="sourceFolder" forTests="false" />
<orderEntry type="library" name="Python 3.9 (venv) interpreter library" level="application" />
</component>
</module>

8
.idea/modules.xml Normal file
View File

@ -0,0 +1,8 @@
<?xml version="1.0" encoding="UTF-8"?>
<project version="4">
<component name="ProjectModuleManager">
<modules>
<module fileurl="file://$PROJECT_DIR$/.idea/ml.iml" filepath="$PROJECT_DIR$/.idea/ml.iml" />
</modules>
</component>
</project>

6
.idea/vcs.xml Normal file
View File

@ -0,0 +1,6 @@
<?xml version="1.0" encoding="UTF-8"?>
<project version="4">
<component name="VcsDirectoryMappings">
<mapping directory="" vcs="Git" />
</component>
</project>

View 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]
```

View File

@ -0,0 +1,7 @@
import enchant
locale = 'en_US'
dict = enchant.Dict(locale)
print(dict.check("Hello"))