Yes, the context is correct. I am experimenting on building an NLP pipeline 
in web2py.
I upload a text file and then I trigger different analysis tools from the 
web2py modules I create.
The file passes through the tools one by one, tokenizer divides the  and 
lemmatizer is one of those analysis tools.

I am using MYSQL.

I have defined several tables in a single file called lemmatizer.py
All of those tables are populated by different analysis methods
and the "wid" and "token" columns are defined in other tables but not in 
this table.

My table definition for this analysis is quite simple as follows:

db.define_table('en_lemmata_analysis',
                Field('lemmata', 'string'),
                migrate = 'db.en_lemmata_analysis',
               )

and I created the view with the controller en_lemmata_page.html as follows:

{{extend 'layout.html'}}
<h1>Lemmata</h1>
{{=rows}}

The screenshot is taken directly from the app at the following view page:
http://127.0.0.1:8000/myapp/default/en_lemmata_page.html

I was as surprised as you are when I see "wid" and "token" columns in the 
view.
I hope these will help.

-- 
Resources:
- http://web2py.com
- http://web2py.com/book (Documentation)
- http://github.com/web2py/web2py (Source code)
- https://code.google.com/p/web2py/issues/list (Report Issues)
--- 
You received this message because you are subscribed to the Google Groups 
"web2py-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to