mirror of
https://github.com/GrammaticalFramework/gf-core.git
synced 2026-04-17 16:59:34 -06:00
trying to find some inefficiencies in Finnish resource
This commit is contained in:
@@ -261,6 +261,7 @@ concrete WordsFin of Words = SentencesFin **
|
||||
---- (mkNP (E.PartCN a) ---- partitive works in questions )
|
||||
(mkNP (mkNP a_Det a)
|
||||
(SyntaxFin.mkAdv for_Prep (mkNP n (mkN "henki" "henkiä")))) ;
|
||||
---- (SyntaxFin.mkAdv for_Prep (mkNP (mkDet n)))) ; -- 60s faster compile 25/10/2010
|
||||
|
||||
open_Adv = ParadigmsFin.mkAdv "avoinna" ;
|
||||
closed_Adv = ParadigmsFin.mkAdv "kiinni" ;
|
||||
|
||||
@@ -16,6 +16,7 @@ Showcase for project FP7-ICT-247914, Deliverable D10.2.
|
||||
#BSMALL
|
||||
|
||||
History
|
||||
- 1 September. Version 1.1: bug fixes, some new constructions.
|
||||
- 2 June. Version 1.0 released!
|
||||
- 29 May. Link to Google translate with the current language pair and phrase.
|
||||
- 27 May. Polish added.
|
||||
|
||||
@@ -25,6 +25,18 @@ function jsonp(url,callback)
|
||||
document.body.appendChild(script);
|
||||
}
|
||||
|
||||
var json = {next:0};
|
||||
|
||||
// Like jsonp, but instead of passing the name of the ballback function, you
|
||||
// pass the callback function directly, making it possible to use anonymous
|
||||
// functions.
|
||||
function jsonpf(url,callback)
|
||||
{
|
||||
var name="callback"+(json.next++);
|
||||
json[name]=function(x) { delete json[name]; callback(x); }
|
||||
jsonp(url,"json."+name);
|
||||
}
|
||||
|
||||
/* --- HTML construction ---------------------------------------------------- */
|
||||
function text(s) { return document.createTextNode(s); }
|
||||
|
||||
|
||||
File diff suppressed because one or more lines are too long
Reference in New Issue
Block a user