Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
H
Heritage_Platform
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Service Desk
Milestones
Merge Requests
0
Merge Requests
0
Operations
Operations
Incidents
Packages & Registries
Packages & Registries
Container Registry
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Gérard Huet
Heritage_Platform
Commits
26ee877e
Commit
26ee877e
authored
Jul 22, 2018
by
Gérard Huet
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
added some preverbs to a few roots
parent
0af044f0
Changes
5
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
20 additions
and
17 deletions
+20
-17
ML/pada.ml
ML/pada.ml
+8
-7
ML/verbs.ml
ML/verbs.ml
+4
-3
ML/version.ml
ML/version.ml
+1
-1
SETUP/version.txt
SETUP/version.txt
+1
-1
SITE/manual.html
SITE/manual.html
+6
-5
No files found.
ML/pada.ml
View file @
26ee877e
...
@@ -109,7 +109,7 @@ value voices_of = fun
...
@@ -109,7 +109,7 @@ value voices_of = fun
| "kram" | "krii" | "k.san" | "k.sap#1" | "k.sal" | "k.sip" | "k.sud" | "khan"
| "kram" | "krii" | "k.san" | "k.sap#1" | "k.sal" | "k.sip" | "k.sud" | "khan"
| "gam" | "garh" | "guh" | "gras" | "gha.t.t" | "cat" | "carc" | "ci"
| "gam" | "garh" | "guh" | "gras" | "gha.t.t" | "cat" | "carc" | "ci"
| "cint" | "cud" | "ce.s.t" | "cyu" | "chad#1" | "chand" | "chid#1" | "jan"
| "cint" | "cud" | "ce.s.t" | "cyu" | "chad#1" | "chand" | "chid#1" | "jan"
| "juu" | "j~naa#1" | "jyaa#1" | "jyut" | "ta.d" | "tan#1" | "tan#2"
| "juu" | "j~naa#1" | "jyaa#1" | "jyut" | "ta.d" | "tan#1" | "tan#2"
| "tap"
| "tud#1" | "tul" | "t.rd" | "daaz#1" | "diz#1" | "dih" | "duh#1"
| "tud#1" | "tul" | "t.rd" | "daaz#1" | "diz#1" | "dih" | "duh#1"
| "dev#1" | "draa#2" | "dvi.s#1" | "dhaa#1" | "dhaav#1" | "dhaav#2"
| "dev#1" | "draa#2" | "dvi.s#1" | "dhaa#1" | "dhaav#1" | "dhaav#2"
| "dhuu#1" | "dh.r" | "dhva.ms" | "nah" | "naath" | "nij" | "nii#1"
| "dhuu#1" | "dh.r" | "dhva.ms" | "nah" | "naath" | "nij" | "nii#1"
...
@@ -141,7 +141,7 @@ jan 4A 1U
...
@@ -141,7 +141,7 @@ jan 4A 1U
j.rr 1U 4P
j.rr 1U 4P
jyaa1 4A 9P
jyaa1 4A 9P
.damb 1A 10P (vi-)
.damb 1A 10P (vi-)
tap 1
P
4A
tap 1
U
4A
daa1 2P 1U 3U
daa1 2P 1U 3U
draa2 2P 4U
draa2 2P 4U
dh.r.s 1U 5P
dh.r.s 1U 5P
...
@@ -173,11 +173,12 @@ value voices_of_gana g root = match g with
...
@@ -173,11 +173,12 @@ value voices_of_gana g root = match g with
[
1
->
match
root
with
[
1
->
match
root
with
[
".r"
|
"k.r.s"
|
"cur"
|
"tap"
|
"budh#1"
|
"van"
|
"v.r#1"
|
"su#2"
[
".r"
|
"k.r.s"
|
"cur"
|
"tap"
|
"budh#1"
|
"van"
|
"v.r#1"
|
"su#2"
|
"suu#1"
|
"suu#1"
->
Para
(* but ".r" Atma for pv sam \Pan{1,3,29} *)
->
Para
|
"i"
|
"gha.t.t"
|
"ghuur.n"
|
".damb"
|
"bhra.mz"
|
"mid"
|
"mok.s"
|
"i"
|
"gha.t.t"
|
"ghuur.n"
|
".damb"
|
"bhra.mz"
|
"mid"
|
"mok.s"
|
"lok"
|
"svid#2"
|
"lok"
|
"svid#2"
->
Atma
->
Atma
|
"i.s#1"
|
"j.rr"
|
"daa#1"
|
"dh.r.s"
|
"as#2"
|
"kuc"
|
"i.s#1"
|
".r"
(* ".r" Atma for pv sam \Pan{1,3,29} also "tap" *)
|
"j.rr"
|
"tap"
|
"daa#1"
|
"dh.r.s"
|
"as#2"
|
"kuc"
|
"m.rj"
|
"m.rd#1"
|
"rud#1"
|
"stambh"
|
"m.rj"
|
"m.rd#1"
|
"rud#1"
|
"stambh"
->
Ubha
->
Ubha
|
"kliiba"
->
Atma
(* denominative verb *)
|
"kliiba"
->
Atma
(* denominative verb *)
...
@@ -237,12 +238,12 @@ value voices_of_gana g root = match g with
...
@@ -237,12 +238,12 @@ value voices_of_gana g root = match g with
;
;
(* Refining with potential preverb *)
(* Refining with potential preverb *)
value
voices_of_pv
upasarga
gana
=
fun
(* gana only used for "tap" "i" *)
value
voices_of_pv
upasarga
gana
=
fun
(* gana only used for "tap" "i"
".r"
*)
(* Paninian requirements *)
(* Paninian requirements *)
[
"zru"
|
"
.r"
|
"
gam"
|
"svar"
|
"vid#1"
(* | "praz" *)
->
[
"zru"
|
"gam"
|
"svar"
|
"vid#1"
(* | "praz" *)
->
if
upasarga
=
"sam"
then
Atma
else
Para
(* \Pan{1,3,29} *)
if
upasarga
=
"sam"
then
Atma
else
Para
(* \Pan{1,3,29} *)
(* "praz" used in Atma with aa- but also without pv in epics (MW) *)
(* "praz" used in Atma with aa- but also without pv in epics (MW) *)
|
"car"
->
if
upasarga
=
"sam"
then
Ubha
else
Para
(* \Pan{1,3,54} *)
|
"
.r"
|
"
car"
->
if
upasarga
=
"sam"
then
Ubha
else
Para
(* \Pan{1,3,54} *)
|
"viz#1"
->
if
upasarga
=
"ni"
then
Atma
else
Para
(* \Pan{1,3,17} *)
|
"viz#1"
->
if
upasarga
=
"ni"
then
Atma
else
Para
(* \Pan{1,3,17} *)
|
"huu"
->
match
upasarga
with
|
"huu"
->
match
upasarga
with
[
"ni"
|
"sam"
|
"upa"
|
"vi"
->
Atma
(* \Pan{1,3,30} *)
[
"ni"
|
"sam"
|
"upa"
|
"vi"
->
Atma
(* \Pan{1,3,30} *)
...
...
ML/verbs.ml
View file @
26ee877e
...
@@ -4865,9 +4865,10 @@ value compute_present_system entry rstem gana pada third =
...
@@ -4865,9 +4865,10 @@ value compute_present_system entry rstem gana pada third =
match
voices_of_gana
gana
entry
with
match
voices_of_gana
gana
entry
with
[
Para
->
(* active only *)
if
pada
then
[
Para
->
(* active only *)
if
pada
then
compute_thematic_active
gana
Primary
stem
entry
third
compute_thematic_active
gana
Primary
stem
entry
third
else
if
entry
=
".r"
then
(* for sam- *)
(* else if entry = ".r"
compute_thematic_middle
gana
Primary
stem
entry
third
|| entry = "tap" then (* for sam- *)
else
emit_warning
(
"Unexpected middle form: "
^
entry
)
compute_thematic_middle gana Primary stem entry third *)
else
emit_warning
(
"Unexpected middle form: "
^
entry
)
|
Atma
->
(* middle only *)
|
Atma
->
(* middle only *)
if
padam
then
emit_warning
(
"Unexpected active form: "
^
entry
)
if
padam
then
emit_warning
(
"Unexpected active form: "
^
entry
)
else
compute_thematic_middle
gana
Primary
stem
entry
third
else
compute_thematic_middle
gana
Primary
stem
entry
third
...
...
ML/version.ml
View file @
26ee877e
...
@@ -8,4 +8,4 @@
...
@@ -8,4 +8,4 @@
(**************************************************************************)
(**************************************************************************)
(* Generated by make version - see main Makefile *)
(* Generated by make version - see main Makefile *)
value
version
=
"3.08"
and
version_date
=
"2018-07-
07
"
;
value
version
=
"3.08"
and
version_date
=
"2018-07-
22
"
;
SETUP/version.txt
View file @
26ee877e
VERSION='3.08'
VERSION='3.08'
DATE='2018-07-
07
'
DATE='2018-07-
22
'
SITE/manual.html
View file @
26ee877e
...
@@ -50,7 +50,7 @@ published recently as
...
@@ -50,7 +50,7 @@ published recently as
<a
href=
"http://jlm.ipipan.waw.pl/index.php/JLM/article/view/108/140"
>
Design and
<a
href=
"http://jlm.ipipan.waw.pl/index.php/JLM/article/view/108/140"
>
Design and
analysis of a lean interface for Sanskrit corpus annotation
</a>
.
analysis of a lean interface for Sanskrit corpus annotation
</a>
.
<p>
<p>
Written on
April 17th 2018, for Sanskrit Engine Version 3.06
.
Written on
July 22nd 2018, for Sanskrit Engine Version 3.08
.
<h2
class=
"b2"
id=
"tour"
>
First approach to using the Sanskrit Heritage engine
</h2>
<h2
class=
"b2"
id=
"tour"
>
First approach to using the Sanskrit Heritage engine
</h2>
...
@@ -139,10 +139,11 @@ stem <i>āptavya</i> and form <i>āptavyam</i> may be derived using the
...
@@ -139,10 +139,11 @@ stem <i>āptavya</i> and form <i>āptavyam</i> may be derived using the
conjugation cum declension tools.
conjugation cum declension tools.
<p>
<p>
Here we are lucky - the correct word analysis (
<i>
padapāṭha
</i>
) of the sentence is
Here we are lucky - the correct word analysis (
<i>
padapāṭha
</i>
) of the
obtainable as the sequence of all the words in the upper line of the diagram.
sentence is obtainable as the sequence of all the words in the upper line
Some have no competitor, they are checked blue.
of the diagram. Some have no competitor, they are checked blue.
The ambiguous segments have two marks, a green check sign and a red cross sign.
The remaining ambiguous segments have two marks, a green check sign
and a red cross sign.
In two clicks on the green upper signs you get the intended segmentation.
In two clicks on the green upper signs you get the intended segmentation.
<p>
<p>
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment