Differences between revisions 2 and 10 (spanning 8 versions)
Revision 2 as of 2006-04-21 08:18:45
Size: 500
Editor: FrancisBond
Comment:
Revision 10 as of 2016-11-04 22:31:43
Size: 1814
Editor: FrancisBond
Comment:
Deletions are marked like this. Additions are marked like this.
Line 4: Line 4:
I am a researcher at the [http://www.kecl.ntt.co.jp/ NTT Communication Science Laboratories], in particular the [http://www.kecl.ntt.co.jp/icl/mtg Natural Language Research Group], who host my [http://www.kecl.ntt.co.jp/icl/mtg/members/bond main homepage]. I am an associate professor at the [[http://www.ntu.edu.sg/HSS/Linguistics/Pages/default.aspx|Division of Linguistics and Multilingual Studies]], [[http://www.ntu.edu.sg/|Nanyang Technological University]].
My [[http://www3.ntu.edu.sg/home/fcbond/|main homepage]] is there.
Line 6: Line 7:
We have a small [wiki:DelphinNtt local page] describing what we are doing within DELPH-IN, Email: <<MailTo(bond AT SPAMFREE ieee DOT org)>>

=== Set Up Notes ===
==== dephin-viz ====
{{{
$ git clone https://github.com/delph-in/delphin-viz
$ sudo mkdir /var/www/html/delphin-viz
$ sudo cp -rp delphin-viz/{demo,viz} /var/www/html/delphin-viz/.
}}}

You can now see the demo at {{{localhost/delphin-viz/demo/}}}
(assuming you have apache and the dependencies installed).

Then adjust {{{delphin-viz/demo/index.html}}}:
{{{
  <div class="input-line">
    Grammar:
    <select id="input-grammar">
       <option value="zhs-local">Zhong-zhs (local)</option>
       ...
    </select>
}}}

Then adjust {{{delphin-viz/demo/demo.js}}}:
{{{
var RESOURCES = {
...
 'zhs-local':'http://127.0.0.1:8080/zhs/parse'
};
var SAMPLE_INPUT = {
...
  zhs: '张三 哭 了'
};
}}}
Line 9: Line 43:
Email: [[MailTo(bond AT SPAMFREE cslab DOT kecl DOT ntt DOT co DOT jp)]] ==== bottlenose (the server) ====
{{{
$ git clone https://github.com/delph-in/bottlenose.git
$ sudo apt-get install python3-bottle
}}}
Line 11: Line 49:
... and {{{bottlenose/config.json}}}
{{{
{
    "bottlenose": {
        "grammars": [
            {
                "key": "zhs",
                "path": "/home/bond/svn/zhong/cmn/zhs/zhs.dat",
                "description": "Zhong Mandarin Grammar (简)"
            }
        ],
        "ace": {
            "executable": "ace",
            "cmdargs": ["-n", "5"]
        },
        "allow_jsonp": false,
        "default_tasks": ["parse"]
    }
}
}}}

Then start things:
{{{
python3 bottlenose.py
}}}

Francis Bond

I am an associate professor at the Division of Linguistics and Multilingual Studies, Nanyang Technological University. My main homepage is there.

Email: <bond AT SPAMFREE ieee DOT org>

Set Up Notes

dephin-viz

$ git clone https://github.com/delph-in/delphin-viz
$ sudo mkdir /var/www/html/delphin-viz
$ sudo cp -rp delphin-viz/{demo,viz} /var/www/html/delphin-viz/.

You can now see the demo at localhost/delphin-viz/demo/ (assuming you have apache and the dependencies installed).

Then adjust delphin-viz/demo/index.html:

  <div class="input-line">
    Grammar:
    <select id="input-grammar">
       <option value="zhs-local">Zhong-zhs (local)</option>
       ...
    </select>

Then adjust delphin-viz/demo/demo.js:

var RESOURCES = {
...
 'zhs-local':'http://127.0.0.1:8080/zhs/parse'
};
var SAMPLE_INPUT = {
...
  zhs: '张三 哭 了'
};

bottlenose (the server)

$ git clone https://github.com/delph-in/bottlenose.git
$ sudo apt-get install python3-bottle

and bottlenose/config.json

{
    "bottlenose": {
        "grammars": [
            {
                "key": "zhs",
                "path": "/home/bond/svn/zhong/cmn/zhs/zhs.dat",
                "description": "Zhong Mandarin Grammar (简)"
            }
        ],
        "ace": {
            "executable": "ace",
            "cmdargs": ["-n", "5"]
        },
        "allow_jsonp": false,
        "default_tasks": ["parse"]
    }
}

Then start things:

python3 bottlenose.py


CategoryHomepage

FrancisBond (last edited 2016-11-04 22:31:43 by FrancisBond)

(The DELPH-IN infrastructure is hosted at the University of Oslo)