added static python server

This commit is contained in:
Malar Kannan
2017-07-12 12:10:24 +05:30
parent f60865f64c
commit 292df97183
3 changed files with 116 additions and 18 deletions

View File

@@ -9,24 +9,7 @@ import {
} from 'semantic-ui-react';
const { Box } = require('reflexbox');
const imageRoot = 'http://localhost:3000/png/';
// export const fieldMetaMap = {
// label: { lens: 'label[0]', type: 'text' },
// unl: { lens: 'unl[0]', type: 'text' },
// synset: { lens: 'lexprops[0].wnsynset[0]', type: 'text' },
// guid: { lens: 'guid[0]', type: 'text' },
// pos: { lens: 'pos[0]', type: 'select' },
// image: { lens: 'image[0]', type: 'preview' },
// relations: { lens: 'relations[0]', type: 'text' },
// frame: { lens: 'syntacticprops[0].property[0]._', type: 'select' },
// morphclass: {
// lens: 'lexprops[0].morphology[0].morph[0]._',
// type: 'select'
// },
// stats: { lens: 'stats[0].property[0]._', type: 'text' },
// lang: { lens: '$.id', type: 'select' },
// };
const imageRoot = '/png/';
export class LexEdit extends React.Component<any, any> {
public render() {