Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
B
blue
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
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Environments
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Attention: Maintenance on monday 19.04.2021 from 07:00 - 13:00 (Gitlab and Mattermost are offline!)
Open sidebar
SMGloM
blue
Commits
e0776204
Commit
e0776204
authored
Mar 07, 2018
by
Michael Kohlhase
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
more experiments
parent
7566c421
Changes
5
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
65037 additions
and
4 deletions
+65037
-4
gf/DictEng.gf
gf/DictEng.gf
+65031
-0
gf/MathEng.gf
gf/MathEng.gf
+1
-1
gf/MathLexEng.gf
gf/MathLexEng.gf
+1
-0
gf/note.tex
gf/note.tex
+2
-1
gf/test.gfs
gf/test.gfs
+2
-2
No files found.
gf/DictEng.gf
0 → 100644
View file @
e0776204
This diff is collapsed.
Click to expand it.
gf/MathEng.gf
View file @
e0776204
--# -path=.:../abstract:../common:../api
--# -path=.:../abstract:../common:../api
:../english
concrete MathEng of Math =
GrammarEng,
...
...
gf/MathLexEng.gf
View file @
e0776204
...
...
@@ -13,6 +13,7 @@ lin
prime_A = regA "prime" ;
integer_N = regN "integer" ;
call_V2 = dirV2 (regV "call") ;
-- lin call_V2 = mkV2 (mkV "call" "calls" "called" "called" "calling");
iff_Subj = mkSubj "iff";
three_PN = mkPN (mkN nonhuman (mkN "three")) ;
-- for the Math Grammar
...
...
gf/note.tex
View file @
e0776204
...
...
@@ -162,7 +162,8 @@ or something logically equivalent.
We have started a grammar
\lstinline
|Math.gf|/
\lstinline
|MathEng.gf| which can partially
do that. They add
\lstinline
|MathLex.gf| and
\lstinline
|MathLexEng.gf| in
Figure~
\ref
{
fig:mathlex
}
to the grammars
\lstinline
|Lang.gf|/
\lstinline
|LangEng.gf| from
the GF distribution.
the GF distribution.
\lstinline
|test.gfs| contains a list of test phrases that can already
be parsed.
\begin{figure}
[ht]
\centering\small
\begin{tabular}
{
|p
{
5cm
}
|p
{
9.5cm
}
|
}
\hline
...
...
gf/test.gfs
View file @
e0776204
i MathEng.gf
p -cat=NP "a positive integer"
p -cat=NP "We call a positive integer a prime
integ
er"
p -cat=NP "a positive integer
$n$
"
p -cat=NP "We call a positive integer a prime
numb
er"
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