Getting Started On The Mac
This page is a part of the overall Getting started page.
Note that this documentation is relevant when you want to participate in 'building and developing the grammatical tools ' yourself. If you only want to use the ready-made grammatical analysers, see the Linguistic analysis page.
System setup
- You need a text editor - we recommend
- Basic programming tools (in this order):
Then you need a number of tools for the build chain.
Catalina and newer (macOS 10.15+)
Catalina comes with Python 3.7 built-in, and also Perl 5.18. By default, that should
Minimal install
sudo port install autoconf automake pkgconfig libtool python39 py39-pip py39-yaml wget \ bison cmake gawk saxon antiword wv libxslt poppler tidy subversion sudo port select --set pip3 pip39 sudo port select --set python3 python39
You also need to ensure that the following is set in .profile or similar:
export LC_ALL=no_NO.UTF-8 export LANG=no_NO.UTF-8 export LOCALE=no_NO.UTF-8
Adapt the actual locale to whatever you want, but the variables MUST be set, and the locale MUST be UTF-8.
Linguistic software
You need tools to convert your linguistic source code (lexicons, morphology,
- One or more of:
-
Xerox tools -
-
HFST tools, vislcg3, foma -
-
Xerox tools -
Now go back to to Getting Started page for the next step towards building, using and developing the linguistic analysers.
There is also a page giving the overview for linguistic download in order to download and compile the analysers. TODO (write these two together).
Additional software
Developing special tools in addition to the core linguistic analysers can require
Software for proofing development
If you want to work with proofing tools, see
Documentation web server locally
If you want to have documentation pages locally on your own machine, you need Forrest:
-
Forrest to validate the documentation comments.
- Forrest requires Java which can be downloaded from
- Forrest requires Java which can be downloaded from
Article authoring using LaTeX
sudo port install \ TeXShop3 \ texlive-basic \ texlive-bin-extra \ texlive-latex-extra
Note for Java avoiders
Some of the tools above require or use Java, notably Saxon and Forrest. Saxon is
None of these functions are strictly required for developing language tools. The
That is, Java is not required to do development using the Divvun/Giellatekno