Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
M
macaon2
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container registry
Model registry
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Alexis Nasr
macaon2
Commits
f4cb9eeb
Commit
f4cb9eeb
authored
8 years ago
by
Alexis Nasr
Browse files
Options
Downloads
Patches
Plain Diff
added a directory to compile lemmatizer in fr
parent
4bbd7c62
No related branches found
No related tags found
No related merge requests found
Changes
3
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
fr/Makefile
+3
-3
3 additions, 3 deletions
fr/Makefile
fr/maca_lemmatizer/Makefile
+16
-1
16 additions, 1 deletion
fr/maca_lemmatizer/Makefile
fr/maca_lemmatizer/maca_trans_lemmatizer.fm
+21
-0
21 additions, 0 deletions
fr/maca_lemmatizer/maca_trans_lemmatizer.fm
with
40 additions
and
4 deletions
fr/Makefile
+
3
−
3
View file @
f4cb9eeb
...
...
@@ -9,7 +9,7 @@ compile:
$(
MAKE
)
-C
maca_trans_tagger compile
$(
MAKE
)
-C
maca_trans_morpho compile
$(
MAKE
)
-C
maca_trans_parser compile
$(
MAKE
)
-C
maca_trans_parser_nn compile
#
$(MAKE) -C maca_trans_parser_nn compile
# $(MAKE) -C maca_crf_tagger compile
install
:
...
...
@@ -17,7 +17,7 @@ install:
$(
MAKE
)
-C
maca_trans_tagger
install
$(
MAKE
)
-C
maca_trans_morpho
install
$(
MAKE
)
-C
maca_trans_parser
install
$(
MAKE
)
-C
maca_trans_parser_nn
install
#
$(MAKE) -C maca_trans_parser_nn install
$(MAKE)
-C
maca_lemmatizer
install
$(MAKE)
-C
maca_lexer
install
# $(MAKE) -C maca_crf_tagger install
...
...
@@ -31,7 +31,7 @@ clean:
$(
MAKE
)
-C
data/treebank clean
$(
MAKE
)
-C
maca_lexer clean
$(
MAKE
)
-C
maca_trans_parser clean
$(
MAKE
)
-C
maca_trans_parser_nn clean
#
$(MAKE) -C maca_trans_parser_nn clean
$(MAKE)
-C
maca_trans_morpho
clean
$(MAKE)
-C
maca_trans_tagger
clean
$(MAKE)
-C
maca_crf_tagger
clean
...
...
This diff is collapsed.
Click to expand it.
fr/maca_lemmatizer/Makefile
+
16
−
1
View file @
f4cb9eeb
DATA
=
../data/morpho-lexicon
THRESHOLD
=
100
STRICT
=
-s
##-----------------------------------------------------------------------
## compile
##-----------------------------------------------------------------------
model
:
cff
perceptron_train
--cff
$<
--model
model
-n
4
cff
:
rules
maca_trans_lemmatizer_mcf2cff
-f
exceptions.fplm
-x
cff
-i
../data/treebank/train.mcf
-F
maca_trans_lemmatizer.fm
-V
dico
rules
:
maca_compute_l_rules
-f
../data/morpho-lexicon/fplm
-e
exceptions.fplm
-r
rules
$(
STRICT
)
-t
$(
THRESHOLD
)
##-----------------------------------------------------------------------
## install
##-----------------------------------------------------------------------
...
...
@@ -15,4 +26,8 @@ install:
## clean
##-----------------------------------------------------------------------
clean
:
-
rm
rules
-
rm
exceptions.fplm
-
rm
cff
-
rm
model
This diff is collapsed.
Click to expand it.
fr/maca_lemmatizer/maca_trans_lemmatizer.fm
0 → 100644
+
21
−
0
View file @
f4cb9eeb
#b0U1
#b0p b0f
#b0len
#bm1f
#bm2f
#b0p
#bm1p
#bm1m
#bm1p bm1m
#bm2p
#bm3p
#bm2p bm1p
#bm2p bm3p
#b0p b0s1
#b0s2
#b0s3
#b0s4
#b0s5
b0p b0s1 b0s2
b0p b0s1 b0s2 b0s3
b0p b0s1 b0s2 b0s3 b0s4
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment