Comments (5)
Hi @nashvan,
Thanks for your comment and happy that the toolkit is of interest to you 🙂
The documentation is written with the assumption that the user/developer has sufficient knowledge about Python. pip3
is used only when there is more than one version of Python installed and therefore, managing packages is carried out differently. Likewise for running examples; they should be run in a .py
file as Python3 example.py
or directly in the Python environment of the Terminal/command line. To move from the bash environment to Python, simply type Python
.
I hope this helps :-)
from klpt.
@sinaahmadi thank for the reply, do you mind to share one example of the command that can run the tool? I am struggling to make it run, I am sure I must be missing an argument or such for the command I am using, I tried multiple options:
python setup.py import klpt dialect sorani script "Arabic" numeral ١٢٣٤٥٦٧٨٩٠
from klpt.
There are two ways to run Python:
- When opening your Terminal/command line, type
python
and enter. This will change the environment from bash to Python. Then, write your Python code. This is handy for quick tasks where reusing the code is not a priority. - Create a file with the
.py
extension. Then, write your Python code inside. Then, from your command line/Terminal, run the file aspython my_file.py
.
Find more at https://realpython.com/run-python-scripts/
from klpt.
@sinaahmadi thanks for your reply, but thats really not what i am after I know very well how to run python scripts. My question is very specific to your tool and what are the arguments need to passed to when running your tool. But all good dont worry will try to reverse engineer your tool and figure out whats needs to be passed to.
from klpt.
I guess you should note that KLPT is a toolkit, not a script. So, I'm afraid there is no argument to be passed to run it through the command line!
from klpt.
Related Issues (13)
- Integrate the Configuration module in other modules
- morphology for kurmanji HOT 7
- treebank for Kurmanji HOT 2
- Some words aren't analysed, although they are in Apertium HOT 4
- morphological generation for Kurmanji
- morphological generation for Sorani
- Excessive tokenization to be fixed
- Error when trying example HOT 4
- Stop words? HOT 5
- in_separator in mwe_tokenize doesn't work properly
- tokenization with word ending with "iy" instead of "îy"
- cyhunspell installation fails HOT 6
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from klpt.